acolangelo/jPanelMenu

Double page load glitch with Google Ads

Opened this issue · 1 comments

I'm loving jPanelMenu, but I'm having problems with a conflict/error between jPanelMenu-legacy and Google Ads which is forcing the page to load twice in both Chrome & IE (Firefox appears to be fine)

Unfortunately the site in question uses a multi-blade fixed menu system that locks-to-top as you scroll down the page - as well as a few other fixed elements - so I can't use the newer version of jPanelMenu (which in testing, appears to illiminate the issue)

I found a similiar error here - http://stackoverflow.com/questions/2009092/page-loads-twice-in-google-chrome - though in checking the source code of the page I'm not finding any empty values that would lend themselves to this scenario...

Has anyone else run across this? Any thoughts on the issue?

Update: removing a "position:static" css declaration from line 153 in the jPanelMenu-legacy.js code seems to fix the page reload issue, but something within the script is still preventing Google Ads from loading content properly on the page: the ad slots are loading, but the content isn't pulling from GAM/DFP