Primary Navigation: Difference between revisions


No edit summary
mNo edit summary
Line 3: Line 3:


====Primary navigation dynamically generated html====
====Primary navigation dynamically generated html====
 
<source lang="html4strict">
<pre>
<pre>
<ul>
<ul>
Line 14: Line 14:
</ul>
</ul>
</pre>
</pre>
 
</source>
This html will be inserted into the required element with the id of '''#primary_navigation'''.
This html will be inserted into the required element with the id of '''#primary_navigation'''.



Revision as of 22:12, 13 January 2009

The required element with the id of #primary_navigation is where the main navigation will be inserted as a list.


Primary navigation dynamically generated html

<pre>
<ul>
  <li>
    <a class="active" href="/">Home</a>
  </li>
  <li>
    <a href="/about">About Me</a>
  </li>
</ul>
</pre>

This html will be inserted into the required element with the id of #primary_navigation.