- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I'm trying use the Hello Admob demo to create a base too add my already finished application into. However I'm having some issues.
I can't get the banner ad to be created on load. I tried putting
<body onload="createbanner()"> But that just made all of the buttons not work. The video on the XDK Channel is now out of date so no help there. Is there a way to just get the banner to load at the bottom when the app loads automatically. Then i can just paste in my banner codes and be ready to go.
Thanks
- Tags:
- HTML5
- Intel® XDK
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try adding after the "deviceready" event is fired:
<script> document.addEventListener("deviceready", function(){ createbanner(); }, false); </script>

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page