Sara Taylor wrote:
Quote:
I was wondering if you could help me?
Is there an easy way to be able to turn on and off a stylesheet from
my webpage? I would like to do this so people can have a textual
version to view if they prefer.
I did find a clever javascript function for this but alas this does
not validate as it does not recognise the 'disabled' ID:
http://www.quirksmode.org/js/cssdisable.html
Any suggestions? |
Hi Sara,
This technique might work for you:
http://www.projectseven.com/tutorials/css/cssdisable/demo.htm
--
Al Sparber - PVII
http://www.projectseven.com
DW Extensions - Menu Systems - Tutorials - CSS FastPacks
---------------------------------------------------------
Webdev Newsgroup: news://forums.projectseven.com/pviiwebdev/
CSS Newsgroup: news://forums.projectseven.com/css/
RSS/XML Feeds: http://www.projectseven.com/xml/