Hmm, i've eaten better things :-P

I tried to make it work using Firebug but its not a big success, since
i cant attach new events after unbinding them somehow..

I think this should work: http://pastebin.com/m4c657bc9

Basically, what i am trying to do is this: Check what the active URL
is right now, search for a link which refers to that active url, get
the parent element of that url (the image) and trigger its "mouseover"
state to mark it as active.

Then i made a modification to the mouseout function to only affect
links which are not currently active.



On Apr 16, 6:22 pm, Takaya213 <nic...@njwebdesign.co.za> wrote:
> I'm afraid you will have to eat your shoe, it doesn't work. :-((
>
> http://www.njwebdesign.co.za/
>
> victorg84 wrote:
>
> > Small correction..
>
> > var activePage = window.location.pathname.substr(1);
> > $("a[href="+activePage+"] img").trigger("mouseover");
>
> --
> View this message in 
> context:http://www.nabble.com/Menu-Hover-and-Selected-tp22999583s27240p230814...
> Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to