Forum Moderators: open
When I'm on the page "articles", I want articles in the navigation to be highlighted. How can I accomplish this?
I have tried it with editable attributes, but that didn't work. I had this:
<div align="center" class="nav-active">home</div>
<div align="center" class="nav">articles</div>
<div align="center" class="nav">contact</div>
<div align="center" class="nav">links</div>
When I changed the attribute "class" of <DIV> to "nav-active" then that option would be highlighted through CSS. But the problem is is that this is only applied to the first <DIV>. I can't select a DIV.
Anand
The solution is to use a unique Label for each editable attribute.
Anand