Primary Navigation: Difference between revisions
mNo edit summary |
No edit summary |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
''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. | 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== | |||
<source lang="html4strict"> | <source lang="html4strict"> | ||
<ul> | <ul> | ||
<li> | <li> | ||
< | <li class="active" href="/">Home</li> | ||
</li> | </li> | ||
<li> | <li> | ||
Line 15: | Line 16: | ||
</source> | </source> | ||
[[Category:Themes]] | 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:Creating Themes]] | |||
[[Category:Advanced Topics]] | [[Category:Advanced Topics]] |
Latest revision as of 14: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.
<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.