To set id=current, all that's needed is some simple knowledge of common sense using scripts and coding.
Below is a snippet of where the original current id is, and what i've done for it!
HTML Code:
<div id="modernbricksmenu">
<ul>
<li style="margin-left: 1px"><a href="http://www.dynamicdrive.com" title="Home">Home</a></li>
<li><a href="http://www.dynamicdrive.com/new.htm" title="New">New</a></li>
<li id="current"><a href="http://www.dynamicdrive.com/revised.htm" title="Revised">Revised</a></li>
<li><a href="http://tools.dynamicdrive.com" title="Tools">Tools</a></li>
<li><a href="http://www.dynamicdrive.com/forums/" title="DHTML Forums">Forums</a></li>
</ul>
<form id="myform">
<input type="text" class="textinput" /> <input class="submit" type="submit" value="Find" />
</form>
</div>
As you can see, the id=current is set inbetween the first <li> tag where the revised is situated. So all you need to do is cut the id="current" out of where it currently is from the code on the modern brick page now and paste in line with the <li> tags of where you want...e.g. home. Now below, you can see i have named my own navigation, left the links blank for now (as i am currently creating a site and have no links as of yet), and pasted the id="current" in the "home" line inside the li tags in the same position as before (if that makes sense) Take a look and it should become clear. All i have done is basically used some sense to see where it was, and cut and paste where it was needed.
HTML Code:
<div id="modernbricksmenu">
<ul>
<li id="current" style="margin-left: 1px"><a href="" title="Home">Home</a></li>
<li><a href="" title="Services">SERVICES</a></li>
<li><a href="" title="Portfolio">PORTFOLIO</a></li>
<li><a href="" title="About">About</a></li>
<li><a href="" title="Contact">Contact</a></li>
</ul>
</div>
Hope this helps and makes sense, if not, do reply.
Ryan.
Bookmarks