Parag Jagdale wrote:
> Hi, I have some suckerfish dropdowns and I cant figure out why they 
> refuse to work. If you mouseover them - the drowdowns show up, if you
>  mouseout, the dropdowns dont disappear.
> 
> Here is the code: http://careercam.net/About-CareerCam/
> 
> No idea what the problem is and been pulling my hair out about it.

Typo in your script - it doesn't remove the 'sfhover' class on
mouse-out, but keeps on adding new ones for each mouse-over.

Make the relevant line...

this.className = this.className.replace(new RegExp(" sfhover\\b"), "");

...and it'll work as intended.


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/

Reply via email to