Chris Wilson wrote: > Thanks, Gordon. It would be easier, by the way, (and more in the spirit of > "alternate stylesheets") for you to toggle the 'disabled' property of the > styleSheet objects rather than mess around with the 'href' property of the > first stylesheet (creating an "alternate stylesheet" automatically defaults > to 'disabled', so only the first of your stylesheets will be enabled). > > Daniel, we do provide this capability through the object model in IE4.0. > Although we do not provide any user interface to it, do you REALLY want a > user to be presented with a dialog and forced to select a stylesheet every > time they visit your page? That's absymal in terms of usability. It would > be nice to have a drop-down menu with the available stylesheets - that's one > of my wish-list items for IE already. > > If you wish, you can install the stylesheet selector context menu script I > created just to prove that we do provide this capability - I sent it to this > list six months or so ago, or you can get it from > http://www.geocities.com/Area51/4708/ssselect.zip. This context menu > extension will give you a "Stylesheets..." item on the right-click menu on > ALL web pages, which will let you select from a list of alternate > stylesheets (according to the HTML 4.0 grouping semantics - it's not a > generic stylesheet flipper, although you could easily alter the script). Thanks for this information, I'll check your script asap and it is a good start. In fact, I would also like to be able to load a document and then open automatically one window for *each* 'preferred' stylesheet without user prompting. </Daniel>Received on Monday, 18 May 1998 11:57:22 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:55 GMT