[jQuery] Re: Superfish - modified Richard Willis

2008-05-13 Thread Joel Birch
I'm really happy to hear that we solved this issue and that you are pleased with the end result. I appreciate your offer of a donation, but that's not necessary thanks all the same. Your issue helped to solidify the pathClass feature so it was a good exercise - cheers! Joel Birch.

[jQuery] Re: Superfish - modified Richard Willis

2008-05-13 Thread Drew
Joel, It looks like you nailed it. You can see the working menu here: http://secure2.vqcdesigns.com/~hbgrc/ The only other "issue" I could find is that IE6 disregards the child selectors for the active state on the main tabs, but that's obviously not your doing. I can't thank you enough for he

[jQuery] Re: Superfish - modified Richard Willis

2008-05-10 Thread Joel Birch
One more suggestion to really hit your menu out of the park. Try adding something like this type of thing: .item62.sfHover > a { background-image: url(../images/nav-regional-chamber-over.jpg); } ...to your main tabs so that the 'active' look is applied to them. Sorry I had to be brief a

[jQuery] Re: Superfish - modified Richard Willis

2008-05-10 Thread Joel Birch
I have had a go at finding a better solution for this and now have a version of Superfish that seems to work well. The discussed fixes have been refined, plus the pathClass behaviour now works like it should in that the current path is NOT refreshed if you mouseout of the current path (as the corr

[jQuery] Re: Superfish - modified Richard Willis

2008-05-09 Thread Joel Birch
Hi Drew, Here is another quick patch I've worked out for you. Remove that other line I gave you (the one that manually applies hideSuperfishUl on document ready. Then alter the following line of Superfish.js: CHANGE THIS: o.$path = $('li.'+o.pathClass,this).each(function(){ TO THIS: o.$path = $

[jQuery] Re: Superfish - modified Richard Willis

2008-05-09 Thread Drew
Joel, Sooo close. That worked like a charm...however, once you actually hover over the menu, the dropdowns are back to their old tricks and the active dropdowns appear. Is there any way you can think of around this? I assume this is all because of the pathClass. Is it possible to achieve the

[jQuery] Re: Superfish - modified Richard Willis

2008-05-08 Thread Joel Birch
Thanks Drew, sorry I overlooked that issue. Here's another hack to solve that one. Add the following line inside your document ready block, after the Superfish initialisation code: $('ul.superfish li li').hideSuperfishUl(); That will close the last level of submenu. Sorry for another hacky solut

[jQuery] Re: Superfish - modified Richard Willis

2008-05-08 Thread Drew
Hi Joel, Thanks a lot for taking the time to look into this. Your solution does stop the dropdowns from staying open, which was a problem, so that's great. Perhaps I didn't state the biggest problem clearly though...if you actually click on a link from a dropdown, (for example, go to the About

[jQuery] Re: Superfish - modified Richard Willis

2008-05-07 Thread Joel Birch
If the 'if' is removed from the out function, the menu almost works perfectly. The only downside is that the current second tier menu is 'refreshed' when you mouseout rather than simply staying revealed. It disappears then animates back in as if it is being restored as it would if you moused out f

[jQuery] Re: Superfish - modified Richard Willis

2008-05-07 Thread Joel Birch
Just as I hit "send" I realised that you are indeed wanting to use the pathClass for the second tier of menu. The pathClass feature was only ever tested to work with two tiers unfortunately, so it makes sense that this bug exists. I'll have to have a think about what would be required to make this

[jQuery] Re: Superfish - modified Richard Willis

2008-05-07 Thread Joel Birch
Hi Drew, If you remove the pathClass option, everything works fine. You don't seem to be using that feature so it should not be in the options object. Remove this line: pathClass : 'active', It looks like you could remove the bgIframe plugin also as you have not included the intialisation code f