6 replies [Last post]
chris_sw
Offline
Enthusiast
Leeds, UK
Last seen: 17 years 34 weeks ago
Leeds, UK
Joined: 2004-09-21
Posts: 115
Points: 0

Hi

Is there any way to choose to view alternate stylesheets in Internet Explorer 6? Firefox has a button on the status bar, but I can't find an equivalent in IE...

EssentialBuyerGuides
EssentialBuyerGuides's picture
Offline
Enthusiast
England
Last seen: 17 years 47 weeks ago
England
Joined: 2004-06-25
Posts: 91
Points: 0

Viewing alternate stylesheets in IE

I don't think there is, without some Javscripting.

http://www.simplebits.com does it with Javascript. Smile

Click the coloured squares on the right of the main nav. Smile

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 7 years 19 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

Viewing alternate stylesheets in IE

No it's something else they forgot to add; 'styleswitcher' is a often used little javascript file that will allow switching with links in IE6 et al

http://www.alistapart.com/articles/alternate/

Although the simplebits code looks good but I have a feeling it's probably Paul Sowdens from the above link.

Hugo.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

EssentialBuyerGuides
EssentialBuyerGuides's picture
Offline
Enthusiast
England
Last seen: 17 years 47 weeks ago
England
Joined: 2004-06-25
Posts: 91
Points: 0

Viewing alternate stylesheets in IE

Nice link Hugo. Smile

The cookies part is pretty neat, being able to come back to the site in the same colour that you left it.

chris_sw
Offline
Enthusiast
Leeds, UK
Last seen: 17 years 34 weeks ago
Leeds, UK
Joined: 2004-09-21
Posts: 115
Points: 0

Viewing alternate stylesheets in IE

Thanks all... and there was me thinking it would just be an option in an obscure IE View-> sub-menu that I hadn't found yet !

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 7 years 19 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

Viewing alternate stylesheets in IE

yes the cookie technique is good but I wish there was a way of achieving it without them, they have received a bit of a bad name in the past and I know people who tend to block them out of hand without realising how and why they are useful.

Hugo.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

TimeBandit
Offline
Enthusiast
Maryland, USA
Last seen: 17 years 37 weeks ago
Maryland, USA
Joined: 2004-09-02
Posts: 112
Points: 0

Viewing alternate stylesheets in IE

this styleswitcher.js at alistapart was making my sites flash in IE. IE was cycling through the different displays before it landed on the chosen one. so i starting using an open source ASP one that seems to work better for me. I can post if anyone's interested. i don't have the link handy here at work.