PDA

View Full Version : Smooth Navigational Menu (v1.01) - Problem Displaying



EvieB
02-04-2009, 06:42 AM
1) Script Title: Smooth Navigational Menu (v1.01)

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

3) Describe problem: I'm having problems getting this menu to display... I'm using the external file fetching via Ajax method.

My demo page is http://www.evieb.com/demomenu.html (http://www.evieb.com/demomenu.html)

My javascript file is here: http://www.evieb.com/ddsmoothmenu.js

My css file is here: http://www.evieb.com/ddsmoothmenu.css

My external menu file is here: http://www.evieb.com/smoothmenu.htm

I hope you can help me.

Kind regards
Eva Browne-Paterson

jscheuer1
02-04-2009, 07:26 AM
You are missing a [ here (in ddsmoothmenu.js - near the end):


ddsmoothmenu.init({
mainmenuid: "smoothmenu-ajax", //menu DIV id
//customtheme: ["#1c5a80", "#18374a"], //override default menu CSS background values? Uncomment: ["normal_background", "hover_background"]
contentsource: ["smoothcontainer", "smoothmenu.htm"]//"markup" or ["container_id", "path_to_menu_file"]
})

In an unrelated matter, on demomenu.html - you need to escape:


onmouseover="window.status='Welcome to EvieB\'s Custom Product Graphic Design Services';return true;"

EvieB
02-04-2009, 11:21 AM
Hi John

Thanks a million mate! You're a true champion for helping me out here!

Much appreciated! All is working well now! [mwah!]

Kind regards
Eva Browne-Paterson