<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Load your advertisements after your content</title> <atom:link href="http://www.ghacks.net/2009/04/06/load-your-advertisements-after-your-content/feed/" rel="self" type="application/rss+xml" /><link>http://www.ghacks.net/2009/04/06/load-your-advertisements-after-your-content/</link> <description>A technology news blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description> <lastBuildDate>Sun, 12 Feb 2012 01:08:33 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Ilie</title><link>http://www.ghacks.net/2009/04/06/load-your-advertisements-after-your-content/comment-page-1/#comment-1244165</link> <dc:creator>Ilie</dc:creator> <pubDate>Mon, 15 Nov 2010 20:43:19 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=11700#comment-1244165</guid> <description>after the tag /body !!!!!!!</description> <content:encoded><![CDATA[<p>after the tag /body !!!!!!!</p> ]]></content:encoded> </item> <item><title>By: Ilie</title><link>http://www.ghacks.net/2009/04/06/load-your-advertisements-after-your-content/comment-page-1/#comment-1244164</link> <dc:creator>Ilie</dc:creator> <pubDate>Mon, 15 Nov 2010 20:42:44 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=11700#comment-1244164</guid> <description>after tag  and the ad will load the last even after the footer load sow i think it’s a good idea :D and to have the add loaded add ” ” hope Helped</description> <content:encoded><![CDATA[<p>after tag  and the ad will load the last even after the footer load sow i think it’s a good idea :D and to have the add loaded add ” ” hope Helped</p> ]]></content:encoded> </item> <item><title>By: Ilie</title><link>http://www.ghacks.net/2009/04/06/load-your-advertisements-after-your-content/comment-page-1/#comment-1244162</link> <dc:creator>Ilie</dc:creator> <pubDate>Mon, 15 Nov 2010 20:41:19 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=11700#comment-1244162</guid> <description>lool the div don&#039;t show hope you got it
Regards</description> <content:encoded><![CDATA[<p>lool the div don&#8217;t show hope you got it</p><p>Regards</p> ]]></content:encoded> </item> <item><title>By: Ilie</title><link>http://www.ghacks.net/2009/04/06/load-your-advertisements-after-your-content/comment-page-1/#comment-1244161</link> <dc:creator>Ilie</dc:creator> <pubDate>Mon, 15 Nov 2010 20:40:22 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=11700#comment-1244161</guid> <description>HI : Daniel Pataki,
You can add the
your add code
document.getElementById(&quot;ads728&quot;).innerHTML = document.getElementById(&quot;ads728loader&quot;).innerHTML;
after  tag and the ad will load the last even after the footer load sow i think it&#039;s a good idea :D  and to have the add loaded add &quot;  &quot; hope Helped
Regards ILIE</description> <content:encoded><![CDATA[<p>HI : Daniel Pataki,</p><p>You can add the</p><p>your add code</p><p>document.getElementById(&#8220;ads728&#8243;).innerHTML = document.getElementById(&#8220;ads728loader&#8221;).innerHTML;</p><p>after  tag and the ad will load the last even after the footer load sow i think it&#8217;s a good idea :D  and to have the add loaded add &#8221;  &#8221; hope Helped</p><p>Regards ILIE</p> ]]></content:encoded> </item> <item><title>By: Bhavin</title><link>http://www.ghacks.net/2009/04/06/load-your-advertisements-after-your-content/comment-page-1/#comment-1239500</link> <dc:creator>Bhavin</dc:creator> <pubDate>Fri, 12 Nov 2010 01:01:30 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=11700#comment-1239500</guid> <description>Thanks. This was very helpful. I tried it as is (with the appendchild) and did not see the JS firing twice.</description> <content:encoded><![CDATA[<p>Thanks. This was very helpful. I tried it as is (with the appendchild) and did not see the JS firing twice.</p> ]]></content:encoded> </item> <item><title>By: oli</title><link>http://www.ghacks.net/2009/04/06/load-your-advertisements-after-your-content/comment-page-1/#comment-737203</link> <dc:creator>oli</dc:creator> <pubDate>Tue, 21 Apr 2009 11:12:28 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=11700#comment-737203</guid> <description>To prevent the ads from rendering twice (which they will with this setup) you need to use appendchild rather then innerhtml:
var loader= document.getElementById(&#039;topslotloader&#039;);
document.getElementById(&quot;topslot&quot;).appendChild(loader);
This prevents the Ads JS from firing twice and being only rendered once.</description> <content:encoded><![CDATA[<p>To prevent the ads from rendering twice (which they will with this setup) you need to use appendchild rather then innerhtml:</p><p>var loader= document.getElementById(&#8216;topslotloader&#8217;);<br
/> document.getElementById(&#8220;topslot&#8221;).appendChild(loader);</p><p>This prevents the Ads JS from firing twice and being only rendered once.</p> ]]></content:encoded> </item> <item><title>By: Daniel Pataki</title><link>http://www.ghacks.net/2009/04/06/load-your-advertisements-after-your-content/comment-page-1/#comment-711914</link> <dc:creator>Daniel Pataki</dc:creator> <pubDate>Mon, 06 Apr 2009 10:00:37 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=11700#comment-711914</guid> <description>Hi Thinker!
You are completely right, this is not the proper approach, however, it was the only one that seemed to work.
I am sure that using an onload in the body tag would work, but I probably overlooked something since it didn&#039;t seem to do the trick, while this one did.
The div naming is good advice, hower, obviously I am naming my divs like this so that people reading the blog can understand what is going on.
I would actually name my div like this anyway, I doubt that someone using Adblock would click on an ad.</description> <content:encoded><![CDATA[<p>Hi Thinker!</p><p>You are completely right, this is not the proper approach, however, it was the only one that seemed to work.</p><p>I am sure that using an onload in the body tag would work, but I probably overlooked something since it didn&#8217;t seem to do the trick, while this one did.</p><p>The div naming is good advice, hower, obviously I am naming my divs like this so that people reading the blog can understand what is going on.</p><p>I would actually name my div like this anyway, I doubt that someone using Adblock would click on an ad.</p> ]]></content:encoded> </item> <item><title>By: Thinker</title><link>http://www.ghacks.net/2009/04/06/load-your-advertisements-after-your-content/comment-page-1/#comment-711719</link> <dc:creator>Thinker</dc:creator> <pubDate>Mon, 06 Apr 2009 07:10:10 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=11700#comment-711719</guid> <description>I think your approach is wrong. Proper solution should base on onload event attached to BODY tag. In case of image-ad you should just set it to &quot;display:none&quot; in CSS - that prevents images from loading till display property is changed. Dunno if it works with Flash (but it should), and if not, you can also try with setting src of object in onload event.
And my good advice is not to name DIVs like &quot;top_ad&quot;. That ad will be always blocked by AdBlockPlus. Better is to name it &quot;top_a&quot; of similar, or even with spell mistake.</description> <content:encoded><![CDATA[<p>I think your approach is wrong. Proper solution should base on onload event attached to BODY tag. In case of image-ad you should just set it to &#8220;display:none&#8221; in CSS &#8211; that prevents images from loading till display property is changed. Dunno if it works with Flash (but it should), and if not, you can also try with setting src of object in onload event.<br
/> And my good advice is not to name DIVs like &#8220;top_ad&#8221;. That ad will be always blocked by AdBlockPlus. Better is to name it &#8220;top_a&#8221; of similar, or even with spell mistake.</p> ]]></content:encoded> </item> <item><title>By: Anonymous</title><link>http://www.ghacks.net/2009/04/06/load-your-advertisements-after-your-content/comment-page-1/#comment-711250</link> <dc:creator>Anonymous</dc:creator> <pubDate>Mon, 06 Apr 2009 00:49:56 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=11700#comment-711250</guid> <description>nevermind</description> <content:encoded><![CDATA[<p>nevermind</p> ]]></content:encoded> </item> <item><title>By: sexysofie</title><link>http://www.ghacks.net/2009/04/06/load-your-advertisements-after-your-content/comment-page-1/#comment-711140</link> <dc:creator>sexysofie</dc:creator> <pubDate>Sun, 05 Apr 2009 23:31:52 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=11700#comment-711140</guid> <description>you have until i can move the cursor to the stop button or the close button or you&#039;re history. that&#039;s about 3 seconds max. if i do allow the page to load fully it&#039;s only to gather info to ad to my block list. don&#039;t worry, about me &quot;stealing&quot; your content and not reading your stinking ads because i probably won&#039;t be returning. in other words, you won&#039;t force your stinking ads on me twice. you will be blocked totally.
i&#039;m getting really sick of multiple connections just to read a post.</description> <content:encoded><![CDATA[<p>you have until i can move the cursor to the stop button or the close button or you&#8217;re history. that&#8217;s about 3 seconds max. if i do allow the page to load fully it&#8217;s only to gather info to ad to my block list. don&#8217;t worry, about me &#8220;stealing&#8221; your content and not reading your stinking ads because i probably won&#8217;t be returning. in other words, you won&#8217;t force your stinking ads on me twice. you will be blocked totally.<br
/> i&#8217;m getting really sick of multiple connections just to read a post.</p> ]]></content:encoded> </item> <item><title>By: Personal Webpage and Blog of Daniel Pataki</title><link>http://www.ghacks.net/2009/04/06/load-your-advertisements-after-your-content/comment-page-1/#comment-711093</link> <dc:creator>Personal Webpage and Blog of Daniel Pataki</dc:creator> <pubDate>Sun, 05 Apr 2009 22:59:32 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=11700#comment-711093</guid> <description>[...] Post   gHacks -  Load your advertisements after your content [...]</description> <content:encoded><![CDATA[<p>[...] Post   gHacks &#8211;  Load your advertisements after your content [...]</p> ]]></content:encoded> </item> </channel> </rss>
