<?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: Earthquake Effect: Shake the browser using JavaScript</title> <atom:link href="http://www.jhuskisson.com/javascript/earthquake-effect-shake-the-browser/feed" rel="self" type="application/rss+xml" /><link>http://www.jhuskisson.com/javascript/earthquake-effect-shake-the-browser</link> <description>Nottingham UK PHP, Magento, Wordpress freelance developer</description> <lastBuildDate>Sun, 19 Feb 2012 11:57:19 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Know It All</title><link>http://www.jhuskisson.com/javascript/earthquake-effect-shake-the-browser/comment-page-1#comment-67186</link> <dc:creator>Know It All</dc:creator> <pubDate>Wed, 24 Mar 2010 16:40:41 +0000</pubDate> <guid
isPermaLink="false">http://www.jhuskisson.com/?p=508#comment-67186</guid> <description>Clearly not written by a developer, Instead of all the repeated lines, you can just replace them with one occurrence of the following lines:
parent.moveBy(0,i);
parent.moveBy(i,0);
parent.moveBy(0,-i);
parent.moveBy(-i,0);
and then just use a larger &quot;n&quot; parameter when calling the function. Otherwise, it works well, but just be sure to use this on a supported browser.</description> <content:encoded><![CDATA[<p>Clearly not written by a developer, Instead of all the repeated lines, you can just replace them with one occurrence of the following lines:</p><p>parent.moveBy(0,i);<br
/> parent.moveBy(i,0);<br
/> parent.moveBy(0,-i);<br
/> parent.moveBy(-i,0);</p><p>and then just use a larger &#8220;n&#8221; parameter when calling the function. Otherwise, it works well, but just be sure to use this on a supported browser.</p> ]]></content:encoded> </item> </channel> </rss>
