HieuLsw / mraid-web-tester

Automatically exported from code.google.com/p/mraid-web-tester
0 stars 0 forks source link

Is prototype.js interfering with webtester? #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Originally reported by Aron Schatz <aschatz@moceanmobile.com> on Mar 13, 2013

take the HTML file and dump it
into the flight area of the tester. The javascript location is current
so it will work.

Background about my test ad.

My ad is a snippet of HTML. It calls mraid.js and has a second script
to setup the ad for use with MRAID. The HTML has no inline CSS and
relies on javascript to inject the CSS file into the page. This is one
way I can tell if the javascript is working or not quickly (see if the
CSS loads or not). The javascript then adds functions to the
individual links and you are free to do whatever after. The ad is
meant to be scrollable in the webview (it is a long ad with many
options). It can test resize, expand (single or two part), open, and
also dumps all the information about mraid into the window.

I noticed some issues...

This used to happen, but doesn't anymore (may be changes since I
checked): When selecting MRAIDv1, the CSS would load. MRAIDv2, it
wouldn't. Now, both don't load the CSS.

None of the MRAID calls seem to be working, but it might be due to the
javascript not working in general. I use prototype.js (because I'm
lazy) and it might be interfering with the tester in some way. For
instance, click "Expand (one part)" and the ad collapses instead of
expanding.

Original issue reported on code.google.com by nathan.c...@crispmedia.com on 21 Oct 2013 at 10:29

Attachments:

GoogleCodeExporter commented 9 years ago
This should be fine with the latest updates for compliance ads, two of which 
Aron wrote.

Thanks,
-Nathan

Original comment by nathan.c...@crispmedia.com on 28 Apr 2014 at 6:21