<?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 blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description>
	<lastBuildDate>Wed, 25 Nov 2009 06:36:03 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: oli</title>
		<link>http://www.ghacks.net/2009/04/06/load-your-advertisements-after-your-content/#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(&#8217;topslotloader&#8217;);<br />
document.getElementById(&#8221;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-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-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-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-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-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>
