I am using a method GA_googleFillSlot
from google ad service to load the ads. Which has to be loaded on the right rail of the page in my web site.
As part of speeding up my web site, I want to move the method with related javascripts to the bottom of the page. The javascript method creates a new div with id google_ads_div_<name of ad slot>
and ad content.
Since the ad div is located at the bottom of the page, I need to relocate the div to the right place(inside a parent div, right rail div of the site). Here, even though the div and javascript files are being moved to the parent div, iframe body content of the div is missing.
I hae tried the following prototype methods to move the div content to parent div:
insert
, appendChild
, replace
I am not much familiar with the javascript, please advice me if I am doing wrong? Any help is highly appreciated.