Forum Moderators: open

Message Too Old, No Replies

Chrome and Safari and alternate stylesheets

No way of selecting this in browser - or have I missed it?

         

penders

4:27 pm on Oct 15, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Quick and simple question... With the latest Chrome3 and Safari4 browsers there still does not seem to be the ability to select alternate stylesheets as you can with IE8, FF and Opera.

Or have I missed it?!

swa66

9:10 pm on Oct 15, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Did you find a browser that makes the choice "stick" for the session ?
Clicking in a menu 2 levels down for every reload isn't a practical solution.

I'd suggest a style switcher in JS that makes it stick for your users (storing the wanted setting in a cookie e.g.).

penders

1:28 am on Oct 16, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Did you find a browser that makes the choice "stick" for the session ?
Clicking in a menu 2 levels down for every reload isn't a practical solution.

No, valid point. A shame really, the browser is treating every webpage as a 'completely different webpage'. I wouldn't have thought it was too much trouble to record which stylesheet was selected for the domain and switch to that stylesheet on the next page (if it exists)?

I have used JS to switch styles in the past, however, on this occasion I was going to implement this server-side as everything is PHP already (as you may have read in the other thread [webmasterworld.com]).

Thanks.