PDA

View Full Version : Script in Dynamic Drive on my site - need help



thewebmanager
12-05-2009, 12:21 AM
1) Script Title:

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm

3) Describe problem:
When I view the script on http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm

i can see the dropdown, but when i follow the exact steps in DD to use on my site, i cant view the drop down in IE, but in firefox, i can view it.

My site - artnestceramics.com

help appreciated.

jscheuer1
12-05-2009, 05:04 AM
In your menucontents.js file:


var anylinkmenu1={divclass:'anylinkmenu', inlinestyle:'', linktarget:''} //First menu variable. Make sure "anylinkmenu1" is a unique name!
anylinkmenu1.items=[
["Table Chatters", "http://www.artnestceramics.com/gallery.html"],
["Earth Wear", "http://www.artnestceramics.com/gallery2.html"],
["Say No to Plastic", "http://www.artnestceramics.com/gallery3.html"],
["New", "http://www.artnestceramics.com/gallery4.html"],
//no comma following last entry!
]

What's wrong with this picture?

Anyways, IE is one of the few, if not the only browser that will not error correct this for you. It should be:


var anylinkmenu1={divclass:'anylinkmenu', inlinestyle:'', linktarget:''} //First menu variable. Make sure "anylinkmenu1" is a unique name!
anylinkmenu1.items=[
["Table Chatters", "http://www.artnestceramics.com/gallery.html"],
["Earth Wear", "http://www.artnestceramics.com/gallery2.html"],
["Say No to Plastic", "http://www.artnestceramics.com/gallery3.html"],
["New", "http://www.artnestceramics.com/gallery4.html"] //no comma following last entry!
]