Jump to content

Slide Menu / Adsense load order


daniel244rock

Recommended Posts

Good afternoon!

 

So, I've been away for a few years, but I'm back and ready for some coding... except I'm pretty rusty. 

 

I've added a javascript/css popout menu (which works perfectly), and a google adsense feed, which also works perfectly.  The problem is that the menu doesn't load until the adsense ads are completely finished loading.  On slow connections it seems to take 10 seconds almost! 

 

Is there some way to have a javascript script run while other things are downloading?  I've heard that some have used iframes for the google ads, but also read that it is not recommended and buggy sometimes.

 

Maybe an AJAX script that would pop the google ads into a blank div after the page/menu is loaded and running?  Would that work?

 

Thanks in advance,  I can post code if it is needed, I just don't know what would be needed to help.

 

Daniel

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.