p2ds
05-14-2010, 01:11 AM
Hello,
:confused:
Using Script Title: ddsmoothmenu
Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/ddsmoothmenu.htm
3) Trying to use three vertical menus on the same page and receive the following error:
'parent().get(...)' is null or not an object
My page with the error:
http://aprilbarrett.com/test/personal/savings/cod.asp
The javascript page:
http://aprilbarrett.com/test/scripts/ddsmoothmenu.js
I think I figured out that it doesn't like that I call multiple menu instances on a single page.
Any way to combine the following?
ddsmoothmenu.init({
mainmenuid: "persMenu", //Menu DIV id
orientation: 'v', //Horizontal or vertical menu: Set to "h" or "v"
classname: 'ddsmoothmenu-v', //class added to menu's outer DIV
contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
})
ddsmoothmenu.init({
mainmenuid: "busMenu", //Menu DIV id
orientation: 'v', //Horizontal or vertical menu: Set to "h" or "v"
classname: 'ddsmoothmenu-v', //class added to menu's outer DIV
contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
})
ddsmoothmenu.init({
mainmenuid: "onlinesMenu", //Menu DIV id
orientation: 'v', //Horizontal or vertical menu: Set to "h" or "v"
classname: 'ddsmoothmenu-v', //class added to menu's outer DIV
contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
})
:confused:
Using Script Title: ddsmoothmenu
Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/ddsmoothmenu.htm
3) Trying to use three vertical menus on the same page and receive the following error:
'parent().get(...)' is null or not an object
My page with the error:
http://aprilbarrett.com/test/personal/savings/cod.asp
The javascript page:
http://aprilbarrett.com/test/scripts/ddsmoothmenu.js
I think I figured out that it doesn't like that I call multiple menu instances on a single page.
Any way to combine the following?
ddsmoothmenu.init({
mainmenuid: "persMenu", //Menu DIV id
orientation: 'v', //Horizontal or vertical menu: Set to "h" or "v"
classname: 'ddsmoothmenu-v', //class added to menu's outer DIV
contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
})
ddsmoothmenu.init({
mainmenuid: "busMenu", //Menu DIV id
orientation: 'v', //Horizontal or vertical menu: Set to "h" or "v"
classname: 'ddsmoothmenu-v', //class added to menu's outer DIV
contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
})
ddsmoothmenu.init({
mainmenuid: "onlinesMenu", //Menu DIV id
orientation: 'v', //Horizontal or vertical menu: Set to "h" or "v"
classname: 'ddsmoothmenu-v', //class added to menu's outer DIV
contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
})