<?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>The Code Dreamer : Nitin Hayaran &#187; CSS</title>
	<atom:link href="http://www.nitinh.com/category/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nitinh.com</link>
	<description>Nitin Hayaran&#039;s Blog</description>
	<lastBuildDate>Sun, 29 Jan 2012 07:28:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Sexy Tooltip using CSS3 (no images)</title>
		<link>http://www.nitinh.com/2010/03/sexy-tooltip-using-css3/</link>
		<comments>http://www.nitinh.com/2010/03/sexy-tooltip-using-css3/#comments</comments>
		<pubDate>Thu, 18 Mar 2010 08:45:59 +0000</pubDate>
		<dc:creator>nitin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Tooltip]]></category>

		<guid isPermaLink="false">http://www.nitinh.com/2010/03/sexy-tooltip-using-css3/</guid>
		<description><![CDATA[TweetShareCSS is Awesome, but “CSS3” is Awesomely Awesome. With CSS3 we can make our pages even more beautiful without using additional images and extra markup. In this post I have tried to make tooltips using CSS3. This is just a sample implementation for tooltip, you can have even better variants. Here, this example is semantic HTML. [...]


Related posts:<ol><li><a href='http://www.nitinh.com/2010/01/drop-shadow-in-images-no-extra-markup/' rel='bookmark' title='Permanent Link: Drop Shadow in Images : No extra markup'>Drop Shadow in Images : No extra markup</a></li>
<li><a href='http://www.nitinh.com/2010/03/beautiful-nag-screen-using-jquery-css3/' rel='bookmark' title='Permanent Link: Beautiful Nag Screen using JQuery &amp; CSS3'>Beautiful Nag Screen using JQuery &amp; CSS3</a></li>
<li><a href='http://www.nitinh.com/2009/10/beautiful-and-simple-buttons-with-css/' rel='bookmark' title='Permanent Link: Beautiful and Simple Buttons with CSS'>Beautiful and Simple Buttons with CSS</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:left;"><div class="socialize-in-button-left"><a href="http://twitter.com/share" class="twitter-share-button" data-count="vertical" data-via="socializeWP" data-url="http://www.nitinh.com/2010/03/sexy-tooltip-using-css3/">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="socialize-in-button-left"><a name="fb_share" type="box_count" share_url="http://www.nitinh.com/2010/03/sexy-tooltip-using-css3/" href="http://www.facebook.com/sharer.php">Share</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script></div></div><p><img style="margin: 0px 10px; width: 150px; float: left;" src="http://imgur.com/ENdKM.jpg" alt="" />CSS is Awesome, but “CSS3” is Awesomely Awesome.</p>
<p>With CSS3 we can make our pages even more beautiful without using additional images and extra markup.</p>
<p>In this post I have tried to make tooltips using CSS3. This is just a sample implementation for tooltip, you can have even better variants.</p>
<p><span id="more-466"></span></p>
<p>Here, this example is semantic <abbr>HTML</abbr>. No empty elements, no unnecessary extra elements, no JavaScript, no images.</p>
<p>The inspiration for these tooltips is from the excellent attempt from “<a href="http://nicolasgallagher.com" target="_blank">Nicolas Gallagher</a>” in <a href="http://nicolasgallagher.com/demo/pure-css-speech-bubbles/bubbles.html" target="_blank">Pure CSS speech bubbles</a>.</p>
<p>Lets first head on to the demo for its actual effect.</p>
<p><a class="button" href="/static/tooltip/">Tooltip Demo</a></p>
<div class="wp-caption alignnone" style="width: 561px"><a href="http://www.nitinh.com/2010/03/sexy-tooltip-using-css3/"><img title="Tooltip using CSS3" src="http://imgur.com/V04da.jpg" alt="Tooltip using CSS3" width="551" height="155" /></a><p class="wp-caption-text">Tooltip using CSS3</p></div>
<p>Interested ??? Lets head on to its code</p>
<h3>HTML Markup</h3>
<p>The HTML used here is very simple, just add class”tooltip” and in title put tooltip text.</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;tooltip&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;This is first tooltip&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Link<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span></pre></div></div>

<h3>CSS Code</h3>
<p>The CSS for this effect utilizes :before and :after to show tooltip. Moreover box-shadow, gradient, border-radius properties of CSS3 are used to add some glare. Here is the code.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">a<span style="color: #6666ff;">.tooltip</span><span style="color: #3333ff;">:after</span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">font</span><span style="color: #00AA00;">:</span><span style="color: #933;">12px</span>/<span style="color: #cc66cc;">1.4</span> Arial<span style="color: #00AA00;">,</span>Georgia<span style="color: #00AA00;">,</span><span style="color: #993333;">sans-serif</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">content</span><span style="color: #00AA00;">:</span> attr<span style="color: #00AA00;">&#40;</span>title<span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">5px</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span><span style="color: #933;">0px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #933;">1em</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">3em</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#fff</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#075698</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span><span style="color: #933;">-20px</span><span style="color: #00AA00;">;</span>
&nbsp;
	-moz-border-radius<span style="color: #00AA00;">:</span><span style="color: #933;">4px</span><span style="color: #00AA00;">;</span>
	-webkit-border-radius<span style="color: #00AA00;">:</span><span style="color: #933;">4px</span><span style="color: #00AA00;">;</span>
	border-radius<span style="color: #00AA00;">:</span><span style="color: #933;">4px</span><span style="color: #00AA00;">;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #3333ff;">:-webkit-</span>gradient<span style="color: #00AA00;">&#40;</span>linear<span style="color: #00AA00;">,</span> <span style="color: #000000; font-weight: bold;">left</span> <span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">,</span> <span style="color: #000000; font-weight: bold;">left</span> <span style="color: #000000; font-weight: bold;">bottom</span><span style="color: #00AA00;">,</span> from<span style="color: #00AA00;">&#40;</span><span style="color: #cc00cc;">#075698</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">,</span> to<span style="color: #00AA00;">&#40;</span><span style="color: #cc00cc;">#2e88c4</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #3333ff;">:-moz-linear-</span>gradient<span style="color: #00AA00;">&#40;</span><span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">,</span> <span style="color: #cc00cc;">#075698</span><span style="color: #00AA00;">,</span> <span style="color: #cc00cc;">#2e88c4</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #3333ff;">:-o-linear-</span>gradient<span style="color: #00AA00;">&#40;</span><span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">,</span> <span style="color: #cc00cc;">#075698</span><span style="color: #00AA00;">,</span> <span style="color: #cc00cc;">#2e88c4</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #3333ff;">:linear-</span>gradient<span style="color: #00AA00;">&#40;</span><span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">,</span> <span style="color: #cc00cc;">#075698</span><span style="color: #00AA00;">,</span> <span style="color: #cc00cc;">#2e88c4</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
&nbsp;
	-moz-box-shadow<span style="color: #00AA00;">:</span> <span style="color: #933;">0px</span> <span style="color: #933;">0px</span> <span style="color: #933;">4px</span> <span style="color: #cc00cc;">#000</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* FF3.5+ */</span>
	-webkit-box-shadow<span style="color: #00AA00;">:</span> <span style="color: #933;">0px</span> <span style="color: #933;">0px</span> <span style="color: #933;">4px</span> <span style="color: #cc00cc;">#000</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* Saf3.0+, Chrome */</span>
	box-shadow<span style="color: #00AA00;">:</span> <span style="color: #933;">0px</span> <span style="color: #933;">0px</span> <span style="color: #933;">4px</span> <span style="color: #cc00cc;">#000</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* Opera 10.5, IE 9.0 */</span>
	filter<span style="color: #00AA00;">:</span>  progid<span style="color: #3333ff;">:DXImageTransform</span><span style="color: #6666ff;">.Microsoft</span>.dropshadow<span style="color: #00AA00;">&#40;</span>OffX<span style="color: #00AA00;">=</span><span style="color: #933;">0px</span><span style="color: #00AA00;">,</span> OffY<span style="color: #00AA00;">=</span><span style="color: #933;">0px</span><span style="color: #00AA00;">,</span> Color<span style="color: #00AA00;">=</span><span style="color: #ff0000;">'#000'</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* IE6,IE7 */</span>
	-ms-filter<span style="color: #00AA00;">:</span> <span style="color: #ff0000;">&quot;progid:DXImageTransform.Microsoft.dropshadow(OffX=0px, OffY=0px, Color='#000')&quot;</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* IE8 */</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/* creates triangle */</span>
a<span style="color: #6666ff;">.tooltip</span><span style="color: #3333ff;">:before</span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">z-index</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">13</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">content</span><span style="color: #00AA00;">:</span><span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\0</span>0a0&quot;</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">border-style</span><span style="color: #00AA00;">:</span><span style="color: #993333;">solid</span><span style="color: #00AA00;">;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span><span style="color: #933;">-3px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span><span style="color: #933;">0px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">border-width</span><span style="color: #00AA00;">:</span><span style="color: #933;">15px</span> <span style="color: #933;">7px</span> <span style="color: #933;">15px</span> <span style="color: #933;">7px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">border-color</span><span style="color: #00AA00;">:</span><span style="color: #993333;">transparent</span> <span style="color: #993333;">transparent</span> <span style="color: #cc00cc;">#075698</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
a<span style="color: #6666ff;">.tooltip</span><span style="color: #3333ff;">:hover</span><span style="color: #00AA00;">:</span><span style="color: #3333ff;">:before</span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
a<span style="color: #6666ff;">.tooltip</span><span style="color: #3333ff;">:hover</span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">z-index</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">10</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
a<span style="color: #6666ff;">.tooltip</span><span style="color: #3333ff;">:hover</span><span style="color: #00AA00;">:</span><span style="color: #3333ff;">:after</span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">200px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #933;">25px</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>Hope you'll like it.</p>


<p>Related posts:<ol><li><a href='http://www.nitinh.com/2010/01/drop-shadow-in-images-no-extra-markup/' rel='bookmark' title='Permanent Link: Drop Shadow in Images : No extra markup'>Drop Shadow in Images : No extra markup</a></li>
<li><a href='http://www.nitinh.com/2010/03/beautiful-nag-screen-using-jquery-css3/' rel='bookmark' title='Permanent Link: Beautiful Nag Screen using JQuery &amp; CSS3'>Beautiful Nag Screen using JQuery &amp; CSS3</a></li>
<li><a href='http://www.nitinh.com/2009/10/beautiful-and-simple-buttons-with-css/' rel='bookmark' title='Permanent Link: Beautiful and Simple Buttons with CSS'>Beautiful and Simple Buttons with CSS</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.nitinh.com/2010/03/sexy-tooltip-using-css3/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>Beautiful Nag Screen using JQuery &amp; CSS3</title>
		<link>http://www.nitinh.com/2010/03/beautiful-nag-screen-using-jquery-css3/</link>
		<comments>http://www.nitinh.com/2010/03/beautiful-nag-screen-using-jquery-css3/#comments</comments>
		<pubDate>Tue, 16 Mar 2010 16:51:18 +0000</pubDate>
		<dc:creator>nitin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[nag screen]]></category>
		<category><![CDATA[nagscreen]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.nitinh.com/2010/03/beautiful-nag-screen-using-jquery-css3/</guid>
		<description><![CDATA[TweetShareYesterday I wrote about a beautiful implementation for nag screen using mootools and CSS3. Thanks for all of my visitor for showing interest in it. Considering requests from some of the users, I have also worked on its jQuery version. In jQuery version I have also tried to remove the bugs pointed out by one [...]


Related posts:<ol><li><a href='http://www.nitinh.com/2010/03/beautiful-nag-screen-using-mootools-css3/' rel='bookmark' title='Permanent Link: Beautiful Nag Screen using Mootools &amp; CSS3'>Beautiful Nag Screen using Mootools &amp; CSS3</a></li>
<li><a href='http://www.nitinh.com/2010/03/how-to-create-a-simple-slideshow-using-mootools-jquery/' rel='bookmark' title='Permanent Link: How to Create a Simple Slideshow using Mootools / JQuery'>How to Create a Simple Slideshow using Mootools / JQuery</a></li>
<li><a href='http://www.nitinh.com/2010/01/vertical-align-middle-using-javascript-jquery-mootools/' rel='bookmark' title='Permanent Link: Vertical-Align : Middle Using Javascript : JQuery &#038; Mootools'>Vertical-Align : Middle Using Javascript : JQuery &#038; Mootools</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:left;"><div class="socialize-in-button-left"><a href="http://twitter.com/share" class="twitter-share-button" data-count="vertical" data-via="socializeWP" data-url="http://www.nitinh.com/2010/03/beautiful-nag-screen-using-jquery-css3/">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="socialize-in-button-left"><a name="fb_share" type="box_count" share_url="http://www.nitinh.com/2010/03/beautiful-nag-screen-using-jquery-css3/" href="http://www.facebook.com/sharer.php">Share</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script></div></div><p><img style="margin: 0px 10px 10px 0px; width: 130px; float: left; height: 130px;" src="http://imgur.com/r4ZM4.jpg" alt="" align="left" />Yesterday I wrote about a <a href="http://www.nitinh.com/2010/03/beautiful-nag-screen-using-mootools-css3/">beautiful implementation for nag screen</a> using mootools and CSS3. Thanks for all of my visitor for showing interest in it.</p>
<p>Considering requests from some of the users, I have also worked on its jQuery version. In jQuery version I have also tried to remove the bugs pointed out by one of the user.</p>
<p><span id="more-457"></span></p>
<p>The new jQuery version also have following improvements:</p>
<ul>
<li>Close button can be used to close nag screen</li>
<li>Now the whole text doesn’t jumps when nag screen sticks to top</li>
</ul>
<p>thanks “<a href="http://www.nitinh.com/2010/03/beautiful-nag-screen-using-mootools-css3/comment-page-1/#comment-5693">Seeker</a>” for pointing out these bugs.</p>
<p>Head over to Demo and download the source for this page.</p>
<p><a class="button" href="http://www.nitinh.com/static/nagScreen/jquery.html" target="_blank">Demo of Nag Screen</a></p>
<p><a class="button" href="http://www.nitinh.com/static/nagScreen/nagScreen_jquery.rar">Download Nag Screen Code</a></p>
<p>Be sure to check out the <a href="http://www.nitinh.com/2010/03/beautiful-nag-screen-using-mootools-css3/">MooTools version</a>.</p>


<p>Related posts:<ol><li><a href='http://www.nitinh.com/2010/03/beautiful-nag-screen-using-mootools-css3/' rel='bookmark' title='Permanent Link: Beautiful Nag Screen using Mootools &amp; CSS3'>Beautiful Nag Screen using Mootools &amp; CSS3</a></li>
<li><a href='http://www.nitinh.com/2010/03/how-to-create-a-simple-slideshow-using-mootools-jquery/' rel='bookmark' title='Permanent Link: How to Create a Simple Slideshow using Mootools / JQuery'>How to Create a Simple Slideshow using Mootools / JQuery</a></li>
<li><a href='http://www.nitinh.com/2010/01/vertical-align-middle-using-javascript-jquery-mootools/' rel='bookmark' title='Permanent Link: Vertical-Align : Middle Using Javascript : JQuery &#038; Mootools'>Vertical-Align : Middle Using Javascript : JQuery &#038; Mootools</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.nitinh.com/2010/03/beautiful-nag-screen-using-jquery-css3/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Beautiful Nag Screen using Mootools &amp; CSS3</title>
		<link>http://www.nitinh.com/2010/03/beautiful-nag-screen-using-mootools-css3/</link>
		<comments>http://www.nitinh.com/2010/03/beautiful-nag-screen-using-mootools-css3/#comments</comments>
		<pubDate>Mon, 15 Mar 2010 12:30:04 +0000</pubDate>
		<dc:creator>nitin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[mootools]]></category>
		<category><![CDATA[nag screen]]></category>
		<category><![CDATA[nagscreen]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.nitinh.com/2010/03/beautiful-nag-screen-using-mootools-css3/</guid>
		<description><![CDATA[TweetShareNagscreen : Messages on the webpage that reminds (or nags) the user to register, or show some notification. These messages appear on the webpage in a way to seek user attention. Here in this post we'll be creating beautiful and dynamic Nag Screen using Mootools. The application of nag screen is widespread, it widely used [...]


Related posts:<ol><li><a href='http://www.nitinh.com/2010/03/beautiful-nag-screen-using-jquery-css3/' rel='bookmark' title='Permanent Link: Beautiful Nag Screen using JQuery &amp; CSS3'>Beautiful Nag Screen using JQuery &amp; CSS3</a></li>
<li><a href='http://www.nitinh.com/2009/10/beautiful-thumbnail-hover-effect-using-mootools/' rel='bookmark' title='Permanent Link: Beautiful Thumbnail Hover Effect : Using Mootools'>Beautiful Thumbnail Hover Effect : Using Mootools</a></li>
<li><a href='http://www.nitinh.com/2009/11/another-beautiful-thumbnail-hover-effect-using-mootools/' rel='bookmark' title='Permanent Link: Another Beautiful Thumbnail Hover Effect : Using Mootools'>Another Beautiful Thumbnail Hover Effect : Using Mootools</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:left;"><div class="socialize-in-button-left"><a href="http://twitter.com/share" class="twitter-share-button" data-count="vertical" data-via="socializeWP" data-url="http://www.nitinh.com/2010/03/beautiful-nag-screen-using-mootools-css3/">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="socialize-in-button-left"><a name="fb_share" type="box_count" share_url="http://www.nitinh.com/2010/03/beautiful-nag-screen-using-mootools-css3/" href="http://www.facebook.com/sharer.php">Share</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script></div></div><p><a href="http://www.nitinh.com/wp-content/uploads/2010/03/tweetie2icon.png"><img style="margin: 0px 10px 10px 0px; float: left;" title="Nag Screen" src="http://www.nitinh.com/wp-content/uploads/2010/03/tweetie2icon_thumb.png" border="0" alt="Nag Screen" width="152" height="152" align="left" /></a><strong>Nagscreen</strong> : Messages on the webpage that reminds (or nags) the user to register, or show some notification. These messages appear on the webpage in a way to seek user attention. Here in this post we'll be creating beautiful and dynamic Nag Screen using Mootools. <span id="more-450"></span></p>
<p>The application of nag screen is widespread, it widely used by various websites to show important messages on the webpage. Some examples of such screens are :</p>
<ul>
<li>Update notices in wordpress</li>
<li>Import address book message, which facebook shows</li>
<li>Registration messages shown on various websites</li>
</ul>
<p>So, considering such a wide use of nag screens I’ve tried to make them a little beautiful and flashy.</p>
<p>Just have a look at the demo to see the effect :</p>
<p><a class="button" href="/static/nagScreen/">Nag Screen Demo</a></p>
<p><a href="/static/nagScreen/"><img src="http://www.nitinh.com/wp-content/uploads/2010/03/Clipboard01.jpg" alt="" width="554" height="165" /></a></p>
<p>For capturing the scroll events I have used “<a href="http://mootools.net/forge/p/scrollspy" target="_blank">ScrollSpy</a>” developed by “<a href="http://davidwalsh.name" target="_blank">David Walsh</a>”. Thanks David for make such useful and easy to use plugin.</p>
<p>You can always access source of the webpage for its better understanding. To grab the source please download it here:</p>
<p><a class="button" href="/static/nagScreen/nagScreen.zip">Download Source</a></p>
<p>For further clarification and suggestions please drop comments.</p>
<p>Be sure to check out the <a href="http://www.nitinh.com/2010/03/beautiful-nag-screen-using-jquery-css3/">jQuery version</a>.</p>


<p>Related posts:<ol><li><a href='http://www.nitinh.com/2010/03/beautiful-nag-screen-using-jquery-css3/' rel='bookmark' title='Permanent Link: Beautiful Nag Screen using JQuery &amp; CSS3'>Beautiful Nag Screen using JQuery &amp; CSS3</a></li>
<li><a href='http://www.nitinh.com/2009/10/beautiful-thumbnail-hover-effect-using-mootools/' rel='bookmark' title='Permanent Link: Beautiful Thumbnail Hover Effect : Using Mootools'>Beautiful Thumbnail Hover Effect : Using Mootools</a></li>
<li><a href='http://www.nitinh.com/2009/11/another-beautiful-thumbnail-hover-effect-using-mootools/' rel='bookmark' title='Permanent Link: Another Beautiful Thumbnail Hover Effect : Using Mootools'>Another Beautiful Thumbnail Hover Effect : Using Mootools</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.nitinh.com/2010/03/beautiful-nag-screen-using-mootools-css3/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>How to Create a Simple Slideshow using Mootools / JQuery</title>
		<link>http://www.nitinh.com/2010/03/how-to-create-a-simple-slideshow-using-mootools-jquery/</link>
		<comments>http://www.nitinh.com/2010/03/how-to-create-a-simple-slideshow-using-mootools-jquery/#comments</comments>
		<pubDate>Sat, 13 Mar 2010 17:13:47 +0000</pubDate>
		<dc:creator>nitin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Gallery]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[mootools]]></category>
		<category><![CDATA[Photo]]></category>
		<category><![CDATA[Slideshow]]></category>

		<guid isPermaLink="false">http://www.nitinh.com/2010/03/how-to-create-a-simple-slideshow-using-mootools-jquery/</guid>
		<description><![CDATA[TweetShare When we want to show lots of content in limited screen space, Slideshows comes to rescue. Making use of slideshows is the optimal way to present large amount of information. In this post i'll walk you through the process of making a very simple(minimilistic) slideshow using Mootools / Jquery. &#160; You must have seen [...]


Related posts:<ol><li><a href='http://www.nitinh.com/2010/01/vertical-align-middle-using-javascript-jquery-mootools/' rel='bookmark' title='Permanent Link: Vertical-Align : Middle Using Javascript : JQuery &#038; Mootools'>Vertical-Align : Middle Using Javascript : JQuery &#038; Mootools</a></li>
<li><a href='http://www.nitinh.com/2009/11/another-beautiful-thumbnail-hover-effect-using-mootools/' rel='bookmark' title='Permanent Link: Another Beautiful Thumbnail Hover Effect : Using Mootools'>Another Beautiful Thumbnail Hover Effect : Using Mootools</a></li>
<li><a href='http://www.nitinh.com/2010/03/beautiful-nag-screen-using-jquery-css3/' rel='bookmark' title='Permanent Link: Beautiful Nag Screen using JQuery &amp; CSS3'>Beautiful Nag Screen using JQuery &amp; CSS3</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:left;"><div class="socialize-in-button-left"><a href="http://twitter.com/share" class="twitter-share-button" data-count="vertical" data-via="socializeWP" data-url="http://www.nitinh.com/2010/03/how-to-create-a-simple-slideshow-using-mootools-jquery/">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="socialize-in-button-left"><a name="fb_share" type="box_count" share_url="http://www.nitinh.com/2010/03/how-to-create-a-simple-slideshow-using-mootools-jquery/" href="http://www.facebook.com/sharer.php">Share</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script></div></div><p><img style="margin: 0px 10px 10px 0px; float: left" title="slide_show_icon" border="0" alt="slide_show_icon" align="left" src="http://www.nitinh.com/wp-content/uploads/2010/03/slide_show_icon.gif" width="132" height="132" /> When we want to show lots of content in limited screen space, Slideshows comes to rescue. Making use of slideshows is the optimal way to present large amount of information. In this post i'll walk you through the process of making a very simple(minimilistic) slideshow using Mootools / Jquery. </p>
<p><span id="more-439"></span></p>
<div id='extendedEntryBreak' name='extendedEntryBreak'></div>
<p>&#160;</p>
<p>You must have seen various types of slideshows around the web. Creating such slideshow is also very simple. With little smart code one can make it very quickly.</p>
<p>As it is said “<b><a href="http://en.wikipedia.org/wiki/A_picture_is_worth_a_thousand_words" target="_blank">A picture is worth a thousand words</a></b>”, similarly I believe a demo is worth a thousand words. So lets hit the demo and try it ourselves.</p>
<table border="0" cellspacing="0" cellpadding="0" width="500">
<tbody>
<tr>
<td valign="top" width="250">
<p align="center"><a class="button" href="/static/SlideShow/mootools.html" target="_blank">Demo using Mootools</a></p>
</td>
<td valign="top" width="250">
<p align="center"><a class="button" href="/static/SlideShow/jquery.html" target="_blank">Demo using JQuery</a></p>
</td>
</tr>
</tbody>
</table>
<p>So, Interested ??? Lets head over to its implementation.</p>
<h3>Action Plan</h3>
<ul>
<li><strong>Step 1 :</strong> HTML Code Markup </li>
<li><strong>Step 2 :</strong> Setup CSS for the Slideshow </li>
<li><strong>Step 3 :</strong> Javascript for getting desired effect </li>
</ul>
<h4>Step 1 : HTML code</h4>
<p>In this step we’ll make basic markup for the slideshow. This basically consists two parts, one which shows the bigger picture and second to show list of thumbnails. Here is the necessary HTML code for these two parts.</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;bigPic&quot;</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;imgs/1.jpg&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;imgs/2.jpg&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;imgs/3.jpg&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;imgs/4.jpg&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;imgs/5.jpg&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;imgs/6.jpg&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;imgs/7.jpg&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;imgs/8.jpg&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;imgs/9.jpg&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;imgs/10.jpg&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
&nbsp;
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">ul</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;thumbs&quot;</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;active&quot;</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;1&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;imgs/1_thumb.jpg&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;2&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;imgs/3_thumb.jpg&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;3&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;imgs/4_thumb.jpg&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;4&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;imgs/5_thumb.jpg&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;5&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;imgs/6_thumb.jpg&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;6&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;imgs/7_thumb.jpg&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;7&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;imgs/8_thumb.jpg&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;8&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;imgs/9_thumb.jpg&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;9&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;imgs/10_thumb.jpg&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;10&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;imgs/2_thumb.jpg&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">ul</span>&gt;</span></pre></div></div>

<p>Here fist div#bigPic contains all the big images in the slideshow. Whereas, the ul#thumbs contains thumbnails images. </p>
<h4>Step 2 : Necessary CSS Code</h4>
<p>This section shows, the necessary CSS code. CSS style used in demo for other styles are not included here.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#bigPic</span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">940px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">300px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#CCC</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background-color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#FFF</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin-bottom</span><span style="color: #00AA00;">:</span><span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#bigPic</span> img<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
ul<span style="color: #cc00cc;">#thumbs</span> li.active<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #933;">2px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#000</span><span style="color: #00AA00;">;</span>	
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#fff</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">2px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
ul<span style="color: #cc00cc;">#thumbs</span><span style="color: #00AA00;">,</span> ul<span style="color: #cc00cc;">#thumbs</span> li<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">list-style</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
ul<span style="color: #cc00cc;">#thumbs</span> li<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin-right</span><span style="color: #00AA00;">:</span><span style="color: #933;">7px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin-bottom</span><span style="color: #00AA00;">:</span><span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#CCC</span><span style="color: #00AA00;">;</span>	
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">3px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">cursor</span><span style="color: #00AA00;">:</span><span style="color: #993333;">pointer</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
ul<span style="color: #cc00cc;">#thumbs</span> img<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">80px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">80px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span><span style="color: #933;">80px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">overflow</span><span style="color: #00AA00;">:</span><span style="color: #993333;">hidden</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">z-index</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">1</span><span style="color: #00AA00;">;</span>		
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<h4>Step 3 : Javascript Magic</h4>
<p>The basic idea to get the effect is in following steps:</p>
<ol>
<li>Increase the z-index of current shown image</li>
<li>Show next image to be shown just below current image.</li>
<li>Now using fade out current image. This way next image will become visible.</li>
</ol>
<p>Equivalent JS code used is as follows.</p>
<h5>Using Mootools</h5>
<p>If you use JQuery directly head on to next section with JQuery code.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">var</span> currentImage<span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> currentIndex <span style="color: #339933;">=</span> <span style="color: #339933;">-</span><span style="color: #CC0000;">1</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> interval<span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">function</span> showImage<span style="color: #009900;">&#40;</span>index<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
    <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>index<span style="color: #339933;">&lt;</span>$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'bigPic'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">getElements</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'img'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">length</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
        <span style="color: #003366; font-weight: bold;">var</span> indexImage <span style="color: #339933;">=</span> $$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#bigPic img'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#91;</span>index<span style="color: #009900;">&#93;</span>
        <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>currentImage<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>   
            <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>currentImage <span style="color: #339933;">!=</span> indexImage <span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
                $<span style="color: #009900;">&#40;</span>currentImage<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">setStyle</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'z-index'</span><span style="color: #339933;">,</span><span style="color: #CC0000;">2</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                $clear<span style="color: #009900;">&#40;</span>myTimer<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                <span style="color: #003366; font-weight: bold;">var</span> myFx <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> Fx.<span style="color: #660066;">Tween</span><span style="color: #009900;">&#40;</span>currentImage<span style="color: #339933;">,</span> <span style="color: #009900;">&#123;</span>
                    duration<span style="color: #339933;">:</span> <span style="color: #CC0000;">250</span><span style="color: #339933;">,</span>
                    onComplete<span style="color: #339933;">:</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
                        $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">setStyles</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">'display'</span><span style="color: #339933;">:</span><span style="color: #3366CC;">'none'</span><span style="color: #339933;">,</span><span style="color: #3366CC;">'z-index'</span><span style="color: #339933;">:</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                        myTimer <span style="color: #339933;">=</span> showNext.<span style="color: #660066;">delay</span><span style="color: #009900;">&#40;</span><span style="color: #CC0000;">3000</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                    <span style="color: #009900;">&#125;</span>.<span style="color: #660066;">bind</span><span style="color: #009900;">&#40;</span>currentImage<span style="color: #009900;">&#41;</span>
                <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">start</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'opacity'</span><span style="color: #339933;">,</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #009900;">&#125;</span>
        <span style="color: #009900;">&#125;</span>
        indexImage.<span style="color: #660066;">setStyles</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">'display'</span><span style="color: #339933;">:</span><span style="color: #3366CC;">'block'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'opacity'</span><span style="color: #339933;">:</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        currentImage <span style="color: #339933;">=</span> indexImage<span style="color: #339933;">;</span>
        currentIndex <span style="color: #339933;">=</span> index<span style="color: #339933;">;</span>
        $$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#thumbs li'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">removeClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'active'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        $$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#thumbs li'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#91;</span>index<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">addClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'active'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #003366; font-weight: bold;">function</span> showNext<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
    <span style="color: #003366; font-weight: bold;">var</span> len <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'bigPic'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">getElements</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'img'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">length</span><span style="color: #339933;">;</span>
    <span style="color: #003366; font-weight: bold;">var</span> next <span style="color: #339933;">=</span> currentIndex <span style="color: #339933;">&lt;</span> <span style="color: #009900;">&#40;</span>len<span style="color: #339933;">-</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">?</span> currentIndex <span style="color: #339933;">+</span> <span style="color: #CC0000;">1</span> <span style="color: #339933;">:</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span>
    showImage<span style="color: #009900;">&#40;</span>next<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #003366; font-weight: bold;">var</span> myTimer<span style="color: #339933;">;</span>
window.<span style="color: #660066;">addEvent</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'domready'</span><span style="color: #339933;">,</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
    myTimer <span style="color: #339933;">=</span> showNext.<span style="color: #660066;">delay</span><span style="color: #009900;">&#40;</span><span style="color: #CC0000;">3000</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    showNext<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">//loads first image</span>
    $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'thumbs'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">getElements</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'li'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">addEvent</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'click'</span><span style="color: #339933;">,</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>e<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
        <span style="color: #003366; font-weight: bold;">var</span> count <span style="color: #339933;">=</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">get</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'rel'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        showImage<span style="color: #009900;">&#40;</span>parseInt<span style="color: #009900;">&#40;</span>count<span style="color: #009900;">&#41;</span><span style="color: #339933;">-</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h5>JQuery Implementation</h5>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">var</span> currentImage<span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> currentIndex <span style="color: #339933;">=</span> <span style="color: #339933;">-</span><span style="color: #CC0000;">1</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> interval<span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">function</span> showImage<span style="color: #009900;">&#40;</span>index<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
    <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>index <span style="color: #339933;">&lt;</span> $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#bigPic img'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">length</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
        <span style="color: #003366; font-weight: bold;">var</span> indexImage <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#bigPic img'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#91;</span>index<span style="color: #009900;">&#93;</span>
        <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>currentImage<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>   
            <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>currentImage <span style="color: #339933;">!=</span> indexImage <span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
                $<span style="color: #009900;">&#40;</span>currentImage<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'z-index'</span><span style="color: #339933;">,</span><span style="color: #CC0000;">2</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                clearTimeout<span style="color: #009900;">&#40;</span>myTimer<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                $<span style="color: #009900;">&#40;</span>currentImage<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">fadeOut</span><span style="color: #009900;">&#40;</span><span style="color: #CC0000;">250</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                    myTimer <span style="color: #339933;">=</span> setTimeout<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;showNext()&quot;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">3000</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                    $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">'display'</span><span style="color: #339933;">:</span><span style="color: #3366CC;">'none'</span><span style="color: #339933;">,</span><span style="color: #3366CC;">'z-index'</span><span style="color: #339933;">:</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>
                <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #009900;">&#125;</span>
        <span style="color: #009900;">&#125;</span>
        $<span style="color: #009900;">&#40;</span>indexImage<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">'display'</span><span style="color: #339933;">:</span><span style="color: #3366CC;">'block'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'opacity'</span><span style="color: #339933;">:</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        currentImage <span style="color: #339933;">=</span> indexImage<span style="color: #339933;">;</span>
        currentIndex <span style="color: #339933;">=</span> index<span style="color: #339933;">;</span>
        $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#thumbs li'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">removeClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'active'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        $<span style="color: #009900;">&#40;</span>$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#thumbs li'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#91;</span>index<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">addClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'active'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #003366; font-weight: bold;">function</span> showNext<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
    <span style="color: #003366; font-weight: bold;">var</span> len <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#bigPic img'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">length</span><span style="color: #339933;">;</span>
    <span style="color: #003366; font-weight: bold;">var</span> next <span style="color: #339933;">=</span> currentIndex <span style="color: #339933;">&lt;</span> <span style="color: #009900;">&#40;</span>len<span style="color: #339933;">-</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">?</span> currentIndex <span style="color: #339933;">+</span> <span style="color: #CC0000;">1</span> <span style="color: #339933;">:</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span>
    showImage<span style="color: #009900;">&#40;</span>next<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #003366; font-weight: bold;">var</span> myTimer<span style="color: #339933;">;</span>
&nbsp;
$<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    myTimer <span style="color: #339933;">=</span> setTimeout<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;showNext()&quot;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">3000</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    showNext<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">//Load first image</span>
    $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#thumbs li'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">bind</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'click'</span><span style="color: #339933;">,</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>e<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
        <span style="color: #003366; font-weight: bold;">var</span> count <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">attr</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'rel'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        showImage<span style="color: #009900;">&#40;</span>parseInt<span style="color: #009900;">&#40;</span>count<span style="color: #009900;">&#41;</span><span style="color: #339933;">-</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>I have tried to keep the javascript code really simple if you still feel it difficult to understand just drop a comment about it. I'll try to explain your doubts.</p>
<h3>Download Code</h3>
<p>JQuery Implementation : <a href="/static/SlideShow/SlideShow-JQuery.zip" target="_blank"><strong>Sideshow-Jquery.zip</strong></a><br />
Mootools Implementation : <a href="/static/SlideShow/SlideShow-Mootools.zip" target="_blank"><strong>Sideshow-Mootools.zip</strong></a></p>


<p>Related posts:<ol><li><a href='http://www.nitinh.com/2010/01/vertical-align-middle-using-javascript-jquery-mootools/' rel='bookmark' title='Permanent Link: Vertical-Align : Middle Using Javascript : JQuery &#038; Mootools'>Vertical-Align : Middle Using Javascript : JQuery &#038; Mootools</a></li>
<li><a href='http://www.nitinh.com/2009/11/another-beautiful-thumbnail-hover-effect-using-mootools/' rel='bookmark' title='Permanent Link: Another Beautiful Thumbnail Hover Effect : Using Mootools'>Another Beautiful Thumbnail Hover Effect : Using Mootools</a></li>
<li><a href='http://www.nitinh.com/2010/03/beautiful-nag-screen-using-jquery-css3/' rel='bookmark' title='Permanent Link: Beautiful Nag Screen using JQuery &amp; CSS3'>Beautiful Nag Screen using JQuery &amp; CSS3</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.nitinh.com/2010/03/how-to-create-a-simple-slideshow-using-mootools-jquery/feed/</wfw:commentRss>
		<slash:comments>82</slash:comments>
		</item>
		<item>
		<title>Drop Shadow in Images : No extra markup</title>
		<link>http://www.nitinh.com/2010/01/drop-shadow-in-images-no-extra-markup/</link>
		<comments>http://www.nitinh.com/2010/01/drop-shadow-in-images-no-extra-markup/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 15:01:49 +0000</pubDate>
		<dc:creator>nitin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[box-shadow]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[shadow]]></category>

		<guid isPermaLink="false">http://www.nitinh.com/?p=367</guid>
		<description><![CDATA[TweetShareDrop Shadows adds extra glare to any design. They can be easily accomplished in any graphic editor, however its a little tricky in web programming. In this post I'll walk you through various ways in which you can add shadows to images without any extra markup used. In all cases i'll use the same HTML [...]


Related posts:<ol><li><a href='http://www.nitinh.com/2010/03/sexy-tooltip-using-css3/' rel='bookmark' title='Permanent Link: Sexy Tooltip using CSS3 (no images)'>Sexy Tooltip using CSS3 (no images)</a></li>
<li><a href='http://www.nitinh.com/2009/10/beautiful-thumbnail-hover-effect-using-mootools/' rel='bookmark' title='Permanent Link: Beautiful Thumbnail Hover Effect : Using Mootools'>Beautiful Thumbnail Hover Effect : Using Mootools</a></li>
<li><a href='http://www.nitinh.com/2009/11/another-beautiful-thumbnail-hover-effect-using-mootools/' rel='bookmark' title='Permanent Link: Another Beautiful Thumbnail Hover Effect : Using Mootools'>Another Beautiful Thumbnail Hover Effect : Using Mootools</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:left;"><div class="socialize-in-button-left"><a href="http://twitter.com/share" class="twitter-share-button" data-count="vertical" data-via="socializeWP" data-url="http://www.nitinh.com/2010/01/drop-shadow-in-images-no-extra-markup/">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="socialize-in-button-left"><a name="fb_share" type="box_count" share_url="http://www.nitinh.com/2010/01/drop-shadow-in-images-no-extra-markup/" href="http://www.facebook.com/sharer.php">Share</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script></div></div><p><img class="alignleft" style="margin:0 10px 10px 0;" src="http://imgur.com/KYga8.jpg" alt="Image with shadow" width="150" height="149" />Drop Shadows adds extra glare to any design. They can be easily accomplished in any graphic editor, however its a little tricky in web programming. In this post I'll walk you through various ways in which you can add shadows to images without any extra markup used.<span id="more-367"></span><br />
In all cases i'll use the same HTML code for showing Image.</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;image.jpg&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;thumbnail&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span></pre></div></div>

<h3>CSS 3</h3>
<p>In the latest <a href="http://www.w3.org/TR/2005/WD-css3-background-20050216/#the-box-shadow">public working draft</a> we have a box-shadow property. This property can be used to draw a drop-shadow for a CSS box. </p>
<p>
<img style="padding:4px;border:1px solid #DDD;-moz-box-shadow: 5px 5px 7px #999;box-shadow: 5px 5px 7px #999;-webkit-box-shadow: 5px 5px 7px #999;" src="/static/Thumbnails/1_thumb.jpg" />
</p>
<p>The CSS for the above example is :</p>
<pre language="css">.thumbnail{
    padding:4px;
    border:1px solid #DDD;
    -moz-box-shadow: 5px 5px 7px #999;
    box-shadow: 5px 5px 7px #999;
    -webkit-box-shadow: 5px 5px 7px #999;
}</pre>
<p>Good naa !!!<br/><br />
But the problem with this implementation is that it doesn't work in IE. The Box Shadow property is supported by only :<br />
+ Firefox 3.5<br />
+ Safari (3.2.1)<br />
+ Google Chrome 2<br />
So its up to you whether you want to ignore IE users or not.</p>
<p>Now lets see other approach.</p>
<h3>Using Background Shadow Image</h3>
<p>In this approach we'll be using an extra image in background that will give shadow effect. This technique is also illustrated here "<a href="http://www.alistapart.com/articles/cssdropshadows/">CSS Drop Shadows</a>".<br />
<img style="width:250px;height:250px;padding:8px 13px 14px 10px;background:transparent url('/static/css-shadow/image-bg.png') no-repeat 0 0;border:0px;" src='/static/css-shadow/1.jpg' /><br />
In this case the CSS used is:</p>
<pre language="css">
.thumbnail{
    width:250px;
    height:250px;
    padding:4px 14px 14px 4px;
    background:transparent url('image-bg.png') no-repeat 0 0;
}
</pre>
<p>Some other implementations are </p>
<p><a target="_blank" class='button' href='/static/css-shadow/index1.html'>Demo 1</a></p>
<p><a target="_blank" class='button' href='/static/css-shadow/index.html'>Demo 2</a></p>
<p>Hope this article will give more ideas for similar implementation. </p>
<p>Happy Coding!!!!</p>


<p>Related posts:<ol><li><a href='http://www.nitinh.com/2010/03/sexy-tooltip-using-css3/' rel='bookmark' title='Permanent Link: Sexy Tooltip using CSS3 (no images)'>Sexy Tooltip using CSS3 (no images)</a></li>
<li><a href='http://www.nitinh.com/2009/10/beautiful-thumbnail-hover-effect-using-mootools/' rel='bookmark' title='Permanent Link: Beautiful Thumbnail Hover Effect : Using Mootools'>Beautiful Thumbnail Hover Effect : Using Mootools</a></li>
<li><a href='http://www.nitinh.com/2009/11/another-beautiful-thumbnail-hover-effect-using-mootools/' rel='bookmark' title='Permanent Link: Another Beautiful Thumbnail Hover Effect : Using Mootools'>Another Beautiful Thumbnail Hover Effect : Using Mootools</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.nitinh.com/2010/01/drop-shadow-in-images-no-extra-markup/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Another Beautiful Thumbnail Hover Effect : Using Mootools</title>
		<link>http://www.nitinh.com/2009/11/another-beautiful-thumbnail-hover-effect-using-mootools/</link>
		<comments>http://www.nitinh.com/2009/11/another-beautiful-thumbnail-hover-effect-using-mootools/#comments</comments>
		<pubDate>Sat, 21 Nov 2009 09:11:02 +0000</pubDate>
		<dc:creator>nitin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Effect]]></category>
		<category><![CDATA[hover]]></category>
		<category><![CDATA[mootools]]></category>
		<category><![CDATA[Thumbnail]]></category>

		<guid isPermaLink="false">http://www.nitinh.com/?p=330</guid>
		<description><![CDATA[TweetShareSome days back I wrote a post regarding "Beautiful Thumbnail Hover Effect". On getting such a good response about the javascript effect I am again presenting a different thumbnail presentation. This implementation is little different.  To know more about this effect lets see the demo first. View Demo If you have seen the demo then [...]


Related posts:<ol><li><a href='http://www.nitinh.com/2009/10/beautiful-thumbnail-hover-effect-using-mootools/' rel='bookmark' title='Permanent Link: Beautiful Thumbnail Hover Effect : Using Mootools'>Beautiful Thumbnail Hover Effect : Using Mootools</a></li>
<li><a href='http://www.nitinh.com/2010/03/how-to-create-a-simple-slideshow-using-mootools-jquery/' rel='bookmark' title='Permanent Link: How to Create a Simple Slideshow using Mootools / JQuery'>How to Create a Simple Slideshow using Mootools / JQuery</a></li>
<li><a href='http://www.nitinh.com/2009/10/make-your-links-hyperlinks-even-more-sexier/' rel='bookmark' title='Permanent Link: Make Your Links (Hyperlinks) Even More Sexier'>Make Your Links (Hyperlinks) Even More Sexier</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:left;"><div class="socialize-in-button-left"><a href="http://twitter.com/share" class="twitter-share-button" data-count="vertical" data-via="socializeWP" data-url="http://www.nitinh.com/2009/11/another-beautiful-thumbnail-hover-effect-using-mootools/">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="socialize-in-button-left"><a name="fb_share" type="box_count" share_url="http://www.nitinh.com/2009/11/another-beautiful-thumbnail-hover-effect-using-mootools/" href="http://www.facebook.com/sharer.php">Share</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script></div></div><p><img class="alignleft" style="margin: 0 10px 10px 0;" title="Beautiful Thumbnail Hover Effect : Using Mootools" src="http://imgur.com/rZ1Uy.jpg" alt="" width="177" height="177" />Some days back I wrote a post regarding "<a href="http://www.nitinh.com/2009/10/beautiful-thumbnail-hover-effect-using-mootools/">Beautiful Thumbnail Hover Effect</a>". On getting such a good response about the javascript effect I am again presenting a different thumbnail presentation.</p>
<p><span id="more-330"></span></p>
<p>This implementation is little different.  To know more about this effect lets see the demo first.</p>
<p><a class="button" rel="nofollow" href="/static/another_thumb/index.html">View Demo</a></p>
<p>If you have seen the demo then you might be wondering how this image is splitting in middle. Actually to get this effect I have used two instances of the same image. One instance goes toward left while second image goes right, in effect giving an illusion that image is splitting in middle.</p>
<p><img src="http://imgur.com/QQ4Zo.jpg" /></p>
<p>Now lets move on to its implementation.</p>
<h3>The HTML</h3>
<p>Here i am given html code to showing one thumbnail:</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'thumb'</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'someContent'</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'content'</span>&gt;</span>Some Random Text Over Here.  <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'more'</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>More <span style="color: #ddbb00;">&amp;raquo;</span><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'divLeft'</span> <span style="color: #000066;">style</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'left:0px'</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'divLeftImage'</span> <span style="color: #000066;">style</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'background:url(7.jpg);'</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'divLeftShadow'</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'divRight'</span> <span style="color: #000066;">style</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'left:0px;background-image:url(7.jpg);'</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;thumbnail-shadow&quot;</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;bottom&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;thumbnail-shadow.png&quot;</span><span style="color: #66cc66;">/</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span></pre></div></div>

<p>This code looks to me as self explanatory. </p>
<h3>The CSS</h3>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">div.thumb<span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">160px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">160px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #933;">30px</span> <span style="color: #933;">40px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">overflow</span><span style="color: #00AA00;">:</span><span style="color: #993333;">hidden</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #933;">5px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#313131</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
div<span style="color: #6666ff;">.divLeft</span><span style="color: #00AA00;">,</span> div.divRight<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">90px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">160px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">overflow</span><span style="color: #00AA00;">:</span><span style="color: #993333;">hidden</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span><span style="color: #933;">-160px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">overflow</span><span style="color: #00AA00;">:</span><span style="color: #993333;">hidden</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
div.divLeft<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">margin-right</span><span style="color: #00AA00;">:</span><span style="color: #933;">-10px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
div.divLeftImage<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">80px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">100%</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
div.divLeftShadow<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">100%</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #993333;">transparent</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'shadow.png'</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">repeat-y</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
div.divRight<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">80px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span><span style="color: #933;">-80px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.thumbnail-shadow</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">33px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">-320px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">100%</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
div.someContent<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">160px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">150px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">10px</span> <span style="color: #933;">0px</span> <span style="color: #933;">0px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span><span style="color: #933;">12px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span>Arial<span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span><span style="color: #993333;">justify</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #993333;">transparent</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">thumbnail-overlay.png</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #993333;">scroll</span> <span style="color: #933;">0px</span> <span style="color: #933;">-167px</span><span style="color: #00AA00;">;</span>
&nbsp;
<span style="color: #00AA00;">&#125;</span>
div<span style="color: #6666ff;">.someContent</span> div.<span style="color: #000000; font-weight: bold;">content</span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#CCC</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">126px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span><span style="color: #933;">11px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #933;">10px</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">20px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
div<span style="color: #6666ff;">.someContent</span> div.more<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background-image</span><span style="color: #00AA00;">:</span><span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">readmore-bg.png</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">bottom</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">right</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">16px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">5px</span> <span style="color: #933;">5px</span> <span style="color: #933;">3px</span> <span style="color: #933;">20px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">right</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">45px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<h3>Javascript : Mootools</h3>
<p>And Finally the magic of Mootools to get the desired effect. To get the desired effect I am moving div.divLeft 70px toward left, and moving div.divRight 80px toward right. At the same time the background image for the background text is coming down.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'div.thumb'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">each</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>div<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
&nbsp;
	div.<span style="color: #660066;">getElement</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'div.someContent'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">set</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'tween'</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#123;</span>duration<span style="color: #339933;">:</span><span style="color: #3366CC;">'700'</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	div.<span style="color: #660066;">getElement</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'div.divLeft'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">set</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'tween'</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#123;</span>duration<span style="color: #339933;">:</span> <span style="color: #3366CC;">'450'</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	div.<span style="color: #660066;">getElement</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'div.divRight'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">set</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'tween'</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#123;</span>duration<span style="color: #339933;">:</span> <span style="color: #3366CC;">'450'</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	div.<span style="color: #660066;">addEvent</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'mouseenter'</span><span style="color: #339933;">,</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>e<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		<span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">getElement</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'div.divLeft'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">tween</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'left'</span><span style="color: #339933;">,</span><span style="color: #3366CC;">'-70px'</span><span style="color: #009900;">&#41;</span>
		<span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">getElement</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'div.divRight'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">tween</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'left'</span><span style="color: #339933;">,</span><span style="color: #3366CC;">'80px'</span><span style="color: #009900;">&#41;</span>
		<span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">getElement</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'div.someContent'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">tween</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;background-position&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;-20px 0px&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>
	div.<span style="color: #660066;">addEvent</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'mouseleave'</span><span style="color: #339933;">,</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>e<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		<span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">getElement</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'div.divLeft'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">tween</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'left'</span><span style="color: #339933;">,</span><span style="color: #3366CC;">'0px'</span><span style="color: #009900;">&#41;</span>
		<span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">getElement</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'div.divRight'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">tween</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'left'</span><span style="color: #339933;">,</span><span style="color: #3366CC;">'0px'</span><span style="color: #009900;">&#41;</span>
		<span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">getElement</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'div.someContent'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">tween</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;background-position&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;0px -167px&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span></pre></div></div>

<p>The whole code is available for download :</p>
<p><a class="button" rel="nofollow" href="/static/another_thumb.zip">Download Another_Thumbnail.zip</a></p>
<p>Hope you guys will like it. Let me hear your feedbacks through comments. </p>


<p>Related posts:<ol><li><a href='http://www.nitinh.com/2009/10/beautiful-thumbnail-hover-effect-using-mootools/' rel='bookmark' title='Permanent Link: Beautiful Thumbnail Hover Effect : Using Mootools'>Beautiful Thumbnail Hover Effect : Using Mootools</a></li>
<li><a href='http://www.nitinh.com/2010/03/how-to-create-a-simple-slideshow-using-mootools-jquery/' rel='bookmark' title='Permanent Link: How to Create a Simple Slideshow using Mootools / JQuery'>How to Create a Simple Slideshow using Mootools / JQuery</a></li>
<li><a href='http://www.nitinh.com/2009/10/make-your-links-hyperlinks-even-more-sexier/' rel='bookmark' title='Permanent Link: Make Your Links (Hyperlinks) Even More Sexier'>Make Your Links (Hyperlinks) Even More Sexier</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.nitinh.com/2009/11/another-beautiful-thumbnail-hover-effect-using-mootools/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
		<item>
		<title>Make Your Links (Hyperlinks) Even More Sexier</title>
		<link>http://www.nitinh.com/2009/10/make-your-links-hyperlinks-even-more-sexier/</link>
		<comments>http://www.nitinh.com/2009/10/make-your-links-hyperlinks-even-more-sexier/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 14:17:47 +0000</pubDate>
		<dc:creator>nitin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Hyperlink]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[Link]]></category>
		<category><![CDATA[mootools]]></category>
		<category><![CDATA[Sexy]]></category>

		<guid isPermaLink="false">http://www.nitinh.com/?p=322</guid>
		<description><![CDATA[TweetShareYou would have often seen various attempts to make hyperlink more beautiful. One of my personal favorite is to have little icons beside links to let you know where they link to. Different icons for external links, pdfs, images, etc. etc. You can find the tutorial for such link over here. In this post i'll tell [...]


Related posts:<ol><li><a href='http://www.nitinh.com/2009/11/another-beautiful-thumbnail-hover-effect-using-mootools/' rel='bookmark' title='Permanent Link: Another Beautiful Thumbnail Hover Effect : Using Mootools'>Another Beautiful Thumbnail Hover Effect : Using Mootools</a></li>
<li><a href='http://www.nitinh.com/2009/10/beautiful-thumbnail-hover-effect-using-mootools/' rel='bookmark' title='Permanent Link: Beautiful Thumbnail Hover Effect : Using Mootools'>Beautiful Thumbnail Hover Effect : Using Mootools</a></li>
<li><a href='http://www.nitinh.com/2010/03/how-to-create-a-simple-slideshow-using-mootools-jquery/' rel='bookmark' title='Permanent Link: How to Create a Simple Slideshow using Mootools / JQuery'>How to Create a Simple Slideshow using Mootools / JQuery</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:left;"><div class="socialize-in-button-left"><a href="http://twitter.com/share" class="twitter-share-button" data-count="vertical" data-via="socializeWP" data-url="http://www.nitinh.com/2009/10/make-your-links-hyperlinks-even-more-sexier/">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="socialize-in-button-left"><a name="fb_share" type="box_count" share_url="http://www.nitinh.com/2009/10/make-your-links-hyperlinks-even-more-sexier/" href="http://www.facebook.com/sharer.php">Share</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script></div></div><p><img class="alignleft" style="margin: 0 10px 10px 0;" src="http://imgur.com/ZaS5D.png" alt="HyperLink" width="128" height="128" />You would have often seen various attempts to make hyperlink more beautiful. One of my personal favorite is to have little icons beside links to let you know where they link to.<br />
Different icons for external links, pdfs, images, etc. etc. You can find the tutorial for such link over <a rel="nofollow" href="http://www.devirtuoso.com/2009/08/making-hyperlink-icons-with-css/">here</a>.</p>
<p><span id="more-322"></span></p>
<p>In this post i'll tell you a technique using which you can make your links even more sexier.</p>
<p>Check out the demo first : <a class="button" href="/static/hyperlink/index.html" target="_blank">View Demo</a></p>
<p>The Implementation of this effect is given in the following sections.</p>
<h3>The HTML</h3>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;link&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Put Anything Here<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span></pre></div></div>

<p>All you need is to add classname "link" to your hyperlinks.</p>
<h3>The CSS</h3>
<p>The only important class is to have the final class "a.link".</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">a<span style="color: #3333ff;">:link</span><span style="color: #00AA00;">,</span>a<span style="color: #3333ff;">:hover</span><span style="color: #00AA00;">,</span>a<span style="color: #3333ff;">:active</span><span style="color: #00AA00;">,</span>a<span style="color: #3333ff;">:visited</span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#59BAEF</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">white-space</span><span style="color: #00AA00;">:</span><span style="color: #993333;">nowrap</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
a<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">outline</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
a.link<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #993333;">transparent</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">a-bg.png</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #933;">-81px</span> <span style="color: #000000; font-weight: bold;">bottom</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<h3>The Javascript : Mootools</h3>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">window.<span style="color: #660066;">addEvent</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'domready'</span><span style="color: #339933;">,</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	$$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'a.link'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">each</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>a<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		a.<span style="color: #660066;">setStyle</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'backgroundPosition'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;-81px &quot;</span><span style="color: #339933;">+</span> <span style="color: #009900;">&#40;</span>a.<span style="color: #660066;">getSize</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">y</span><span style="color: #339933;">-</span><span style="color: #CC0000;">2</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;px&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		a.<span style="color: #660066;">set</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'tween'</span><span style="color: #339933;">,</span><span style="color: #009900;">&#123;</span>duration<span style="color: #339933;">:</span><span style="color: #CC0000;">600</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		a.<span style="color: #660066;">addEvents</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
			<span style="color: #3366CC;">'mouseenter'</span> <span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
				a.<span style="color: #660066;">tween</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'backgroundPosition'</span><span style="color: #339933;">,</span> a.<span style="color: #660066;">getSize</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">x</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;px &quot;</span><span style="color: #339933;">+</span> <span style="color: #009900;">&#40;</span>a.<span style="color: #660066;">getSize</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">y</span><span style="color: #339933;">-</span><span style="color: #CC0000;">2</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;px&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
			<span style="color: #3366CC;">'mouseleave'</span> <span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
				a.<span style="color: #660066;">tween</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'backgroundPosition'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;-81px &quot;</span><span style="color: #339933;">+</span> <span style="color: #009900;">&#40;</span>a.<span style="color: #660066;">getSize</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">y</span><span style="color: #339933;">-</span><span style="color: #CC0000;">2</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;px&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #009900;">&#125;</span>
		<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>
	<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span></pre></div></div>

<h3>The Javascript : jQuery</h3>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
    $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'a.link'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'backgroundPosition'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;-81px &quot;</span><span style="color: #339933;">+</span> <span style="color: #009900;">&#40;</span>$<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">outerHeight</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-</span><span style="color: #CC0000;">2</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;px&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'a.link'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">bind</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'mouseenter'</span><span style="color: #339933;">,</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>e<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
        <span style="color: #003366; font-weight: bold;">var</span> a <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        a.<span style="color: #660066;">animate</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">'backgroundPosition'</span><span style="color: #339933;">:</span> a.<span style="color: #660066;">outerWidth</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;px &quot;</span><span style="color: #339933;">+</span> <span style="color: #009900;">&#40;</span>a.<span style="color: #660066;">outerHeight</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-</span><span style="color: #CC0000;">2</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;px&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span><span style="color: #CC0000;">600</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'a.link'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">bind</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'mouseleave'</span><span style="color: #339933;">,</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>e<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
        <span style="color: #003366; font-weight: bold;">var</span> a <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>
        a.<span style="color: #660066;">animate</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">'backgroundPosition'</span><span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;-81px &quot;</span><span style="color: #339933;">+</span> <span style="color: #009900;">&#40;</span>a.<span style="color: #660066;">outerHeight</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-</span><span style="color: #CC0000;">2</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;px&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span><span style="color: #CC0000;">600</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span></pre></div></div>

<h3>Image Used</h3>
<p><a href="/static/hyperlink/a-bg.png" target="_blank"><img style="border:none;padding:0px" src="/static/hyperlink/a-bg.png" alt="" /></a></p>
<p>This effect is just a demo of the possibilities. I would love to here your own implementations.</p>


<p>Related posts:<ol><li><a href='http://www.nitinh.com/2009/11/another-beautiful-thumbnail-hover-effect-using-mootools/' rel='bookmark' title='Permanent Link: Another Beautiful Thumbnail Hover Effect : Using Mootools'>Another Beautiful Thumbnail Hover Effect : Using Mootools</a></li>
<li><a href='http://www.nitinh.com/2009/10/beautiful-thumbnail-hover-effect-using-mootools/' rel='bookmark' title='Permanent Link: Beautiful Thumbnail Hover Effect : Using Mootools'>Beautiful Thumbnail Hover Effect : Using Mootools</a></li>
<li><a href='http://www.nitinh.com/2010/03/how-to-create-a-simple-slideshow-using-mootools-jquery/' rel='bookmark' title='Permanent Link: How to Create a Simple Slideshow using Mootools / JQuery'>How to Create a Simple Slideshow using Mootools / JQuery</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.nitinh.com/2009/10/make-your-links-hyperlinks-even-more-sexier/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
		<item>
		<title>Beautiful and Simple Buttons with CSS</title>
		<link>http://www.nitinh.com/2009/10/beautiful-and-simple-buttons-with-css/</link>
		<comments>http://www.nitinh.com/2009/10/beautiful-and-simple-buttons-with-css/#comments</comments>
		<pubDate>Sun, 11 Oct 2009 15:11:13 +0000</pubDate>
		<dc:creator>nitin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Beautiful]]></category>
		<category><![CDATA[Button]]></category>
		<category><![CDATA[hover]]></category>
		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://www.nitinh.com/?p=300</guid>
		<description><![CDATA[TweetShareI have always been fond of CSS wonders. Although We all have seen lots of buttons using CSS, using JS, but today I am bringing you a fresh implementation of buttons. The real beauty of these buttons are in its background images. In this tutorial I have also included the photoshop(psd) file used in creation [...]


Related posts:<ol><li><a href='http://www.nitinh.com/2009/11/another-beautiful-thumbnail-hover-effect-using-mootools/' rel='bookmark' title='Permanent Link: Another Beautiful Thumbnail Hover Effect : Using Mootools'>Another Beautiful Thumbnail Hover Effect : Using Mootools</a></li>
<li><a href='http://www.nitinh.com/2010/03/how-to-create-a-simple-slideshow-using-mootools-jquery/' rel='bookmark' title='Permanent Link: How to Create a Simple Slideshow using Mootools / JQuery'>How to Create a Simple Slideshow using Mootools / JQuery</a></li>
<li><a href='http://www.nitinh.com/2009/10/beautiful-thumbnail-hover-effect-using-mootools/' rel='bookmark' title='Permanent Link: Beautiful Thumbnail Hover Effect : Using Mootools'>Beautiful Thumbnail Hover Effect : Using Mootools</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:left;"><div class="socialize-in-button-left"><a href="http://twitter.com/share" class="twitter-share-button" data-count="vertical" data-via="socializeWP" data-url="http://www.nitinh.com/2009/10/beautiful-and-simple-buttons-with-css/">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="socialize-in-button-left"><a name="fb_share" type="box_count" share_url="http://www.nitinh.com/2009/10/beautiful-and-simple-buttons-with-css/" href="http://www.facebook.com/sharer.php">Share</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script></div></div><p><img class="alignleft" style="margin: 0 10px 10px 0;" title="CSS Buttons" src="http://imgur.com/cd0eU.jpg" alt="" width="150" height="120" />I have always been fond of CSS wonders. Although We all have seen lots of buttons using CSS, using JS, but today I am bringing you a fresh implementation of buttons.</p>
<p>The real beauty of these buttons are in its background images. In this tutorial I have also included the photoshop(psd) file used in creation of these buttons, so feel free to come up with your own imagination.<br />
<span id="more-300"></span><br />
<img src="http://imgur.com/qbaZa.jpg" /></p>
<p>Since I wanted these buttons to be flexible, I have made the background image expand with the size of the button's text. For that, I have used the beloved <a href="http://alistapart.com/articles/slidingdoors/" target="_blank"><em>sliding doors</em> technique</a>; two complementing images creating the illusion of a single, stretching image.</p>
<p>Lets head on to the real implementation of these buttons.</p>
<h3>HTML</h3>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'button'</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'#'</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">span</span>&gt;</span>Hello World<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">span</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span></pre></div></div>

<h3>CSS</h3>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">a<span style="color: #3333ff;">:link</span><span style="color: #6666ff;">.button</span><span style="color: #00AA00;">,</span> a<span style="color: #3333ff;">:visited</span><span style="color: #6666ff;">.button</span><span style="color: #00AA00;">,</span> a<span style="color: #3333ff;">:hover</span><span style="color: #6666ff;">.button</span> <span style="color: #00AA00;">,</span> a<span style="color: #3333ff;">:active</span>.button<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">btn-l.png</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #3333ff;">:Arial</span><span style="color: #00AA00;">,</span> Helvetica<span style="color: #00AA00;">,</span> <span style="color: #993333;">sans-serif</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span><span style="color: #933;">17px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #00AA00;">:</span><span style="color: #993333;">bold</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding-left</span><span style="color: #00AA00;">:</span><span style="color: #933;">13px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#969696</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">outline</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #933;">20px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
a<span style="color: #3333ff;">:hover</span>.button<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #933;">-45px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#0D4289</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
a<span style="color: #3333ff;">:active</span>.button<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #933;">-91px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#00306F</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
a<span style="color: #3333ff;">:hover</span><span style="color: #6666ff;">.button</span> span<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">right</span> <span style="color: #933;">-45px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#0D4289</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
a<span style="color: #3333ff;">:active</span><span style="color: #6666ff;">.button</span> span<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">right</span> <span style="color: #933;">-91px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#00306F</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
a<span style="color: #6666ff;">.button</span> span<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span><span style="color: #993333;">center</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span><span style="color: #933;">44px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">btn-r.png</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #000000; font-weight: bold;">right</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>The background images used in these buttons are</p>
<h4>btn-l.jpg</h4>
<p><img style='padding:0px;background-color:#FFF;border:none;' src="/static/button/btn-l.png" /></p>
<h4>btn-r.jpg</h4>
<p><img style='padding:0px;background-color:#FFF;border:none;' src="/static/button/btn-r.png" /></p>
<h3>Demo</h3>
<p>For the demo please click here <a class="button" href="/static/button/index.html" target="_blank">See Buttons in Action</a></p>
<h3>Download</h3>
<p>You can grab the source file used in these buttons (including PSD) <a href="http://sites.google.com/site/nitinhayaran/button.rar">here</a>.</p>


<p>Related posts:<ol><li><a href='http://www.nitinh.com/2009/11/another-beautiful-thumbnail-hover-effect-using-mootools/' rel='bookmark' title='Permanent Link: Another Beautiful Thumbnail Hover Effect : Using Mootools'>Another Beautiful Thumbnail Hover Effect : Using Mootools</a></li>
<li><a href='http://www.nitinh.com/2010/03/how-to-create-a-simple-slideshow-using-mootools-jquery/' rel='bookmark' title='Permanent Link: How to Create a Simple Slideshow using Mootools / JQuery'>How to Create a Simple Slideshow using Mootools / JQuery</a></li>
<li><a href='http://www.nitinh.com/2009/10/beautiful-thumbnail-hover-effect-using-mootools/' rel='bookmark' title='Permanent Link: Beautiful Thumbnail Hover Effect : Using Mootools'>Beautiful Thumbnail Hover Effect : Using Mootools</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.nitinh.com/2009/10/beautiful-and-simple-buttons-with-css/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Beautiful Thumbnail Hover Effect : Using Mootools</title>
		<link>http://www.nitinh.com/2009/10/beautiful-thumbnail-hover-effect-using-mootools/</link>
		<comments>http://www.nitinh.com/2009/10/beautiful-thumbnail-hover-effect-using-mootools/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 07:37:56 +0000</pubDate>
		<dc:creator>nitin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Effect]]></category>
		<category><![CDATA[hover]]></category>
		<category><![CDATA[mootools]]></category>
		<category><![CDATA[Thumbnail]]></category>

		<guid isPermaLink="false">http://www.nitinh.com/?p=254</guid>
		<description><![CDATA[TweetShare Thumbnails of photos is very common part of any website. We have seen a lot of innovation and beautiful representation of thumbnails. Recently I came across a beautiful hover effect on thumbnails. Without saying much first see what is this effect. View Demo The Implementation of this effect is given in the following sections. [...]


Related posts:<ol><li><a href='http://www.nitinh.com/2009/11/another-beautiful-thumbnail-hover-effect-using-mootools/' rel='bookmark' title='Permanent Link: Another Beautiful Thumbnail Hover Effect : Using Mootools'>Another Beautiful Thumbnail Hover Effect : Using Mootools</a></li>
<li><a href='http://www.nitinh.com/2010/03/how-to-create-a-simple-slideshow-using-mootools-jquery/' rel='bookmark' title='Permanent Link: How to Create a Simple Slideshow using Mootools / JQuery'>How to Create a Simple Slideshow using Mootools / JQuery</a></li>
<li><a href='http://www.nitinh.com/2009/10/make-your-links-hyperlinks-even-more-sexier/' rel='bookmark' title='Permanent Link: Make Your Links (Hyperlinks) Even More Sexier'>Make Your Links (Hyperlinks) Even More Sexier</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:left;"><div class="socialize-in-button-left"><a href="http://twitter.com/share" class="twitter-share-button" data-count="vertical" data-via="socializeWP" data-url="http://www.nitinh.com/2009/10/beautiful-thumbnail-hover-effect-using-mootools/">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="socialize-in-button-left"><a name="fb_share" type="box_count" share_url="http://www.nitinh.com/2009/10/beautiful-thumbnail-hover-effect-using-mootools/" href="http://www.facebook.com/sharer.php">Share</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script></div></div><p><img class="imgThumb alignleft" style="margin: 0 10px 10px 0;" title="Thumbnail Effect" src="http://imgur.com/Tbjux.jpg" alt="Thumbnail Effect" width="140" height="140" /> Thumbnails of photos is very common part of any website. We have seen a lot of innovation and beautiful representation of thumbnails. Recently I came across a beautiful hover effect on thumbnails. Without saying much first see what is this effect.</p>
<p><span id="more-254"></span></p>
<p><a class="button" href="/static/Thumbnails/index.html">View Demo</a></p>
<div style='clear:both;float:none'></div>
<p><img class="imgThumb" title="Thumbnail Effect" src="http://imgur.com/ikWew.jpg" alt="Thumbnail Effect" width="400" height="253" /></p>
<p>The Implementation of this effect is given in the following sections.</p>
<h3>The HTML</h3>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;thumbnail-wrap&quot;</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;thumbnail-div&quot;</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">style</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;background-image: url(5_thumb.jpg);&quot;</span>&gt;</span>
   <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;thumbnail-shadow&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;thumbnail-shadow.png&quot;</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;bottom&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;sections-overlay&quot;</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;imagezoom&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;5.jpg&quot;</span>&gt;</span>
     <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;zoom&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;zoom.png&quot;</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Some Title of the Image 5&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;readmore&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>read more <span style="color: #ddbb00;">&amp;gt;&amp;gt;</span><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span></pre></div></div>

<p>I think the code here is self explanatory.</p>
<h3>The CSS</h3>
<p>The CSS for the effect is a bit lengthy, as lots of hidden elements are involved.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.thumbnail-wrap</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">151px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #933;">30px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">151px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.thumbnail-div</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background-color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#313131</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">146px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">5px</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">146px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.thumbnail-shadow</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">33px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">100%</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.thumbnail-div</span> <span style="color: #6666ff;">.sections-overlay</span> <span style="color: #00AA00;">&#123;</span>
	-moz-background-<span style="color: #000000; font-weight: bold;">clip</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">;</span>
	-moz-background-inline-policy<span style="color: #00AA00;">:</span><span style="color: #993333;">continuous</span><span style="color: #00AA00;">;</span>
	-moz-background-origin<span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #993333;">transparent</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">thumbnail-overlay.png</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #993333;">scroll</span> <span style="color: #933;">-40px</span> <span style="color: #933;">-300px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin-top</span><span style="color: #00AA00;">:</span><span style="color: #933;">-33px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.thumbnail-div</span> div<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">141px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">141px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.sections-overlay</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background-image</span><span style="color: #00AA00;">:</span><span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">readmore-bg.png</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
	opacity<span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">visibility</span><span style="color: #00AA00;">:</span><span style="color: #993333;">hidden</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0px</span> <span style="color: #933;">-167px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.thumbnail-div</span> <span style="color: #6666ff;">.sections-overlay</span> <span style="color: #6666ff;">.zoom</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #933;">60px</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">61px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.sections-overlay</span> <span style="color: #6666ff;">.zoom</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #993333;">medium</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #933;">165px</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">312px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.readmore</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background-image</span><span style="color: #00AA00;">:</span><span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">readmore-bg.png</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#FFFFFF</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">right</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span><span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #933;">17px</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">40px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">5px</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<h3>The Javascript : Mootools</h3>
<p>And Finally the magic of Mootools to get the desired effect. All this effect is doing to decrease the margin-top of "thumbnail-div" by 10px and showing "sections-overlay" div using opacity:1.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'div.thumbnail-div'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">each</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>div<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
  div.<span style="color: #660066;">addEvents</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
    <span style="color: #3366CC;">'mouseover'</span><span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
      $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">tween</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'marginTop'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'-10px'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">getElements</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'div.sections-overlay'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">each</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>d<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
        d.<span style="color: #660066;">morph</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>opacity<span style="color: #339933;">:</span> <span style="color: #CC0000;">1</span><span style="color: #339933;">,</span> backgroundPosition<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;-40px 0px&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
    <span style="color: #3366CC;">'mouseout'</span><span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
      $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">tween</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'marginTop'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'0px'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">getElements</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'div.sections-overlay'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">each</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>d<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
        d.<span style="color: #660066;">morph</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>opacity<span style="color: #339933;">:</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">,</span> backgroundPosition<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;0px -167px&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
  <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Doing just this we'll get such an amazing effect on Thumbnails. This effect is just a demo of the possibilities. One can use the same technique to show the Title of the Image or RunTime and Title of Video Thumbnail.</p>
<p><strong>The whole code is available for download :</strong></p>
<p><a class="button" href="http://nitinhayaran.googlepages.com/Thumbnails.zip">Download Thumbnail.zip</a></p>
<p>Hope you guys will like it. Let me hear new implementation through comments.</p>


<p>Related posts:<ol><li><a href='http://www.nitinh.com/2009/11/another-beautiful-thumbnail-hover-effect-using-mootools/' rel='bookmark' title='Permanent Link: Another Beautiful Thumbnail Hover Effect : Using Mootools'>Another Beautiful Thumbnail Hover Effect : Using Mootools</a></li>
<li><a href='http://www.nitinh.com/2010/03/how-to-create-a-simple-slideshow-using-mootools-jquery/' rel='bookmark' title='Permanent Link: How to Create a Simple Slideshow using Mootools / JQuery'>How to Create a Simple Slideshow using Mootools / JQuery</a></li>
<li><a href='http://www.nitinh.com/2009/10/make-your-links-hyperlinks-even-more-sexier/' rel='bookmark' title='Permanent Link: Make Your Links (Hyperlinks) Even More Sexier'>Make Your Links (Hyperlinks) Even More Sexier</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.nitinh.com/2009/10/beautiful-thumbnail-hover-effect-using-mootools/feed/</wfw:commentRss>
		<slash:comments>42</slash:comments>
		</item>
		<item>
		<title>Optimize CSS : Tips to optimise css files</title>
		<link>http://www.nitinh.com/2009/03/optimize-css-tips-to-optimise-css-files/</link>
		<comments>http://www.nitinh.com/2009/03/optimize-css-tips-to-optimise-css-files/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 08:47:47 +0000</pubDate>
		<dc:creator>nitin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[optimization]]></category>
		<category><![CDATA[optimize]]></category>

		<guid isPermaLink="false">http://www.nitinh.com/?p=100</guid>
		<description><![CDATA[TweetShareFor increasing performance of any website, the size of CSS / JS files should be as minimum as possible. To decrease the size CSS files following techniques must be used. Structure your CSS and HTML elegantly You must use cascading power of CSS in you html/css code. For eg. Code like this could be written [...]


Related posts:<ol><li><a href='http://www.nitinh.com/2009/03/compress-css-jsjavascript-files-using-php/' rel='bookmark' title='Permanent Link: Compress CSS / JS(Javascript) files Using PHP'>Compress CSS / JS(Javascript) files Using PHP</a></li>
<li><a href='http://www.nitinh.com/2010/01/drop-shadow-in-images-no-extra-markup/' rel='bookmark' title='Permanent Link: Drop Shadow in Images : No extra markup'>Drop Shadow in Images : No extra markup</a></li>
<li><a href='http://www.nitinh.com/2009/10/beautiful-and-simple-buttons-with-css/' rel='bookmark' title='Permanent Link: Beautiful and Simple Buttons with CSS'>Beautiful and Simple Buttons with CSS</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:left;"><div class="socialize-in-button-left"><a href="http://twitter.com/share" class="twitter-share-button" data-count="vertical" data-via="socializeWP" data-url="http://www.nitinh.com/2009/03/optimize-css-tips-to-optimise-css-files/">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="socialize-in-button-left"><a name="fb_share" type="box_count" share_url="http://www.nitinh.com/2009/03/optimize-css-tips-to-optimise-css-files/" href="http://www.facebook.com/sharer.php">Share</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script></div></div><p>For increasing performance of any website, the size of CSS / JS files should be as minimum as possible. To decrease the size CSS files following techniques must be used.</p>
<p><span id="more-100"></span></p>
<h4>Structure your CSS and HTML elegantly</h4>
<p>You must use cascading power of CSS in you html/css code.<br />
For eg. Code like this could be written as </p>
<pre class='brush: html'>
	&lt;p class="someClass">First&lt;/p>
	&lt;p class="someClass">Second&lt;/p>
	&lt;p class="someClass">Third&lt;/p>
	&lt;p class="someClass">Forth&lt;/p>
	&lt;p class="someClass">Fifth&lt;/p>
</pre>
<p>Should be written as </p>
<pre class='brush: html'>
&lt;div class='someClass'>
	&lt;p>First&lt;/p>
	&lt;p>Second&lt;/p>
	&lt;p>Third&lt;/p>
	&lt;p>Forth&lt;/p>
	&lt;p>Fifth&lt;/p>
&lt;/div>
</pre>
<p>This is just an example, these type of technique could be used in your html/css files to optimize your code.</p>
<h4>Use CSS Shorthand Rules</h4>
<p>When I was still learning CSS, I found shorthand rules to be quite daunting and confusing at times. But I strived to learn the shorthand syntax for every rule simply because I am lazy and do not want to bother typing the same thing over and over not to mention having to memorize all the rule names.</p>
<p>Compare the example longhand its equivalent shorthand below.</p>
<pre class='brush: css'>
#someid {
	background-attachment: fixed;
	background-color: #000000;
	background-image: url(images/image.png);
	background-repeat: no-repeat;
	background-position: left bottom;
}
</pre>
<p>Shorthand version:</p>
<pre class='brush: css'>
#someid { background: #000 url(images/image.png) no-repeat fixed left bottom; }
</pre>
<h4>Optimize Your CSS</h4>
<p><b>Use <a href="http://www.cssoptimiser.com/">CSS Optimiser</a></b>. For very large CSS files it is a quick and easy way to rewrite things that may otherwise prove too time-consuming to optimize manually.</p>
<h4>Server-side Compression</h4>
<p>Server-side compression techniques have long been put to use by large scale applications for two main reasons. First, bandwidth is precious and expensive. Second, it does not require having to modify code for it to work. What it does require, however, is supported server software (or hardware). Hence the term “server-side”.<br />
One such solution can easily be deployed on Apache servers. Once again SitePoint has written an introduction to server-side <a href="http://www.sitepoint.com/article/web-output-mod_gzip-apache/">compression using Apache and mod_gzip</a>.<br />
<BR><BR></p>


<p>Related posts:<ol><li><a href='http://www.nitinh.com/2009/03/compress-css-jsjavascript-files-using-php/' rel='bookmark' title='Permanent Link: Compress CSS / JS(Javascript) files Using PHP'>Compress CSS / JS(Javascript) files Using PHP</a></li>
<li><a href='http://www.nitinh.com/2010/01/drop-shadow-in-images-no-extra-markup/' rel='bookmark' title='Permanent Link: Drop Shadow in Images : No extra markup'>Drop Shadow in Images : No extra markup</a></li>
<li><a href='http://www.nitinh.com/2009/10/beautiful-and-simple-buttons-with-css/' rel='bookmark' title='Permanent Link: Beautiful and Simple Buttons with CSS'>Beautiful and Simple Buttons with CSS</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.nitinh.com/2009/03/optimize-css-tips-to-optimise-css-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
