lirium
10-07-2011, 08:22 PM
1) Script Title: Smooth Navigation Menu
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/ddsmoothmenu.htm
3) Describe problem: I have a site with 214 pages which currently uses the smooth navigation menu embedded into each page. Therefore any changes to the meu must be replicated 213 times!
i've been trying to get the menu to be fetched from an external file using ajax. but no matter what i've tried with following the instructions and other ideas nothing works. the menu fails to appear.
The menu has been put into a .html file called "smoothmenu1.html" with the ajax reference as
<div id="smoothmenu1-ajax" class="ddsmoothmenu">
within the head of the page where the menu should be placed is the init :-
ddsmoothmenu.init({
mainmenuid: "smoothmenu1-ajax", //menu DIV id
orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
classname: 'ddsmoothmenu', //class added to menu's outer DIV
//customtheme: ["#1c5a80", "#18374a"],
contentsource: ["smoothcontainer","smoothmenu1.html]
})
where the menu should appear in the page the following is :-
<div id="smoothcontainer">
<noscript>
<a href="link to site map for search engines and user with JS disabled">Site map</a>
</noscript>
</div>
the webpage url is http://www.beeslack.info/index_importmenu.html
any suggestions?
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/ddsmoothmenu.htm
3) Describe problem: I have a site with 214 pages which currently uses the smooth navigation menu embedded into each page. Therefore any changes to the meu must be replicated 213 times!
i've been trying to get the menu to be fetched from an external file using ajax. but no matter what i've tried with following the instructions and other ideas nothing works. the menu fails to appear.
The menu has been put into a .html file called "smoothmenu1.html" with the ajax reference as
<div id="smoothmenu1-ajax" class="ddsmoothmenu">
within the head of the page where the menu should be placed is the init :-
ddsmoothmenu.init({
mainmenuid: "smoothmenu1-ajax", //menu DIV id
orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
classname: 'ddsmoothmenu', //class added to menu's outer DIV
//customtheme: ["#1c5a80", "#18374a"],
contentsource: ["smoothcontainer","smoothmenu1.html]
})
where the menu should appear in the page the following is :-
<div id="smoothcontainer">
<noscript>
<a href="link to site map for search engines and user with JS disabled">Site map</a>
</noscript>
</div>
the webpage url is http://www.beeslack.info/index_importmenu.html
any suggestions?