dreamweaver templates | frontpage templates |  golive templates |  css templates |  website templates |  expression web templates
The UK template Store
home  |  contact us  |  help files  |  resellers  

Ecommerce templates

DHTML menus

General

- What are the common errors?
- Are the DHTML menus completely cross-browser compatible?
- Can I use the menus in my frames page?
- How do I put the menus in an include page?
- Why do I get a grey line in the menus when viewing in Netscape?
- How do I change the link colours?
- Can I see some examples of how the menus work?

Drop-Down Menu

- How do I center the menu?
- How do I open a page in a new window?
- Can the top headings be made to be links?

Pop-Out Menu

- What does "POT menu is undefined" mean?
- How do I open a page in a new window?
- How do I get a text rollover effect if a section name is not a link?


General

What are the common errors?
If the menu isn't working correctly the first thing to check is that the paths are correct to the .js file and the clearpixel.gif. Make sure that section names correspond to sub-section names. Preview the page in a browser to check rather than HTML view in Frontpage or Design View in Dreamweaver. Be sure the browser you are using supports DHTML. The .js file and clearpixel.gif must be in the root of your web.

Are the DHTML menus completely cross-browser compatible?
The menus have been tried and tested in Netscape 4.7+ including Netscape 6.1, Microsoft Explorer 4+ and Opera - this accounts for about 98% of the browser market.

Can I use the menus in my frames page?
As a frameset is made up of separate pages the menu will show on the one page it is placed on and so will not "jump" over the frame to a different page. If you want ease of maintenance an excellent solution would be to use the menu as an include page - see below.

How do I put the menus in an include page?
This is probably the best way to go for the menus - this allows to create just one menu, update it and have all the pages with your menu included to be updated at the same time. The important thing to remember is that the paths to the .js file, the clearpixel.gif and of course the URLs should be checked carefully. In Frontpage, the include page function is fairly straightfoward but remember to put all the scripting between the opening and closing <BODY> tags - this includes the path to the .js file. In Dreamweaver set up the menu page, there's no need for the usual <HTML> <HEAD> or <BODY> tags and then choose Menu>Insert>Server Side Include where you want the menu to be included. The parent page will probably need to be renamed to .shtml. You can also use the template or library item feature, and although you won't see the menu while you are design view, previewing in a browser will allow you to see the changes you're making.

Why do I get a grey line in the menus when viewing in Netscape?
The reason here is a missing clearpixel.gif in the images folder or possibly the path to the image is wrong.

How do I change the link colours?
The link colours and underlines are determined by the Stylesheet. Changing the Hex values will change the colour of the links.

Can I see some examples of how the menus work?
We have a number of templates that incorporate the DHTML menus, here are some examples:
http://www.thetemplatestore.com/dwdropdowntabbed/
http://www.thetemplatestore.com/dwvirtualcatalogdropdowns/
http://www.thetemplatestore.com/dwdropdownboxes/
http://www.thetemplatestore.com/dwvirtualred/
http://www.thetemplatestore.com/dwpopoutvirtualblue/
http://www.thetemplatestore.com/dwpopoutvirtualbusiness/
http://www.thetemplatestore.com/dwvirtualcreampopouts/
http://www.thetemplatestore.com/dwpopouttables/

- Back to top

Drop-Down Menu

How do I center the menu?
To centre the menu you'll need to change the width of clearpixel.gif - to move the menu to the right decrease the width of the gif - to move it to the left, increase the width of clearpixel.gif.

- Back to top

How do I open a page in a new window?
If you want to make the link open in a new window, look at this example: mymenu2.addSubMenu("examples2", "<b>&nbsp;DROP DOWN VIRTUAL CATALOG</b>", 'http://www.thetemplatestore.com/dwvirtualcatalogdropdowns/" target="_blank')
Be careful with the punctuation here

- Back to top

Can the top headings be made to be links?
Unfortunately there are compatibility issues here with Netscape, MSIE will happily allow you to use the headings as links. One way round it is to make a graphic and placing it before your menu - for example if you just want a home link - another possibility is to have a drop down category called "main" for example and linking main pages from there.

- Back to top

Pop-Out Menu

What does "POT menu is undefined" mean?
This is usually caused by one of two things. It could be that the path to the .js file is not correct or that the section headings don't correspond to the names for the pop-outs. For example a main heading like:
mymenu.addMenu("instructions","<b>instructions</b>", "")
should have a corresponding section/pop-out name:
mymenu.addSubMenu("instructions", "", "<b>menu</b>", "menu.htm")

How do I open a page in a new window?
If you want to make the link open in a new window, look at this example: mymenu.addSubMenu("examples", "", "<b>virtual mauve</b>", 'http://www.thetemplatestore.com/dwpopoutmauve/" target="_blank')
Be careful with the punctuation here

How do I get a text rollover effect if a section name is not a link?
Sometimes it is not necessary to have a section linked, but the section has a number of pop-outs - to keep things tidy instead of having mymenu.addMenu("main","<b>main</b>", "main.htm") where the link is to main.htm, you can change it to mymenu.addMenu("main","<b>main</b>", "#") so you maintain the link color but are not taken anywhere in case anyone tries to click.

- Back to top

 

 

Help files

Browser compatibility
DHTML menu help
ASP ecommerce plus templates
ASP ecommerce store templates
PHP ecommerce plus templates
Using tables
Graphics
License
Dreamweaver libraries and templates
FrontPage includes
Navigation - general
Dreamweaver 4 navigation bar
FrontPage navigation
Table borders
Creating a Navigation Image
Changing the Graphics
Colored scroll bars
Separating content

News bottom

We accept credit card and Paypal payments

Frontpage Templates | Dreamweaver Templates |  GoLive Templates
Privacy Policy | Contact us | Help

© 2001 - 2002 - 2003 - 2004 - 2005 - 2006 - 2007 The Template Store.co.uk - All Rights Reserved
Shopping cart software by ecommercetemplates.com