Using a text only editor like NotePad, open up the ddsmoothmenu.js file. Find the below code around line#32 and add the highlighted:
Code:
getajaxmenu:function($, setting){ //function to fetch external page containing the panel DIVs
var $menucontainer=$('#'+setting.contentsource[0]) //reference empty div on page that will hold menu
$menucontainer.html("Loading Menu...")
$.ajax({
url: setting.contentsource[1], //path to external menu file
cache: false,
async: true,
error:function(ajaxrequest){
$menucontainer.html('Error fetching content. Server Response: '+ajaxrequest.responseText)
},
success:function(content){
$menucontainer.html(content)
ddsmoothmenu.buildmenu($, setting)
}
})
},
Ironically you may have to refresh the page and/clear the browser's cache to see changes. But once you have, it will no longer cache the external file. Your users, as long as they haven't visited the page recently will not need to do this. Even if they have, it won't be long before their browser does this for them automatically.
Bookmarks