d640k
Maybe you should try to implement ads outside the game canvas? Try this:
1. Set absolute position of ad DIV as 0,0
2. Set absolute Y position of Game DIV as adDiv.Height
3. Paste this to your Index.html:
// Size the canvas to fill the browser viewport.
jQuery(window).resize(function() {
cr_sizeCanvas(jQuery(window).width(), jQuery(window).height()-50);
});
// Resizes canvas size at start to fit the ad banner
jQuery(document).ready(function() {
cr_sizeCanvas(jQuery(window).width(), jQuery(window).height()-50);
});
Adjust the value "50" to your adDiv.height.
Works for me. Hope it will work for you :-)