This chapter will teach you how to add a navigation menu to the left hand column of your website.  All this is covered in our comprehensive Dreamweaver course in Brighton, Sussex.

Website Structure

Before we add the navigation menu we need to look at the other pages that your site will contain.  Whilst there aren’t any rules governing which pages your site must contain, many websites have the following pages:

Contact or feedback page
Visitors to your site use this page to send you a message.

Site Map
If your site has lots of pages it is recommended to have a ‘Site Map’.  This is a list of all the pages on your site.

About Us
Most websites have an “About Us” section.  This provides information about the people (or company) behind the website.

Price Lists
Price lists are common if your site is selling a product or service.

Order Form or “Buy Now” Page
Order forms are needed if your website accepts online orders.

Links
“Links” pages are a good idea, because you can link to other sites that have a relevance to yours, which is useful in building site traffic.

Privacy Policy
This is a good idea, particularly if you are collecting personal information from visitors, such as credit card payments.  This page ensures users that their data is protected and reassures customers when making online orders.

This tutorial will concentrate on creating the following pages:

  • Feedback Form

Name of page: “Feedback Form”
Filename: “feedback.html”

  • Site Map

Name of page: “Site Map”
Filename: “sitemap.html”

  • About Us (Optional)

Name of page: “About Us”
Filename: “aboutus.html”

(NB: Feel free to add to this list if you have other pages you want to link to.)

The Dreamweaver CS4 Spry Framework

The Adobe Spry Framework lets you add a variety of interactive features to your website. One of these features is a navigation menu bar, which you will be using in this tutorial. The Spry menu bar is designed to make it easy for you to insert and configure your menu.  The next section will show you how to do this.

Add a comment Read more

Part 6.2: How to Add New Items to Your Existing Spry Menu Bar Widget

You may decide to add new items to your menu.  All this is covered in our comprehensive Dreamweaver training course in Brighton, Sussex. can be done by clicking any of the existing items in your first listbox. Click the plus (“+”) button. A new menu item will appear below the one highlighted. Change the text and link as before. If the menu item is in the wrong place in your menu, and you want to change the order, click the up or down arrow above that list box.  See image below:

dreamweaver-training-12

How to Centre the Spry Framework Menu Bar Widget

The menu, will probably be positioned to the left of your web page. You may decide that you would prefer it to be in the centre of the page.

To do this, move your mouse over the menu bar. The words “Spry Menu Bar: MenuBar1″ will appear above the menu. Click onto these words. Then click the <ul.MenuBarVertical#MenuBar1> tag in the status bar to select it.

The CSS STYLES panel on the right is currently collapsed.  This should be expanded by double-clicking the “CSS STYLES” tab. Scroll up or down in the “Summary for selection” box and double-click the “width 8em” item.

A dialog box entitled “CSS Rule Definition for ul.MenuBarVertical in SpryMenuBarVertical.css” should appear. Locate the section called “Margin”.  Click the down arrow for the “Top” field and select “auto”. Click the OK button.  Your menu bar should now be centred.

dreamweaver-training-13

Once you have mastered all these techniques you may want to attend our Advanced Dreamweaver training course.

Add a comment Read more

Join uson

Categories

Home | Sitemap | Print |