facebook - Comment plugin - mobile attribute? -


on developer page (http://developers.facebook.com/docs/reference/plugins/comments/) can see facebook comment social plugin has following attributes.

attributes href - url comments plugin. news feed stories on facebook link url. width - width of plugin in pixels. minimum recommended width: 400px. colorscheme - color scheme plugin. options: 'light', 'dark' num_posts - number of comments show default. default: 10. minimum: 1 mobile - whether show mobile-optimized version. default: auto-detect.

for mobile gives me default value, others? false/true, yes/no, on/off, none/ ????

you can turn behavior off setting mobile parameter false. see mobile version ignores width parameter, , instead has fluid width of 100% in order resize in portrait/landscape switching situations. may need adjust css mobile site take advantage of behavior. if preferred, can still control width via container element.


Comments

Popular posts from this blog

sql server - NHibernate incorrectly creating ManyToMany table - Cannot define PRIMARY KEY constraint on nullable column error -

All overlapping substrings matching a java regex -

c++ - Using OpenSSL in a multi-threaded application -