Styling without JavaScript

Styling without JavaScript


Hi there,
In the jQuery UI examples, initial HTML is written without CSS
classes. An accordion, for example is plainly:
<div id="myaccordion">
<h3>Heading</h3>
<div>

some content

</div>
</div>
When you make it an accordion with: $('#myaccordion").accordion(), the
JavaScript adorns it with jQuery UI standard classes, which you can
refer to in CSS.
But what happens if the person has JavaScript turned off? Then you
also, by implication lose all the accordion and themed styles?
Regards
- Iwan














    • Topic Participants

    • iwan