Now that you have created a basic layout for your webpage, it is time to add some navigation to it. In the previous tutorial I showed you how to add a top navigation menu. This time we'll work on a vertical menu.
As you develop your menu, make sure you preview it in both Internet Explorer and Firefox. You will also need to check it at various resolutions to make sure it continues to work as you expect it to. Or you can use the new 'SuperPreview' — Shift + F12.This menu is based on the Urban Grey Side Menu from Dynamic Drive.
Create a simple bulleted list for your left side menu. The list can be separated into sections by adding a <p></p> tag before starting each list. In 'Design' or 'Code' view, in your webpage, place your cursor where you want to create a list (between the <div id="left-nav"></div> tags, and then do one of the following:
In your webpage, in 'Design' view or 'Code' view, do one of the following:
If you view your source code, it should look something like the following:
<p>Site Navigation</p>
<ul>
<li><a title="Home - Site Name." href="index-two.html">Home</a></li>
<li><a title="Menu Item." href="index.html">Menu Item</a></li>
<li><a title="Menu Item." href="index.html">Menu Item</a></li>
<li><a title="Menu Item." href="index.html">Menu Item</a></li>
<li><a title="Menu Item." href="index.html">Menu Item</a></li>
<li><a title="Menu Item." href="index.html">Menu Item</a></li>
<li><a title="Menu Item." href="index.html">Menu Item</a></li>
<li><a title="Menu Item." href="index.html">Menu Item</a></li>
</ul>
Of course, the each menu item would hyperlink to its own page NOT the index.html page. This is just an example.
Create a new folder for the includes. Click 'Site View' tab. > Click 'New Folder' icon. > Type _includes as the name of the folder.
Whatever your final choice of navigation is, it should be a consistent navigation scheme from page to page throughout your site. This helps the website visitor learn your website navigation system.
You will also need to make sure that whichever menu system you use, that it renders in all browsers.
NEXT STEP: Validating Your Page
Copyright © 2009 Pat Geary of Expression Web Tutorials and Templates, All Rights Reserved
Revised July 2010
Expression Web 4.0 Tutorials 2nd Edition from Install to Publish, a FREE EBook by Pat Geary.
Expression Web has a group on Facebook. If you are a FB user, come join us.
Disclosure: This is an affiliate link, which means that if you visit Bluehost.com through this link and purchase this product, I’ll get a commission.
April 2007 - April 2013
Privacy Policy | Migrating from FrontPage to Expression Web
Microsoft® and Expression Web® are registered trademarks of Microsoft® Corporation.
Site Design & Maintenance : Expression Web Tutorials & Templates