Chris Kavinsky wrote: > Doing that, and it works fine on the static page. The problem, for > some reason, is that it doesn't work on the page that's generated by > the CMS (although the source code looks fine). I'm stumped.
Fix the script. You've lost a backslash from the original. This line... this.className=this.className.replace(new RegExp(" sfhover\b"), ""); ...must look like this... this.className=this.className.replace(new RegExp(" sfhover\\b"), ""); ...in order to work. Otherwise the script will just keep adding 'sfhover' classes onmouseover, and not remove them onmouseout. regards Georg -- http://www.gunlaug.no ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/