<?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>sp2hari@weblog... &#187; javascript</title>
	<atom:link href="http://sp2hari.com/tag/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://sp2hari.com</link>
	<description>I see, learn and rediscover... everyday!</description>
	<lastBuildDate>Thu, 24 Nov 2011 22:06:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Google Image Search</title>
		<link>http://sp2hari.com/2008/03/22/google-image-search/</link>
		<comments>http://sp2hari.com/2008/03/22/google-image-search/#comments</comments>
		<pubDate>Sat, 22 Mar 2008 07:12:52 +0000</pubDate>
		<dc:creator>sp2hari</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://sp2hari.com/2008/03/22/google-image-search/</guid>
		<description><![CDATA[I don&#8217;t remember who exactly gave me this script. Must be either Verma or Manas, but this one is so cool. The code looks pretty easy and clear, though I didn&#8217;t try to understand it completely. So this is what you have to do. Open Google image search and search for some image. If you [...]]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t remember who exactly gave me this script. Must be either Verma or Manas, but this one is so cool.<br />
The code looks pretty easy and clear,  though I didn&#8217;t try to understand it completely.<br />
So this is what you have to do. </p>
<p>Open Google image search and search for some image. If you are lazy to do that, click<br />
<a href="http://images.google.com/images?hl=en&#038;q=sp2hari&#038;btnG=Search+Images&#038;gbv=2">http://images.google.com/images?hl=en&#038;q=sp2hari&#038;btnG=Search+Images&#038;gbv=2</a></p>
<p>Then copy this javascript code and paste it in the URL bar<br />
<code>javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI= document.images; DIL=DI.length; function A(){for(i=0; i&lt;DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=Math.sin(R*x1+i*x2+x3)*x4+x5; DIS.top=Math.cos(R*y1+i*y2+y3)*y4+y5}R++}setInterval('A()',5); void(0)</code></p>
<p>Cool right? ;-)</p>
]]></content:encoded>
			<wfw:commentRss>http://sp2hari.com/2008/03/22/google-image-search/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

