1) Script Title: Style Sheet Switcher (v1.1)
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...etswitcher.htm
3) Describe problem: I went ahead and set up a simple two page site to test the earlier question on keeping the initial randomly selected stylesheet consistent through out the site. The link is http://www.rspsitedesign.com/Random/ Here is what is weird in Firefox: First I cleared out cache and then disabled all cookies. It starts out with the default style sheet, and toggles back and forth between home and inside page. On about the third toggle it shifts to and alternative stylesheet. So it is not consistent. If cookies are enabled it seems to work ok.
In Internet Explorer if privacy is set to high, the random selection is inconsistent similar to Firefox. If cookie privacy is set to medium the random selection seems to work ok.
Is there a way to test for browser privacy levels and if the are allowed then use the random selection. If not, then use the default style sheet?
There is also a delay in the page transfer which is unusual given the simplicity of the pages.



Reply With Quote

Bookmarks