If it were me, I'd do it differently. For example:
In my page, I would have a list representing all the sheets I have.
<span id="default_css">Default </span>
<span id="ss1">1 </span>
<span id="ss2">2 </span>
<span id="ss3">3 </span>
<span id="ss4">4 </span>...
The default sheet would always be used so, I add the following css to
it:
#ss1, #ss2, #ss3, #ss4... {
display: none;
}
Now, the page would just display "Default".
Add to each sheet, css to reveal its use by adding the appropriate
selector change, e.g., for sheet "3" add:
#ss3 {
display: inline;
}:
Now, if sheet "3" is used, the display would show:
Default 3.
I know it's not fancy but it's easy to maintain.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---