<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>DansNetwork.com &#187; prototype</title>
	<atom:link href="http://dansnetwork.com/tag/prototype/feed/" rel="self" type="application/rss+xml" />
	<link>http://dansnetwork.com</link>
	<description>Web Design, Javascript, CSS, and More...</description>
	<lastBuildDate>Sun, 29 Apr 2012 11:36:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Stop A Page From Loading</title>
		<link>http://dansnetwork.com/stop-a-page-from-loading/</link>
		<comments>http://dansnetwork.com/stop-a-page-from-loading/#comments</comments>
		<pubDate>Sat, 05 Jul 2008 00:40:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[mootools]]></category>
		<category><![CDATA[prototype]]></category>

		<guid isPermaLink="false">http://blog.dansnetwork.com/2008/07/04/stop-a-page-from-loading/</guid>
		<description><![CDATA[I've recently put together a page that included over 550 thumbnails that were set to load dynamically. They were grouped together to be viewed throughout several "pages". Originally, if you went to the second page without waiting for the first to finish loading, you'd be unimpressed with the presentation. The second page would begin to [...]]]></description>
			<content:encoded><![CDATA[<p>I've recently put together a page that included over 550 thumbnails that were set to load dynamically. They were grouped together to be viewed throughout several "pages". Originally, if you went to the second page without waiting for the first to finish loading, you'd be unimpressed with the presentation. The second page would begin to load only after the first was finished and so on. I needed to come up with a way to stop the thumbs from loading when you went to the next page and here's what I came up with. It works with Firefox, Safari, and the troublemaker...Internet Explorer.</p>
<p><strong>Using Mootools:</strong></p>
<pre style="font-family: Courier New,Courier,mono">function stopLoad()
{
   $try(
      function(){window.stop()},
      function(){document.execCommand('Stop')}
   )
}</pre>
<p><strong>Using Prototype:</strong></p>
<pre style="font-family: Courier New,Courier,mono">function stopLoad()
{
   Try.these(
      function(){window.stop()},
      function(){document.execCommand('Stop')}
   )
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://dansnetwork.com/stop-a-page-from-loading/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

