Hi I am not sure if it is appropriate to seek help for some javascript issues with styleswitcher here but I hope someone will be able to help because I have no idea what went wrong all of a sudden. I am using the style switcher at http://www.alistapart com/articles/alternate/ on my site and all of a sudden IE seems to have a problem with it (used to work and no changes has been done with it). It will not remember the selected style and upon every reload, it will switch back to the default style. But when working with dreamweaver, and by using the preview option, the style registers in IE. It only doesn't work when the site goes live. All other browsers are working fine. This is what I have in <head> <link rel="stylesheet" type="text/css" media="screen" href=". /scripts/css/style_glass/glassStyle.css" /> <link rel="alternate stylesheet" type="text/css" media="screen" title= simple" href="../scripts/css/style_simple/simpleStyle.css" /> and in the body.. <li><a href="#" title="Switch to Glass Style" onclick="setActiveStyleSheet(' , 1);return false;" onmouseover="MM_swapImage('styles','','. /images/global/styles/tt_select.gif',1)" onmouseout="MM_swapImgRestore() ><img src="../images/global/styles/style01_glass.gif" alt="Switch to Glass Style" width="22" height="21" /></a></li> The script for switcher from above: onclick="setActiveStyleSheet('', 1);return false;" <li><a href="#" title="Switch to Simple Style" onclick="setActiveStyleSheet( simple', 1);return false;" onmouseover="MM_swapImage('styles','','. /images/global/styles/tt_select.gif',1)" onmouseout="MM_swapImgRestore() ><img src="../images/global/styles/style02_simple.gif" alt="Switch to Simple Style" width="20" height="21" /></a></li> The script for switcher from above: onclick="setActiveStyleSheet('simple', 1);return false;" The javascript is what I downloaded from http://www.alistapart com/articles/alternate/
With Regards Jaime Wong ~~~~~~~~~~~~~~~~~~~~~~~~~~ SODesires Design Team http://www.sodesires.com ~~~~~~~~~~~~~~~~~~~~~~~~~~ ***************************************************** The discussion list for http://webstandardsgroup.org/ *****************************************************
