| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Zły
|
css javascript
I have this in the CSS: HTML Code:
HTML: HTML Code:
My question is how do I access the <li> inside the menu ID div with Javascript, I need to change the background-color for it? |
|
|
|
|
|
#3 (permalink) |
|
trouble free and loverlee
Join Date: Mar 2003
Location: YooKay
Posts: 2,854
|
Fwiw… Code:
Note: indexes start at 0, so… The first will be: Code:
The second will be: Code:
etc… However, in case this is what you're trying to do… Highlighting current page with CSS / journal / hicksdesign |
|
![]() |