[jQuery] tooone7 Can't understand this... Want to make a image appear on active link

2010-02-22 Thread tooone777
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() {

Re: [jQuery] tooone7 Can't understand this... Want to make a image appear on active link

2010-02-22 Thread tooone777
Jonathan Vanherpe (T amp; 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 Vanherpe - Tallieu Tallieu nv - jonat...@tnt.be I changed my code to the way you suggested

Re: [jQuery] tooone7 Can't understand this... Want to make a image appear on active link

2010-02-22 Thread tooone777
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