View Full Version : All Levels Navigational Menu under https

03-06-2018, 01:54 PM
1) Script Title: All Levels Navigational Menu

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

3) Describe problem:
We have been using the All Levels navigational menu successfully on http://www.talentfutures.com but have run into a problem under https
When we run under https and hover over the menu buttons, the base page changes to the page not found page, and if you do stop hovering it reverts back to what it should be
I have downloaded the latests versions, and the same happens with the demo.htm file (see image below)


03-06-2018, 03:56 PM
First thing I would is disable the iframe shim, from inside the main script (set to false as shown):

//** All Levels Navigational Menu- (c) Dynamic Drive DHTML code library: http://www.dynamicdrive.com
//** Script Download/ instructions page: http://www.dynamicdrive.com/dynamicindex1/ddlevelsmenu/
//** Usage Terms: http://www.dynamicdrive.com/notice.htm

//** Current version: 4.0 See changelog.txt for details

if (typeof dd_domreadycheck=="undefined") //global variable to detect if DOM is ready
var dd_domreadycheck=false

var ddlevelsmenu={
mql: (window.matchMedia)? window.matchMedia("screen and (max-width: 700px)") : {matches:false, addListener: function(){}}, // CSS media query to switch to mobile menu when matched
enableshim: false, //enable IFRAME shim to prevent drop down menus from being hidden below SELECT or FLASH elements? (tip: disable if not in use, for efficiency)

downarrow: ["ddlevelsfiles/arrow-

That should take care of it, and that feature is likely not necessary, if you do need it, or if that doesn't resolve it, you can set it to true, but then you need to put a blank page in the path as configured here:

hideinterval: 200, //delay in milliseconds before entire menu disappears onmouseout.
effects: {enableswipe: true, enableslide: true, enablefade: true, duration: 200},
httpsiframesrc: "blank.htm", //If menu is run on a secure (https) page, the IFRAME shim feature used by the script should point to an *blank* page *within* the secure area to prevent an IE security prompt. Specify full URL to that page on your server (leave as is if not applicable).

Note, you must have an actual page.

The browser cache may need to cleared and/or the page refreshed to see changes.

03-06-2018, 04:26 PM
Brilliant, many thanks indeed. That worked a treat.