Primary Navigation: Difference between revisions


(New page: 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> ...)
 
No edit summary
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The required element with the id of '''#primary_navigation''' is where the main navigation will be inserted as a list.
''For information regarding managing the links in your website's primary navigation area, please see [[Managing Primary Navigation]].''




====Primary navigation dynamically generated html====
The required element with the id of '''#primary_navigation''' is where the main navigation will be inserted as a list.


<pre>
==Primary navigation dynamically generated HTML==
<source lang="html4strict">
<ul>
<ul>
   <li>
   <li>
     <a class="active" href="/">Home</a>
     <li class="active" href="/">Home</li>
   </li>
   </li>
   <li>
   <li>
Line 13: Line 14:
   </li>
   </li>
</ul>
</ul>
</pre>


This html will be inserted into the required element with the id of '''#primary_navigation'''.
</source>
 
 
This html including the link created within it will be inserted into the [[Making your own Theme | required element]] with the id of '''#primary_navigation'''.




[[Category:Themes]]
[[Category:Creating Themes]]
[[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.