Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Nov 2010
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Exclamation Mega Menu Https Issue

    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.

  • #2
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,951
    Thanks
    9
    Thanked 724 Times in 718 Posts
    The difference is coming from this function in your megamenu plugin:

    Code:
    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.

  • Users who have thanked SB65 for this post:

    Ascension (11-06-2010)

  • #3
    New to the CF scene
    Join Date
    Nov 2010
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Thank you so much for your help! I really appreciate it!


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •