p.s. it's clear it's not a CSS issue, and at the very least the 'fadeIn' part is not working, although I suspect the hoverClass function is only partly working (dropdown opens in FF, but the parent menu loses it's hover state as you go in to the dropdown; IE doesn't open the dropdown at all).
On Apr 25, 9:35 pm, andjules <[EMAIL PROTECTED]> wrote: > I know about the superfish plugin, but I found some older, much > lighter code here:http://be.twixt.us/jquery/suckerFish.php > The funny thing is, when I copy the exact page and his 2006-era copy > of jQuery to my local dev, it works like on his page. If I replace the > jQuery with a modern 1.2.x copy, it doesn't work. > I know the document.all is just a simple IE-only hack, but no matter > what I try, I can't make it work even in FF with a modern jQuery. > Can any of you gurus/folks with fresh eyes see the problem? > > $(document).ready(function(){ > $("#nav-one li").hover( > function() { > $("ul", this).fadeIn("fast"); > }, > function() { > } > ); > if (document.all) { > $("#nav-one li").hoverClass ("sfHover"); > } > }); > > $.fn.hoverClass = function(c) { > return this.each(function(){ > $(this).hover( > function() { $(this).addClass(c); }, > function() { $(this).removeClass(c); } > ); > }); > };

