Hi, I was testing jCarousel plug-in and I realised (as many other plugins out there) that when you disable javascript (jQuery) in your prefered browser, you miss not only behaviour but layout (CSS).
So, I wonder, how to design our jQuery plug-in in order to perfectly separate behaviour (functionality) from layout (css). In our plugins (jCarousel, in particular) if you disable javascript it should have a very similar "look" to the final result (without using so many classnames via jquery) although not with the final behaviour (in jCarousel, it should show the list of images in horizontal or vertical with similar frames, borders, etc, defined in CSS) without the need to modify the original html source (that is, adding classnames in childrens). Summarizing: - Disabling Javascript (not CSS) should not enhance behaviour but functionality AND LAYOUT (CSS) should remain at least. What do you think? Any suggestions on defining 'good practises' for css in plugins? Perhaps, using a css file (jquery.plugin.css) separated from the corresponding js file (jquery.plugin.js)? Enrique Meléndez Estrada Servicios Informáticos Organización y Servicios Internos Instituto Tecnológico de Aragón _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
