[css-d] Suckerfish dropdowns not working in IE6 or 7

2008-02-27 Thread Parag Jagdale
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.
-- 

Thank You,
Parag Jagdale
Un-identified LLC
www.un-identified.com
__
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/


Re: [css-d] Suckerfish dropdowns not working in IE6 or 7

2008-02-27 Thread Gunlaug Sørtun
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/


Re: [css-d] Suckerfish dropdowns not working in IE6 or 7

2008-02-27 Thread Parag Jagdale
ah... i knew it was something small! Thanks!

PHP was 'escaping' the first '\' so I didnt realize the second '\' wasnt
showing up and two are required or something like that.



 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.




-- 

Thank You,
Parag Jagdale
Un-identified LLC
www.un-identified.com
__
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/