homepage Welcome to WebmasterWorld Guest from 54.226.21.57
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

    
expandable flash ads - iframe
will expandable flash ads work in iframes?
ande1352

5+ Year Member



 
Msg#: 3549885 posted 5:33 pm on Jan 16, 2008 (gmt 0)

We've been having problems lately with expandable ads from doubleclick (and some other sources) on our website. The ads seem to load fine in our iframe, but when you roll over the ad it won't expand beyond the borders of the iframe. Is there a way to get those ads to expand beyond the iframe borders?

Along those same lines - a lot of the expandable ads won't load at all, they'll come back with a 404 -and load a default .gif image. Does anyone know if a lot of these expandable ads have problems loading in an iframe in general?

 

ande1352

5+ Year Member



 
Msg#: 3549885 posted 10:18 pm on Jan 16, 2008 (gmt 0)

well it seems i found my own answer:

All web browsers place restrictions on interaction between documents that reside on different domains. This is a security feature designed to prevent documents from one domain from reading data on another, using a scripting language such as JavaScript. When a web site uses Iframe ad tags, the browser sees the document inside the Iframe (the ad) as residing in a different domain than the surrounding page content. For example, if "www.mysite.com" has an Iframe ad tag that displays an ad from "ad.doubleclick.net", the ad is restricted from accessing anything outside of the enclosing Iframe. This restriction prevents Floating and Expanding creatives from being served through Iframe ad tags.

Solution

Browser restrictions on cross-domain scripting in Iframes are necessary to prevent malicious data access. However, there are cases, such as third party served ads, where publishers would like to grant access to specific domains that they trust to leave the Iframe environment.

In order to enable this access, a publisher has to put a special file on their domain that acts as a bridge between the ad server domain and publisher domain. DART Motif requires that the publisher put a file called "DARTIframe.html" on a specific relative URL /doubleclick at the root directory of the web service on their webservers. This file can be downloaded from this article by clicking on the link to the right.

It seems like other providers of expandable ads (pointroll, eyeblaster) have similar techniques for overcoming the iframe problem. They'll ask you to put a file on your domain as well, and then let them know where it is.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved