Primary Navigation: Difference between revisions


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


====Primary navigation dynamically generated html====
====Primary navigation dynamically generated html====
<br>
<source lang="html4strict">
<source lang="html4strict">
<ul>
<ul>
   <li>
   <li>
     <a class="active" href="/">Home</a>
     <li class="active" href="/">Home</li>
   </li>
   </li>
   <li>
   <li>
Line 15: Line 16:


</source>
</source>
This html will be inserted into the required element with the id of '''#primary_navigation'''.
 
 
This html including the link created within it will be inserted into the required element with the id of '''#primary_navigation'''.




[[Category:Creating Viviti Themes]]
[[Category:Creating Viviti Themes]]
[[Category:Advanced Topics]]
[[Category:Advanced Topics]]

Revision as of 11:08, 14 April 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>
    <li class="active" href="/">Home</li>
  </li>
  <li>
    <a href="/about">About Me</a>
  </li>
</ul>


This html including the link created within it will be inserted into the required element with the id of #primary_navigation.