View Full Version : jQuery Mega Menu Https Issue

11-05-2010, 10:06 PM
I am having an issue with the Mega Menu coding. If you look at the following page: https://www.boardco.com/nixon/ and mouseover Closeouts you will see a 404 page error appear behind the dropdown as well.

However if you go to http://www.boardco.com/nixon/ and mouseover nixon the error no longer shows.

I am not sure why it is throwing an error just because of the url switchover. Any help would be appreciated.

Thanks in advance.

11-06-2010, 10:18 AM
The difference is coming from this function in your megamenu plugin:

$(document.body).append('<IFRAME id="outlineiframeshim" src="'+(location.protocol=="https:"? 'blank.htm' : 'about:blank')+'" style="display:none; left:0; top:0; z-index:999; position:absolute; filter:progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)" frameBorder="0" scrolling="no"></IFRAME>')

which, in the case of https, is appending an iframe onto blank.htm. This doesn't exist, so you get the 404.

11-06-2010, 09:49 PM
Thank you so much for your help! I really appreciate it!