Primary Navigation: Difference between revisions


mNo edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:
The required element with the id of '''#primary_navigation''' is where the main navigation will be inserted as a list.
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==
====Primary navigation dynamically generated html====
<br>
 
<source lang="html4strict">
<source lang="html4strict">
<ul>
<ul>
Line 24: Line 21:




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

Latest revision as of 15:25, 16 November 2010

For information regarding managing the links in your website's primary navigation area, please see Managing Primary Navigation.


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.