...

View Full Version : jQuery Mega Menu Https Issue



Ascension
11-05-2010, 09: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.

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


addshim:function($){
$(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>')
this.$shimobj=$("#outlineiframeshim")
},

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

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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum