>> Then, style div.accordion_init to be hidden, and you get the same 
>> effect without "misusing" the <code> tag.
>
> Poor people that have to use a text browser, a screenreader,
> or simply have switched of CSS...
>
...
> Here's another solution that may be suitable for you: Do not put
> all options into the class, instead simply subclass the accordion class:
> 
> <dl class="accordion accDefault"> ... </dl>
> 
> <dl class="accordion accExtra"> ... </dl>

I share Klaus' concern on this. His suggestion of using classes to
indirectly represent plugin parameters sounds like a good way to go. Text
inside <code>, <div>, or any other tag is supposed to be content for the
user to view. Text inside <script> or element attributes is meant for the
developer. 


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to