claytonbrown
05-08-2013, 08:09 PM
Ok, so first off I am a beginner with JS -
We implemented a neat script for a drop down menu and as we are nearing launching the new site with the new menu we found a major issue. When we go the cart (or any https page), we notice in google tracking that we show up as a 404 error, which appears to be the .js file reaching out to 'blank.htm' - which I have found in the file, but don't know how to modify the function so the script will work. Also, in the cart, upon hovering over the menu, the header from above appears to flash underneath it.
This is code in the .js file that I think we need to adjust:
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")
},
Here is a link to view the new design of our site: http://shawntrautman.com/index.aspx?theme=124
Any help would be greatly, extremely appreciated-
We implemented a neat script for a drop down menu and as we are nearing launching the new site with the new menu we found a major issue. When we go the cart (or any https page), we notice in google tracking that we show up as a 404 error, which appears to be the .js file reaching out to 'blank.htm' - which I have found in the file, but don't know how to modify the function so the script will work. Also, in the cart, upon hovering over the menu, the header from above appears to flash underneath it.
This is code in the .js file that I think we need to adjust:
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")
},
Here is a link to view the new design of our site: http://shawntrautman.com/index.aspx?theme=124
Any help would be greatly, extremely appreciated-