Primary Navigation: Difference between revisions


mNo edit summary
mNo edit summary
Line 4: Line 4:
====Primary navigation dynamically generated html====
====Primary navigation dynamically generated html====
<source lang="html4strict">
<source lang="html4strict">
<pre>
 
<ul>
<ul>
   <li>
   <li>
Line 13: Line 13:
   </li>
   </li>
</ul>
</ul>
</pre>
 
</source>
</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 21:23, 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

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

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