JavaScript Style Switcher Tip
Here is a tip for you. I tried the JavaScript CSS Switcher on page 299 and it works very well. However, it only worked on one page in the site. I wanted to have one page where you could switch the style and then navigate to any page in the site with the same style applied.
The key to doing this is to set the cookie path so the current document can share cookie information with other pages within the same domain. Change the line in the setCookie function to read:
var expires = ";expires"+date.toGMTString()+";path=/";
|