Link to home
Start Free TrialLog in
Avatar of Jeffrey Dake
Jeffrey DakeFlag for United States of America

asked on

How to move an Iframe provided by an Ad provider to a different location on the page?

On my website I have ads that are provided by a third party.  However these ads have scripts in them that do a document.write.  I was trying to follow best practices in loading ads last on the page for performance reasons, so the ads are showing up at the bottom of my source, because of the document.write.  When I try to move the wrapper that contains the ad to the correct spot on the page, the ad is disappearing.  It looks like the ad has an IFrame within it so all the body and html of the iframe are disappearing.  Does anyone know how to move this without losing the data?
Avatar of dgrafx
dgrafx
Flag of United States of America image

can you provide a link please
How did you "move" the wrapper?
SOLUTION
Avatar of COBOLdinosaur
COBOLdinosaur
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Jeffrey Dake

ASKER

The guys lead me toward contacting the ad provider.