Ohh ok cool! Thank you Jonathan. I understand it better now :)
--
View this message in context:
http://old.nabble.com/tooone7-Can%27t-understand-this...-Want-to-make-a-image-appear-on-active-link-tp27686495s27240p27687083.html
Sent from the jQuery General Discussion mailing list archive at Nabb
Jonathan Vanherpe (T & T NV) wrote:
>
> tooone777 wrote:
>> $("ul#nav_prim a")[i]...
>
> you need to use
>
> $("ul#nav_prim a").eq(i)...
> or
> $("ul#nav_prim a:eq("+i+")")...
>
> Jonathan
> --
> Jonathan
Hi everyone!
I started using jQuery yesterday so im a noob.
I have a navigation bar, and i want it to display a background image on the
active menu item. (Like the top most menu on this website, it has a little
blue underline)
So i got this function:
Copy code
1. function displayBgImg() {
3 matches
Mail list logo