<?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>Web Developer Geeks &#187; Jquery</title>
	<atom:link href="http://webdevelopergeeks.com/category/web-development/jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://webdevelopergeeks.com</link>
	<description>Just Go Mad About Development</description>
	<lastBuildDate>Thu, 28 Mar 2013 09:27:34 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>SUPER 7 JQUERY MODAL DIALOGS</title>
		<link>http://webdevelopergeeks.com/web-development/jquery/super-7-jquery-modal-dialogs/</link>
		<comments>http://webdevelopergeeks.com/web-development/jquery/super-7-jquery-modal-dialogs/#comments</comments>
		<pubDate>Thu, 08 Nov 2012 09:36:24 +0000</pubDate>
		<dc:creator>Vrushank</dc:creator>
				<category><![CDATA[Jquery]]></category>
		<category><![CDATA[close jquery dialog]]></category>
		<category><![CDATA[create a modal dialog using css and javascript]]></category>
		<category><![CDATA[css modal dialog]]></category>
		<category><![CDATA[dialog close jquery]]></category>
		<category><![CDATA[easy modal window]]></category>
		<category><![CDATA[javascript modal dialog window]]></category>
		<category><![CDATA[javascript modal dialogs]]></category>
		<category><![CDATA[jquery close modal]]></category>
		<category><![CDATA[jquery close modal window]]></category>
		<category><![CDATA[jquery create modal]]></category>
		<category><![CDATA[jquery create modal overlay]]></category>
		<category><![CDATA[jquery developer]]></category>
		<category><![CDATA[jquery dialog div]]></category>
		<category><![CDATA[jquery dialog location]]></category>
		<category><![CDATA[jquery dialog modal]]></category>
		<category><![CDATA[jquery dialog modal background]]></category>
		<category><![CDATA[jquery dialog modal example]]></category>
		<category><![CDATA[jquery dialog modal opacity]]></category>
		<category><![CDATA[jquery dialog modal overlay]]></category>
		<category><![CDATA[jquery dialog on close]]></category>
		<category><![CDATA[jquery dialog plugins]]></category>
		<category><![CDATA[jquery dialog prompt]]></category>
		<category><![CDATA[jquery dialog transparent]]></category>
		<category><![CDATA[jquery framework]]></category>
		<category><![CDATA[jquery help dialog]]></category>
		<category><![CDATA[jquery interface demo]]></category>
		<category><![CDATA[jquery lightweight modal]]></category>
		<category><![CDATA[jquery mobile modal dialog]]></category>
		<category><![CDATA[jquery modal alert]]></category>
		<category><![CDATA[jquery modal confirmation]]></category>
		<category><![CDATA[jquery modal confirmation dialog]]></category>
		<category><![CDATA[jquery modal content]]></category>
		<category><![CDATA[jquery modal css]]></category>
		<category><![CDATA[jquery modal dialog]]></category>
		<category><![CDATA[jquery modal dialog ajax]]></category>
		<category><![CDATA[jquery modal dialog box]]></category>
		<category><![CDATA[jquery modal dialog css]]></category>
		<category><![CDATA[jquery modal dialog demo]]></category>
		<category><![CDATA[jquery modal dialog example]]></category>
		<category><![CDATA[jquery modal dialog examples]]></category>
		<category><![CDATA[jquery modal dialog form]]></category>
		<category><![CDATA[jquery modal dialog iframe]]></category>
		<category><![CDATA[jquery modal dialog plugin]]></category>
		<category><![CDATA[jquery modal dialog tutorial]]></category>
		<category><![CDATA[jquery modal dialog url]]></category>
		<category><![CDATA[jquery modal dialogs]]></category>
		<category><![CDATA[jquery modal dialogue]]></category>
		<category><![CDATA[jquery modal div]]></category>
		<category><![CDATA[jquery modal div popup]]></category>
		<category><![CDATA[jquery modal example]]></category>
		<category><![CDATA[jquery modal form]]></category>
		<category><![CDATA[jquery modal input]]></category>
		<category><![CDATA[jquery modal message]]></category>
		<category><![CDATA[jquery modal message example]]></category>
		<category><![CDATA[jquery modal options]]></category>
		<category><![CDATA[jquery modal overlay example]]></category>
		<category><![CDATA[jquery modal plugins]]></category>
		<category><![CDATA[jquery modal popup]]></category>
		<category><![CDATA[jquery modal popup form]]></category>
		<category><![CDATA[jquery modal popup window]]></category>
		<category><![CDATA[jquery modal simple]]></category>
		<category><![CDATA[jquery modal window]]></category>
		<category><![CDATA[jquery modal window close]]></category>
		<category><![CDATA[jquery modal window example]]></category>
		<category><![CDATA[jquery modal window iframe]]></category>
		<category><![CDATA[jquery modal window plugin]]></category>
		<category><![CDATA[jquery modal window popup]]></category>
		<category><![CDATA[jquery modal window url]]></category>
		<category><![CDATA[jquery modal windows]]></category>
		<category><![CDATA[jquery modeless dialog]]></category>
		<category><![CDATA[jquery open modal dialog]]></category>
		<category><![CDATA[jquery overlay modal]]></category>
		<category><![CDATA[jquery plugin dialog]]></category>
		<category><![CDATA[jquery popup dialog example]]></category>
		<category><![CDATA[jquery show modal dialog]]></category>
		<category><![CDATA[jquery showmodaldialog]]></category>
		<category><![CDATA[jquery simple modal dialog]]></category>
		<category><![CDATA[jquery ui dialog modal]]></category>
		<category><![CDATA[jquery ui dialog overlay]]></category>
		<category><![CDATA[jquery ui modal close]]></category>
		<category><![CDATA[jquery ui modal dialog]]></category>
		<category><![CDATA[jquery user interface]]></category>
		<category><![CDATA[lightbox for jquery]]></category>
		<category><![CDATA[lightbox jquery]]></category>
		<category><![CDATA[lightweight jquery modal]]></category>
		<category><![CDATA[modal dialog box jquery]]></category>
		<category><![CDATA[modal dialog javascript example]]></category>
		<category><![CDATA[modal dialog jquery]]></category>
		<category><![CDATA[modal dialog plugin]]></category>
		<category><![CDATA[modal dialogs jquery]]></category>
		<category><![CDATA[modal jquery dialog]]></category>
		<category><![CDATA[modal window code]]></category>
		<category><![CDATA[open modal window jquery]]></category>
		<category><![CDATA[position jquery dialog]]></category>
		<category><![CDATA[simple jquery modal popup]]></category>
		<category><![CDATA[simple modal dialog jquery]]></category>
		<category><![CDATA[simple overlay jquery]]></category>
		<category><![CDATA[user interface design]]></category>
		<category><![CDATA[user interface designer]]></category>
		<category><![CDATA[using jquery dialog]]></category>
		<category><![CDATA[using jqueryui]]></category>

		<guid isPermaLink="false">http://webdevelopergeeks.com/?p=1577</guid>
		<description><![CDATA[<p>In user interface design, a modal window is a child window that requires users to interact with it before they can return to operating the parent application, thus preventing the workflow on the application main window. Modal windows are often called heavy windows or modal dialogs because the window is often used to display a dialog box. Modal windows are commonly used in GUI systems to command user awareness and to display emergency states. On [...]</p><p>The post <a href="http://webdevelopergeeks.com/web-development/jquery/super-7-jquery-modal-dialogs/">SUPER 7 JQUERY MODAL DIALOGS</a> appeared first on <a href="http://webdevelopergeeks.com">Web Developer Geeks</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>In user interface design, a modal window is a child window that requires users to interact with it before they can return to operating the parent application, thus preventing the workflow on the application main window. Modal windows are often called heavy windows or modal dialogs because the window is often used to display a dialog box.</p>
<p>Modal windows are commonly used in GUI systems to command user awareness and to display emergency states. On the Web, they are often used to show images in detail.</p>
<h3>Use cases</h3>
<p>Frequent uses of modal windows include:</p>
<ul>
<li>Drawing attention to vital pieces of information. This use has been criticised as ineffective because users are bombarded with too many dialog boxes, and habituate to simply clicking &#8220;Close&#8221;, &#8220;Cancel&#8221;, or &#8220;OK&#8221; without reading or understanding the message.</li>
<li>Blocking the application flow until information required to continue is entered, as for example a password in a login process. Another example are file dialogs to open and save files in an application.</li>
<li>Collecting application configuration options in a centralized dialog. In such cases, typically the changes are applied upon closing the dialog, and access to the application is disabled while the edits are being made.</li>
<li>Warning that the effects of the current action are not reversible. This is a frequent interaction pattern for modal dialogs, but it is also criticised by usability experts as being ineffective for its intended use (protection against errors in destructive actions) due to habituation. Actually making the action reversible (providing an &#8220;undo&#8221; option) is recommended instead.</li>
</ul>
<div class="lqm_ad" lqm_publisher="lqm.webdevelopergeeks.site" lqm_zone="ron" lqm_format="336x280"></div>
<h3><a href="http://www.ericmmartin.com/projects/simplemodal/">Simple Modal</a></h3>
<p><a href="http://www.ericmmartin.com/projects/simplemodal/"><img src="http://webdevelopergeeks.com/wp-content/uploads/2012/jquery-dialog/simplemodal.png" alt="simplemodal" width="600"></a></p>
<h3><a href="http://malsup.com/jquery/block/#overview">BlockUIPlugin (v2)</a></h3>
<p><a href="http://malsup.com/jquery/block/#overview"><img src="http://webdevelopergeeks.com/wp-content/uploads/2012/jquery-dialog/blockui.png" alt="blockui"></a></p>
<div class="lqm_ad" lqm_publisher="lqm.webdevelopergeeks.site" lqm_zone="ron" lqm_format="300x250"></div>
<h3><a href="http://fancybox.net/">FancyBox</a></h3>
<p><a href="http://fancybox.net/"><img src="http://webdevelopergeeks.com/wp-content/uploads/2012/jquery-dialog/fancybox.png" alt="fancybox"></a></p>
<h3><a href="http://trentrichardson.com/Impromptu/index.php">jQuery Impromptu</a></h3>
<p><a href="http://trentrichardson.com/Impromptu/index.php"><img src="http://webdevelopergeeks.com/wp-content/uploads/2012/jquery-dialog/impromptu.png" alt="impromptu"></a></p>
<h3><a href="http://www.jacklmoore.com/colorbox">ColorBox </a></h3>
<p><a href="http://www.jacklmoore.com/colorbox"><img src="http://webdevelopergeeks.com/wp-content/uploads/2012/jquery-dialog/colorbox.png" alt="colorbox" width="600"></a></p>
<div class="lqm_ad" lqm_publisher="lqm.webdevelopergeeks.site" lqm_zone="ron" lqm_format="468x60"></div>
<h3><a href="http://onehackoranother.com/projects/jquery/boxy/">Boxy</a></h3>
<p><a href="http://onehackoranother.com/projects/jquery/boxy/"><img src="http://webdevelopergeeks.com/wp-content/uploads/2012/jquery-dialog/boxy.png" alt="boxy"></a></p>
<h3><a href="http://jqueryui.com/dialog/">UI Dialog</a></h3>
<p><a href="http://jqueryui.com/dialog/"><img src="http://webdevelopergeeks.com/wp-content/uploads/2012/jquery-dialog/uidialog.png" alt="uidialog"></a></p>
<p>The post <a href="http://webdevelopergeeks.com/web-development/jquery/super-7-jquery-modal-dialogs/">SUPER 7 JQUERY MODAL DIALOGS</a> appeared first on <a href="http://webdevelopergeeks.com">Web Developer Geeks</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://webdevelopergeeks.com/web-development/jquery/super-7-jquery-modal-dialogs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>20 Beautiful Web Design Using JavaScript Sliders</title>
		<link>http://webdevelopergeeks.com/web-development/jquery/20-beautiful-web-design-using-javascript-sliders/</link>
		<comments>http://webdevelopergeeks.com/web-development/jquery/20-beautiful-web-design-using-javascript-sliders/#comments</comments>
		<pubDate>Tue, 24 Jul 2012 00:00:18 +0000</pubDate>
		<dc:creator>Vrushank</dc:creator>
				<category><![CDATA[Insipration]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Jquery]]></category>
		<category><![CDATA[beautiful javascript sliders]]></category>
		<category><![CDATA[beautiful jquery sliders]]></category>
		<category><![CDATA[beautiful sliders]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[javascript sliders]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[jquery sliders]]></category>
		<category><![CDATA[sliders]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://webdevelopergeeks.com/?p=1480</guid>
		<description><![CDATA[<p>JavaScript sliders, especially jQuery are used a lot in web designing now a days. Various ways are present in which sliders can be utilized and displayed. So today we have a list of 20 websites that use JavaScript sliders amazingly. If you want ideas and inspiration for your own website, then you should definitely check these sites out. These Are Things Elevate Mathieu Clauss The Daily Puma Running Gimme Money, I can do it! Rogwai [...]</p><p>The post <a href="http://webdevelopergeeks.com/web-development/jquery/20-beautiful-web-design-using-javascript-sliders/">20 Beautiful Web Design Using JavaScript Sliders</a> appeared first on <a href="http://webdevelopergeeks.com">Web Developer Geeks</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>JavaScript sliders, especially jQuery are used a lot in web designing now a days. Various ways are present in which sliders can be utilized and displayed. So today we have a list of 20 websites that use JavaScript sliders amazingly. If you want ideas and inspiration for your own website, then you should definitely check these sites out.</p>
<h3>These Are Things</h3>
<p><a href="http://www.thesearethings.com/"><img title="JavaScript Sliders Web Design" src="http://webdevelopergeeks.com/wp-content/uploads/2012/js-sliders/These-Are-Things.jpg" alt="JavaScript Sliders Web Design" width="550" height="312" /></a></p>
<h3>Elevate</h3>
<p><a href="http://www.elevate.co/"><img title="JavaScript Sliders Web Design" src="http://webdevelopergeeks.com/wp-content/uploads/2012/js-sliders/Elevate.jpg" alt="JavaScript Sliders Web Design" width="550" height="345" /></a></p>
<h3>Mathieu Clauss</h3>
<p><a href="http://www.mathieuclauss.com/"><img title="JavaScript Sliders Web Design" src="http://webdevelopergeeks.com/wp-content/uploads/2012/js-sliders/Mathieu-Clauss.jpg" alt="JavaScript Sliders Web Design" width="550" height="331" /></a></p>
<h3>The Daily</h3>
<p><a href="http://www.thedaily.com/"><img title="JavaScript Sliders Web Design" src="http://webdevelopergeeks.com/wp-content/uploads/2012/js-sliders/The-Daily.jpg" alt="JavaScript Sliders Web Design" width="550" height="336" /></a></p>
<h3>Puma Running</h3>
<p><a href="http://www.puma.com/running"><img title="JavaScript Sliders Web Design" src="http://webdevelopergeeks.com/wp-content/uploads/2012/js-sliders/Puma-Running.jpg" alt="JavaScript Sliders Web Design" width="550" height="324" /></a></p>
<h3>Gimme Money, I can do it!</h3>
<p><a href="http://www.gimmemoneyicandoit.com/"><img title="JavaScript Sliders Web Design" src="http://webdevelopergeeks.com/wp-content/uploads/2012/js-sliders/Gimme-Money-I-can-do-it.jpg" alt="JavaScript Sliders Web Design" width="550" height="347" /></a></p>
<p><script type="text/javascript"><!--
google_ad_client = "ca-pub-8574821838084541";
/* 336 X 280 WDG */
google_ad_slot = "9812511961";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<h3>Rogwai</h3>
<p><a href="http://www.rogwai.com/"><img title="JavaScript Sliders Web Design" src="http://webdevelopergeeks.com/wp-content/uploads/2012/js-sliders/Rogwai.jpg" alt="JavaScript Sliders Web Design" width="550" height="326" /></a></p>
<h3>Orange Sprocket</h3>
<p><a href="http://orangesprocket.com/"><img title="JavaScript Sliders Web Design" src="http://webdevelopergeeks.com/wp-content/uploads/2012/js-sliders/Orange-Sprocket.jpg" alt="JavaScript Sliders Web Design" width="550" height="333" /></a></p>
<h3>Brave Nu Digital</h3>
<p><a href="http://bravenudigital.com/"><img title="JavaScript Sliders Web Design" src="http://webdevelopergeeks.com/wp-content/uploads/2012/js-sliders/Brave-Nu-Digital.jpg" alt="JavaScript Sliders Web Design" width="550" height="338" /></a></p>
<h3>Assistly</h3>
<p><a href="http://www.assistly.com/"><img title="JavaScript Sliders Web Design" src="http://webdevelopergeeks.com/wp-content/uploads/2012/js-sliders/Assistly.jpg" alt="JavaScript Sliders Web Design" width="550" height="333" /></a></p>
<p>&nbsp;</p>
<h3>Ecoforms</h3>
<p><a href="http://ecoforms.com/"><img title="JavaScript Sliders Web Design" src="http://webdevelopergeeks.com/wp-content/uploads/2012/js-sliders/Ecoforms.jpg" alt="JavaScript Sliders Web Design" width="550" height="328" /></a></p>
<p>&nbsp;</p>
<h3>Jeremy Church</h3>
<p><a href="http://j.eremy.net/"><img title="JavaScript Sliders Web Design" src="http://webdevelopergeeks.com/wp-content/uploads/2012/js-sliders/Jeremy-Church.jpg" alt="JavaScript Sliders Web Design" width="550" height="337" /></a></p>
<p>&nbsp;</p>
<p><script type="text/javascript"><!--
google_ad_client = "ca-pub-8574821838084541";
/* 468 X 60 WDG */
google_ad_slot = "6328999488";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p>&nbsp;</p>
<h3>Print Mor</h3>
<p><a href="http://www.printmornyc.com/"><img title="JavaScript Sliders Web Design" src="http://webdevelopergeeks.com/wp-content/uploads/2012/js-sliders/Print-Mor.jpg" alt="JavaScript Sliders Web Design" width="550" height="328" /></a></p>
<p>&nbsp;</p>
<h3>David A. Molanphy</h3>
<p><a href="http://www.molanphydesign.com/"><img title="JavaScript Sliders Web Design" src="http://webdevelopergeeks.com/wp-content/uploads/2012/js-sliders/David-A.-Molanphy.jpg" alt="JavaScript Sliders Web Design" width="550" height="333" /></a></p>
<p>&nbsp;</p>
<h3>Tuscarora Tackle</h3>
<p><a href="http://tuscaroratackle.com/"><img title="JavaScript Sliders Web Design" src="http://webdevelopergeeks.com/wp-content/uploads/2012/js-sliders/Tuscarora-Tackle.jpg" alt="JavaScript Sliders Web Design" width="550" height="358" /></a></p>
<p>&nbsp;</p>
<h3>Helms Workshop</h3>
<p><a href="http://www.helmsworkshop.com/"><img title="JavaScript Sliders Web Design" src="http://webdevelopergeeks.com/wp-content/uploads/2012/js-sliders/Helms-Workshop.jpg" alt="JavaScript Sliders Web Design" width="550" height="353" /></a></p>
<p>&nbsp;</p>
<h3>Hugo &amp; Marie</h3>
<p><a href="http://webdevelopergeeks.com/wp-content/uploads/2012/js-sliders/Hugo-Marie.jpg"><img src="http://webdevelopergeeks.com/wp-content/uploads/2012/js-sliders/Hugo-Marie.jpg" alt="" width="550" height="362" /></a></p>
<p>&nbsp;</p>
<div class="lqm_ad" lqm_publisher="lqm.webdevelopergeeks.site" lqm_zone="ron" lqm_format="300x250"></div>
<p>&nbsp;</p>
<h3>Tenthmil</h3>
<p><a href="http://tenthmil.com/"><img title="JavaScript Sliders Web Design" src="http://webdevelopergeeks.com/wp-content/uploads/2012/js-sliders/Tenthmil.jpg" alt="JavaScript Sliders Web Design" width="550" height="327" /></a></p>
<p>&nbsp;</p>
<h3>StruckAxiom</h3>
<p><a href="http://www.struckaxiom.com/"><img title="JavaScript Sliders Web Design" src="http://webdevelopergeeks.com/wp-content/uploads/2012/js-sliders/StruckAxiom.jpg" alt="JavaScript Sliders Web Design" width="550" height="326" /></a></p>
<p>&nbsp;</p>
<h3>Work at Play</h3>
<p><a href="http://www.workatplay.com/"><img title="JavaScript Sliders Web Design" src="http://webdevelopergeeks.com/wp-content/uploads/2012/js-sliders/Work-at-Play.jpg" alt="JavaScript Sliders Web Design" width="550" height="326" /></a></p>
<p>The post <a href="http://webdevelopergeeks.com/web-development/jquery/20-beautiful-web-design-using-javascript-sliders/">20 Beautiful Web Design Using JavaScript Sliders</a> appeared first on <a href="http://webdevelopergeeks.com">Web Developer Geeks</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://webdevelopergeeks.com/web-development/jquery/20-beautiful-web-design-using-javascript-sliders/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EU Cookie Law And Way Not To Break It</title>
		<link>http://webdevelopergeeks.com/web-development/eu-cookie-law-and-way-not-to-break-it/</link>
		<comments>http://webdevelopergeeks.com/web-development/eu-cookie-law-and-way-not-to-break-it/#comments</comments>
		<pubDate>Tue, 22 May 2012 00:00:25 +0000</pubDate>
		<dc:creator>Vrushank</dc:creator>
				<category><![CDATA[Jquery]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[cookie]]></category>
		<category><![CDATA[cookie control]]></category>
		<category><![CDATA[cookie cuttr]]></category>
		<category><![CDATA[cookie law]]></category>
		<category><![CDATA[cprompt]]></category>
		<category><![CDATA[eu]]></category>
		<category><![CDATA[eu cookie]]></category>
		<category><![CDATA[eu cookie law]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[jquery plugins]]></category>
		<category><![CDATA[law]]></category>
		<category><![CDATA[online privacy protection]]></category>

		<guid isPermaLink="false">http://webdevelopergeeks.com/?p=1424</guid>
		<description><![CDATA[<p>Many of us probably heard the EU Cookie Law already and thinking about &#8220;what to do&#8221; and many other might be saying cookie &#8220;what&#8221;? The 26th of May is the final day for websites in Europe to comply with the new EU Cookie Law. This is a new piece of legislation focused on user privacy on the internet and requires webmasters to first ask and obtain consent from visitors if they wish to store or retrieve information about their online behavior. [...]</p><p>The post <a href="http://webdevelopergeeks.com/web-development/eu-cookie-law-and-way-not-to-break-it/">EU Cookie Law And Way Not To Break It</a> appeared first on <a href="http://webdevelopergeeks.com">Web Developer Geeks</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>Many of us probably heard the <strong>EU Cookie Law</strong> already and thinking about &#8220;what to do&#8221; and many other might be saying cookie &#8220;what&#8221;?</p>
<p>The 26<sup>th</sup> of May is the final day for websites in Europe to comply with the new <strong>EU Cookie Law</strong>. This is a new piece of legislation focused on user privacy on the internet and requires webmasters to first ask and obtain consent from visitors if they wish to store or retrieve information about their online behavior. The consent needs to be obtained regardless of the device the data is stored on, including smartphones and tablets.</p>
<p>The directive started as an <strong>online privacy protection</strong> programme one year ago and was <strong>adopted by all EU countries</strong> on the 26<sup>th</sup> of May 2011. The law gave all EU countries a grace period of one year in which they had time to modify legislation and comply with the addition. The main point behind the law was to make customers aware of how the information about them is collected and stored by web pages they visit and while this is a good idea, many concerned voices say the law doesn&#8217;t really do good for internet surfers.</p>
<h2>What&#8217;s a cookie?</h2>
<p>Cookies are the way for web pages all over the world to store information about visiting users. Other newer technologies like Flash and HTML5 Local Storage do the same and while they are covered by the EU Law as well, it was called <em>&#8220;EU Cookie Law&#8221;</em> because most of the information is stored through cookie usage.</p>
<p><script type="text/javascript">// <![CDATA[
 google_ad_client = "ca-pub-8574821838084541"; /* 336 X 280 WDG */ google_ad_slot = "9812511961"; google_ad_width = 336; google_ad_height = 280;
// ]]&gt;</script><br />
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">// <![CDATA[</p>
<p>// ]]&gt;</script></p>
<p>Cookies are not only helpful for the webmasters. Actually, they are more helpful and beneficial to visitors. They are used to track people&#8217;s visits and surfing behaviors on the internet in order to deliver better targeted advertising.</p>
<p>They are also useful for some other kinds of actions. They are the ones helping websites keep the users logged in even after they leave the page. And it helps us by helping them. Visitors don&#8217;t want to log in all the time they visit a page. It would be annoying to log in every time you use Facebook, wouldn&#8217;t it? Also, remembering different settings users wish to use all the time is done through cookie usage as well.</p>
<p><strong>Cookies help webmasters</strong> too, offering them information about the users behaviors on their web pages. Tracking tools such as Google Analytics, which measure site performance, will in most cases use cookies too.</p>
<p><img title="EU Cookie Law" src="http://cdn.designmodo.com/wp-content/uploads/2012/05/EU-Cookie-Law.jpg" alt="EU Cookie Law" width="600" height="450" /></p>
<p>However, the EU Cookie Law mostly focuses on the cookies that track user&#8217;s visited pages to deliver targeted advertising.</p>
<p>To create a general impression for you, we took a look at how many unique cookies some popular websites have.</p>
<ul>
<li>facebook.com: more than 382.000</li>
<li>apps.facebook.com: more than 47.000</li>
<li>dailymail.co.uk: more than 17.000</li>
<li>google.co.uk: more than 12.000</li>
<li>youtube.com: more than 10.500</li>
<li>mail.google.com: more than 8.000</li>
<li>google.com: more than 5.500</li>
<li>imdb.com: more than 4.300</li>
</ul>
<h2>EU Cookie Law for users: Yes or No?</h2>
<p><strong></strong>A survey has been conducted few days ago by the IMRG and eDigitalResearch. The survey was conducted in the UK and came with the following conclusions:</p>
<ul>
<li>75% of UK consumers never heard of the e-Privacy Directive before taking the survey.</li>
<li>After being informed about the law, 89% of the questioned people believed it is a positive step towards online privacy.</li>
<li>79% of the questioned believe something needs to be done in order to inform people about what cookies mean for their online experience and safety.</li>
<li>33% of them believe cookies may be used to virus computers.</li>
<li>Only 23% of the questioned do not object against cookies which improve the user experience, which means 77% are actually against all kinds of cookies.</li>
</ul>
<div class="lqm_ad"></div>
<h3>What to do?</h3>
<p>The Information Commissioner&#8217;s Office (ICO) wrote a <a href="http://www.ico.gov.uk/for_organisations/privacy_and_electronic_communications/the_guide/cookies.aspx" target="_blank">full guide</a> for webmasters who wish to become compliant with the law. The document is long and has to be read from the beginning to the end, but I can make a short summary of it here, just so you get the basic ideas behind what you need to do.</p>
<p>The first step you need to take is to <strong>audit your website for cookies</strong>. You need to find out what kind of cookies your site sends to users. Find out what they are used for and which ones you need to get consent for, because there are some which according to the new law are legal to be used without consent.</p>
<p>To ask for user consent you need to use some tools, but first you need to analyze your website. The ICO recommends a powerful online tool to help you do this. It is called <a href="http://www.cookielaw.org/get-started-with-optanon.aspx" target="_blank">The Optanon Auditor</a> and works as a plug-in for Google Chrome.</p>
<p>The Optanon Auditor tool can be use as a limited software on your domain – but it should be good enough to offer you a preview of what you need to change right away. Don&#8217;t forget you only have a few more days to comply with the rules. According to official reports, companies not complying with the rules can get a fine for up to half a million British Pounds in the UK.</p>
<p>Some other steps you might want to take include creating a link where you explain your users everything about privacy issues and the cookies you use. Some of them might not know what you talk about while some other might not be interested at all. But it would mean a lot for the ones who want to know what they get into when accepting cookies from your page. If you show you have nothing to hide, users will not be afraid to come back to your website.</p>
<p>Explain users what cookies are for and that you do not use them for malefic purposes. Start with the advantages they can get: staying logged in, having their settings remembered and so on. Put focus on them because they are the most important.</p>
<h2>Helpful jQuery Plugins for EU Cookie Law</h2>
<p>There are several jQuery plugins you could use on your website to help you get acceptance from your users.</p>
<p>The first one is called <a href="http://cookiecuttr.com/" target="_blank">CookieCuttr</a> and it is available as a WordPress plugin as well. What the plugin does is simple. It allows you to hide different parts of the website, such as the ones generating cookies, and display modal boxes which ask for permission to use cookies. They also show a &#8220;reset button&#8221; which helps users delete all the cookies for that respective website.</p>
<p><a href="http://webdevelopergeeks.com/wp-content/uploads/2012/05/cookiecuttr.gif"><img class="alignnone size-full wp-image-1425" title="cookiecuttr" src="http://webdevelopergeeks.com/wp-content/uploads/2012/05/cookiecuttr.gif" alt="cookiecuttr" width="480" height="132" /></a></p>
<p><a href="http://civicuk.com/cookie-law/index" target="_blank">Cookie Control</a> enables you to comply with UK and EU law on cookies, in a couple of quick and easy steps. Cookie Control does just that, presenting users with clear information on whether cookies are present, linking to your privacy policy<em> (where you should have specific information about what cookies are in use)</em>, and advising users on how to adjust browser settings and what cookies mean for them.</p>
<p>The second plugin is called <a href="http://michaelwright.me/cPrompt" target="_blank">cPrompt</a> and does the same as the first one, more or less: it displays a notification to visitors asking for them to enable cookies. They can do it by ticking a box and clicking the action button below the text.</p>
<p><a href="http://webdevelopergeeks.com/wp-content/uploads/2012/05/cprompt.jpg"><img class="alignnone size-full wp-image-1426" title="cprompt" src="http://webdevelopergeeks.com/wp-content/uploads/2012/05/cprompt.jpg" alt="" width="480" height="132" /></a></p>
<p>Another useful plugin is called <a href="http://codecanyon.net/item/eu-cookie-law-script/2289206?ref=vrushank" target="_blank">EU Cookie Law Script</a> and is developed by the pro web developers from CodeCanyon. The plugin costs $5 and shows a smooth slide down banner with a fade in bubble where text can be customized and introduced in order for the visitors to get familiar with the issue. If the user agrees, the banner slides away.</p>
<p><script type="text/javascript">// <![CDATA[
 google_ad_client = "ca-pub-8574821838084541"; /* 468 X 60 WDG */ google_ad_slot = "6328999488"; google_ad_width = 468; google_ad_height = 60;
// ]]&gt;</script><br />
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">// <![CDATA[</p>
<p>// ]]&gt;</script></p>
<p>The <a href="http://codecanyon.net/item/jquery-cookie-compliancy/2291351?ref=vrushank" target="_blank">jQuery Cookie Compliancy</a> from CodeCanyon is another helpful tool priced at $5. It provides webmasters a way to allow users to opt-in or out of using cookies. Once the usage of cookies is accepted, the restricted JavaScripts are automatically added and any future page loads will include them. Otherwise the JavaScripts will be disabled for the respective user.</p>
<p><a href="http://silktide.com/cookieconsent" target="_blank">Silktide</a> is the last useful plugin I found. Its advantage is that it comes as an open-source tool. The free plugin is easy to install by only including few lines of code. Users visiting the website will see a message dropping from the top of the screen which will ask them for cookie usage consent.</p>
<h3>Not agreeing?</h3>
<p>If you think the law is not something you can live with, then <a href="http://nocookielaw.com/" target="_blank">this</a> website is made for you. NoCookieLaw was made for people who want to protest against the legislation. The site explains users why the Cookie Law is bad for user experience and allows them to sign a petition to stop the enforcement of the law on websites.</p>
<h3>Conclusion</h3>
<p>With SOPA/PIPA acts taking the spotlights in press all over the world, there is no question about why not many people heard of the EU Cookie Law. Although good intentioned, the law does not do so much good in the end and can confuse users and put European companies in disadvantage, according to NoCookieLaw.</p>
<p>Now I am not the one to judge. Yes, online privacy is an important issue that needed to be addressed. But is the European Cookie Law the perfect answer to a question that has been asked too many times? I will let you decide on that. What do you think?<br />
I have been able to put forward such a nice post due to designmodo&#8217;s information on this law.<br />
Source: <a href="http://designmodo.com/eu-cookie-law/#ixzz1vUWjnfmD">http://designmodo.com/eu-cookie-law/#ixzz1vUWjnfmD</a></p>
<p>The post <a href="http://webdevelopergeeks.com/web-development/eu-cookie-law-and-way-not-to-break-it/">EU Cookie Law And Way Not To Break It</a> appeared first on <a href="http://webdevelopergeeks.com">Web Developer Geeks</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://webdevelopergeeks.com/web-development/eu-cookie-law-and-way-not-to-break-it/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>jqFloat.js Floating elements with jQuery</title>
		<link>http://webdevelopergeeks.com/web-development/open-source/jqfloat-js-floating-elements-with-jquery/</link>
		<comments>http://webdevelopergeeks.com/web-development/open-source/jqfloat-js-floating-elements-with-jquery/#comments</comments>
		<pubDate>Thu, 26 Apr 2012 09:47:12 +0000</pubDate>
		<dc:creator>Vrushank</dc:creator>
				<category><![CDATA[Jquery]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[effect]]></category>
		<category><![CDATA[elements]]></category>
		<category><![CDATA[float]]></category>
		<category><![CDATA[floating elements]]></category>
		<category><![CDATA[jqfloat]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[jquery effect]]></category>

		<guid isPermaLink="false">http://webdevelopergeeks.com/?p=1296</guid>
		<description><![CDATA[<p>jqFloat.js is a jQuery plugin that able to make any HTML objects appear to be &#8220;floating&#8221; on your web page. It helps create simple floating animation and make your websites come alive with these little &#8220;floating&#8221; object. Have fun with Floating Demo    Download You can have several &#8220;floating&#8221; objects with different attributes within your web page. Also, you might make these floated objects &#8220;landing&#8221; through plugin&#8217;s method, and vice versa of course. See below for more [...]</p><p>The post <a href="http://webdevelopergeeks.com/web-development/open-source/jqfloat-js-floating-elements-with-jquery/">jqFloat.js Floating elements with jQuery</a> appeared first on <a href="http://webdevelopergeeks.com">Web Developer Geeks</a>.</p>]]></description>
				<content:encoded><![CDATA[<p><strong>jqFloat.js</strong> is a jQuery plugin that able to make any HTML objects appear to be &#8220;<em>floating</em>&#8221; on your web page. It helps create simple floating animation and make your websites come alive with these little &#8220;<em>floating</em>&#8221; object. Have fun with <strong>Floating</strong></p>
<p><center><a href="http://webdevelopergeeks.com/wp-content/uploads/2012/04/jqfloat-jquery-plugin.png"><img class="alignnone size-full wp-image-1297" title="jqfloat-jquery-plugin" src="http://webdevelopergeeks.com/wp-content/uploads/2012/04/jqfloat-jquery-plugin.png" alt="" width="550" height="350" /></a><br />
<a class="button" href="http://www.inwebson.com/demo/jqfloat/" target="_blank">Demo</a>    <a class="button" href="http://webdevelopergeeks.com/download.php?f=jqfloat.zip" target="_blank">Download</a></center></p>
<p>You can have several &#8220;floating&#8221; objects with different attributes within your web page. Also, you might make these floated objects &#8220;landing&#8221; through plugin&#8217;s method, and vice versa of course. See below for more details about this.</p>
<h2>How It Works</h2>
<hr />
<p><strong>jqFloat.js</strong> uses  jQuery <code>.animate()</code> method with infinity loop to animate object&#8217;s to different positions, thus it make the object appears to be floating on the web page. Beside, it uses jQuery <code>.data()</code> method to store and keep track of each object&#8217;s attributes and status.</p>
<p><strong>jqFloat.js</strong> works well in corss-browsers: IE6 and above, Firefox and Webkit browsers.</p>
<p>&nbsp;</p>
<h2>How to Use</h2>
<hr />
<p>1. First, of course, you need to include <strong>jQuery</strong> and <strong>jqFloat.js</strong> script files inside <code>&lt;head&gt;</code> tag.</p>
<pre class="php"></pre>
<p>It should work well with jQuery 1.7.1 (haven&#8217;t tested for lower version). </p>
<p>2. Next, you can make your HTML objects &#8220;floating&#8221; by calling <code>.jqFloat()</code> function on jQuery object like this:</p>
<pre class="php" name="code">
$(document).ready(function() {
	$('object').jqFloat();
});
</pre>
<p>Well, try define own floating setting rather than using default value. Refer to configuration section for more detail.</p>
<p>3. Enjoy <strong>Floating ~</strong>!!!</p>
<p>&nbsp;<br />
<script type="text/javascript"><!--
google_ad_client = "ca-pub-8574821838084541";
/* 250 x 250 WDG */
google_ad_slot = "8534538556";
google_ad_width = 250;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
&nbsp;</p>
<h2>Configuration:</h2>
<hr />
<h3>.jqFloat( [Method] [, Options] )</h3>
<p>Method: Used to control floating object.<br />
Options: An array to configure floating animation.</p>
<hr />
<p>&nbsp;</p>
<h2>Method:</h2>
<hr />
<p>Currently only two methods available:</p>
<p><strong>Play (or no method specified)</strong><br />
Start floating animation.</p>
<p><strong>Stop</strong><br />
Start landing animation (stop floating animation).</p>
<h3>Options</h3>
<p>There are few options can be used to configure floating animation.</p>
<p><strong>width</strong><br />
<strong><em>Type: Int</em>     <em>Default: 100</em></strong><br />
Maximum horizontal floating area. The value will be divided by 2 and append to object left and right.</p>
<p><strong>height</strong><br />
<strong><em>Type: Int</em>     <em>Default: 100</em></strong><br />
Maximum vertical floating area. The value will be divided by 2 and append to object top and bottom.</p>
<p>&nbsp;</p>
<h2>Example of Configuration</h2>
<hr />
<pre class="php" name="code">
$(document).ready(function() {
	//if no method and options specified
	//start the floating animation with defaults settings
	$('object').jqFloat();
	//if only options specified
	//start the floating animation with specified settings
	$('object').jqFloat({
		width: 300,
		height: 300,
		speed: 100
	});
	//stop the floating animation or
	//start landing animation
	$('object').jFloat('stop');
	//start the floating animation
	$('object').jFloat('play');
});</pre>
<h2>License</h2>
<hr />
<p><strong>jqFloat.js</strong> is licensed under the <a href="http://www.gnu.org/licenses/old-licenses/gpl-2.0.html">GNU General Public License version 2</a> or later. You can do whatever you like to the source code. =)</p>
<p>&nbsp;</p>
<p><a class="button" href="http://www.inwebson.com/demo/jqfloat/" target="_blank">Demo</a>    <a class="button" href="http://webdevelopergeeks.com/download.php?f=jqfloat.zip" target="_blank">Download</a></center></p>
<p>The post <a href="http://webdevelopergeeks.com/web-development/open-source/jqfloat-js-floating-elements-with-jquery/">jqFloat.js Floating elements with jQuery</a> appeared first on <a href="http://webdevelopergeeks.com">Web Developer Geeks</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://webdevelopergeeks.com/web-development/open-source/jqfloat-js-floating-elements-with-jquery/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>18 Useful Cheat Sheets For Web Developers &amp; Designers</title>
		<link>http://webdevelopergeeks.com/design/html5/18-useful-cheat-sheets-for-web-developers-designers/</link>
		<comments>http://webdevelopergeeks.com/design/html5/18-useful-cheat-sheets-for-web-developers-designers/#comments</comments>
		<pubDate>Tue, 22 Nov 2011 07:04:29 +0000</pubDate>
		<dc:creator>Vrushank</dc:creator>
				<category><![CDATA[CSS3]]></category>
		<category><![CDATA[Drupal]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Jquery]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Typography]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[cheat sheets]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[designer]]></category>
		<category><![CDATA[developer]]></category>
		<category><![CDATA[development]]></category>

		<guid isPermaLink="false">http://webdevelopergeeks.com/?p=655</guid>
		<description><![CDATA[<p>Typical cheat-sheets tend to be over-sized documents, far too large to be viewed in its entirety on a desktop and not too handy for the super-fast reference that is needed. To get the full benefit of any cheatsheat, your only real option is to print it out and keep it close at hand. Wouldn’t it be nice if there was an easier way, a quicker way. Of course there is – what good be handier [...]</p><p>The post <a href="http://webdevelopergeeks.com/design/html5/18-useful-cheat-sheets-for-web-developers-designers/">18 Useful Cheat Sheets For Web Developers &#038; Designers</a> appeared first on <a href="http://webdevelopergeeks.com">Web Developer Geeks</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>Typical cheat-sheets tend to be over-sized documents, far too large to be viewed in its entirety on a desktop and not too handy for the super-fast reference that is needed. To get the full benefit of any cheatsheat, your only real option is to print it out and keep it close at hand. Wouldn’t it be nice if there was an easier way, a quicker way. Of course there is – what good be handier than having a cheatsheet set as your desktop wallpaper? Always there for quick reference, no need to print it out and no need to scroll through an over-long document.</p>
<p>Cheat sheets are basically intended for those designers and developers who spend most of their working time in exploring different software environments and for them it is nearly impossible to remember shortcuts for each software environment, and this is the point where a cheap sheet comes in.</p>
<p>Here we’ve rounded up a few very useful cheat sheets wallpapers for web designers and developers in various sizes, covering various technologies, like CSS, HTML5, WordPress, Javascript and many more.</p>
<h3><a href="http://webdevelopergeeks.com/downloads/cheetsheets/wordpress_helpsheet.jpg" target="_blank">WORDPRESS HELP SHEET WALLPAPER</a></h3>
<p><a href="http://webdevelopergeeks.com/downloads/cheetsheets/wordpress_helpsheet.jpg" target="_blank"><img class="alignnone size-full wp-image-656" title="wordpress" src="http://webdevelopergeeks.com/wp-content/uploads/2011/11/wordpress.jpg" alt="wp" width="600" height="375" /></a></p>
<div class="lqm_ad" lqm_publisher="lqm.webdevelopergeeks.site" lqm_zone="ron" lqm_format="468x60"></div>
<p><br/></p>
<h3><a href="http://webdevelopergeeks.com/downloads/cheetsheets/css-cheatsheet.pdf" target="_blank">CSS 2.1 AND CSS 3 HELP CHEAT SHEETS</a></h3>
<p><a href="http://webdevelopergeeks.com/downloads/cheetsheets/css-cheatsheet.pdf" target="_blank"><img class="alignnone size-full wp-image-657" title="css" src="http://webdevelopergeeks.com/wp-content/uploads/2011/11/css.jpg" alt="css" width="600" height="700" /></a></p>
<h3><a href="http://oscarotero.com/jquery" target="_blank">JQUERY CHEAT SHEET WALLPAPER</a></h3>
<p><a href="http://oscarotero.com/jquery" target="_blank"><img class="alignnone size-full wp-image-658" title="jquery" src="http://webdevelopergeeks.com/wp-content/uploads/2011/11/jquery.jpg" alt="jquery" width="600" height="500" /></a></p>
<h3><a href="http://webdevelopergeeks.com/downloads/cheetsheets/drupal.png" target="_blank">DRUPAL CHEAT SHEET DESKTOP WALLPAPER</a></h3>
<p><a href="http://webdevelopergeeks.com/downloads/cheetsheets/drupal.png" target="_blank"><img class="alignnone size-full wp-image-659" title="drupal" src="http://webdevelopergeeks.com/wp-content/uploads/2011/11/drupal.jpg" alt="dru[al" width="600" height="375" /></a></p>
<h3><a href="http://webdevelopergeeks.com/downloads/cheetsheets/HTML5_Canvas_Cheat_Sheet.png" target="_blank">HTML5 CANVAS CHEAT SHEET</a></h3>
<p><a href="http://webdevelopergeeks.com/downloads/cheetsheets/HTML5_Canvas_Cheat_Sheet.png" target="_blank"><img class="alignnone size-full wp-image-660" title="HTML5-canvas" src="http://webdevelopergeeks.com/wp-content/uploads/2011/11/HTML5-canvas.jpg" alt="html5canvas" width="600" height="444" /></a></p>
<h3><a href="http://webdevelopergeeks.com/downloads/cheetsheets/photoshop.jpg" target="_blank">PHOTOSHOP KEYBOARD SHORTCUTS CHEAT SHEET</a></h3>
<p><a href="http://webdevelopergeeks.com/downloads/cheetsheets/photoshop.jpg" target="_blank"><img class="alignnone size-full wp-image-661" title="photoshop" src="http://webdevelopergeeks.com/wp-content/uploads/2011/11/photoshop.jpg" alt="photoshop" width="600" height="505" /></a></p>
<h3><a href="http://webdevelopergeeks.com/downloads/cheetsheets/color-therapy.jpg" target="_blank">COLOR THEORY QUICK REFERENCE POSTER</a></h3>
<p><a href="http://webdevelopergeeks.com/downloads/cheetsheets/color-therapy.jpg" target="_blank"><img class="alignnone size-full wp-image-662" title="color-theory" src="http://webdevelopergeeks.com/wp-content/uploads/2011/11/color-theory.jpg" alt="color" width="600" height="375" /></a><br />
<script type="text/javascript"><!--
google_ad_client = "ca-pub-8574821838084541";
/* 250 x 250 WDG */
google_ad_slot = "8534538556";
google_ad_width = 250;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<h3><a href="http://webdevelopergeeks.com/downloads/cheetsheets/VI-Help-Sheet-01-large2.jpg" target="_blank">VI EDITOR / LINUX TERMINAL CHEAT SHEET</a></h3>
<p><a href="http://webdevelopergeeks.com/downloads/cheetsheets/VI-Help-Sheet-01-large2.jpg" target="_blank"><img class="alignnone size-full wp-image-663" title="vieditor" src="http://webdevelopergeeks.com/wp-content/uploads/2011/11/vieditor.jpg" alt="vieditor" width="600" height="700" /></a></p>
<h3><a href="http://webdevelopergeeks.com/downloads/cheetsheets/textmate_shortcuts_1280.png" target="_blank">TEXTMATE SHORTCUTS WALLPAPER</a></h3>
<p><a href="http://webdevelopergeeks.com/downloads/cheetsheets/textmate_shortcuts_1280.png" target="_blank"><img class="alignnone size-full wp-image-664" title="textmate" src="http://webdevelopergeeks.com/wp-content/uploads/2011/11/textmate.jpg" alt="textmate" width="600" height="419" /></a></p>
<h3><a href="http://webdevelopergeeks.com/downloads/cheetsheets/FontAnatomyWallpaper1920x1200.jpg" target="_blank">THE ANATOMY OF TYPE</a></h3>
<p><a href="http://webdevelopergeeks.com/downloads/cheetsheets/FontAnatomyWallpaper1920x1200.jpg" target="_blank"><img class="alignnone size-full wp-image-665" title="typeface" src="http://webdevelopergeeks.com/wp-content/uploads/2011/11/typeface.jpg" alt="typeface" width="600" height="375" /></a></p>
<h3><a href="http://webdevelopergeeks.com/downloads/cheetsheets/prototype1280.png" target="_blank">PROTOTYPE DISSECTED WALLPAPER</a></h3>
<p><a href="http://webdevelopergeeks.com/downloads/cheetsheets/prototype1280.png" target="_blank"><img class="alignnone size-full wp-image-666" title="prototype" src="http://webdevelopergeeks.com/wp-content/uploads/2011/11/prototype.jpg" alt="prototype" width="600" height="450" /></a></p>
<h3><a href="http://webdevelopergeeks.com/downloads/cheetsheets/Cup_of_Java_by_Neziak.png" target="_blank">CUP OF JAVA WALLPAPER</a></h3>
<p><a href="http://webdevelopergeeks.com/downloads/cheetsheets/Cup_of_Java_by_Neziak.png" target="_blank"><img class="alignnone size-full wp-image-667" title="java" src="http://webdevelopergeeks.com/wp-content/uploads/2011/11/java.jpg" alt="java" width="600" height="450" /></a></p>
<h3><a href="http://www.leebrimelow.com/?p=139" target="_blank">ACTIONSCRIPT 2.0 CHEAT SHEET FLASHPAPER</a></h3>
<p><a href="http://www.leebrimelow.com/?p=139" target="_blank"><img class="alignnone size-full wp-image-668" title="actionscript" src="http://webdevelopergeeks.com/wp-content/uploads/2011/11/actionscript.jpg" alt="actionscript" width="600" height="418" /></a></p>
<h3><a href="http://www.addedbytes.com/cheat-sheets/ruby-on-rails-cheat-sheet/" target="_blank">RUBY ON RAILS CHEAT SHEET</a></h3>
<p><a href="http://www.addedbytes.com/cheat-sheets/ruby-on-rails-cheat-sheet/" target="_blank"><img class="alignnone size-full wp-image-669" title="ruby on rails" src="http://webdevelopergeeks.com/wp-content/uploads/2011/11/ruby-on-rails.jpg" alt="ror" width="600" height="700" /></a></p>
<h3><a href="http://www.addedbytes.com/cheat-sheets/mysql-cheat-sheet/" target="_blank">MYSQL CHEAT SHEET</a></h3>
<p><a href="http://www.addedbytes.com/cheat-sheets/mysql-cheat-sheet/" target="_blank"><img class="alignnone size-full wp-image-670" title="mysql" src="http://webdevelopergeeks.com/wp-content/uploads/2011/11/mysql.jpg" alt="mysql" width="600" height="700" /></a></p>
<h3><a href="http://www.addedbytes.com/cheat-sheets/php-cheat-sheet/" target="_blank">PHP CHEAT SHEET</a></h3>
<p><a href="http://www.addedbytes.com/cheat-sheets/php-cheat-sheet/" target="_blank"><img class="alignnone size-full wp-image-671" title="php" src="http://webdevelopergeeks.com/wp-content/uploads/2011/11/php.jpg" alt="php" width="600" height="700" /></a></p>
<h3><a href="http://webdevelopergeeks.com/downloads/cheetsheets/ee_quick_reference.png" target="_blank">EXPRESSIONENGINE CHEAT SHEET</a></h3>
<p><a href="http://webdevelopergeeks.com/downloads/cheetsheets/ee_quick_reference.png" target="_blank"><img class="alignnone size-full wp-image-672" title="expression-engine" src="http://webdevelopergeeks.com/wp-content/uploads/2011/11/expression-engine.jpg" alt="ee" width="600" height="700" /></a></p>
<div class="lqm_ad" lqm_publisher="lqm.webdevelopergeeks.site" lqm_zone="ron" lqm_format="336x280"></div>
</p>
<h3><a href="http://webdevelopergeeks.com/downloads/cheetsheets/Advanced-WordPress-Help-Sheet.pdf" target="_blank">THE ADVANCED WORDPRESS HELP SHEET</a></h3>
<p><a href="http://webdevelopergeeks.com/downloads/cheetsheets/Advanced-WordPress-Help-Sheet.pdf" target="_blank"><img class="alignnone size-full wp-image-673" title="wpadvanced" src="http://webdevelopergeeks.com/wp-content/uploads/2011/11/wpadvanced.jpg" alt="wpadvanced" width="600" height="315" /></a></p>
<p>The post <a href="http://webdevelopergeeks.com/design/html5/18-useful-cheat-sheets-for-web-developers-designers/">18 Useful Cheat Sheets For Web Developers &#038; Designers</a> appeared first on <a href="http://webdevelopergeeks.com">Web Developer Geeks</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://webdevelopergeeks.com/design/html5/18-useful-cheat-sheets-for-web-developers-designers/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Beautiful Slide Out Navigation: A CSS and jQuery Tutorial</title>
		<link>http://webdevelopergeeks.com/web-development/jquery/beautiful-slide-out-navigation-a-css-and-jquery-tutorial/</link>
		<comments>http://webdevelopergeeks.com/web-development/jquery/beautiful-slide-out-navigation-a-css-and-jquery-tutorial/#comments</comments>
		<pubDate>Sat, 12 Nov 2011 10:04:03 +0000</pubDate>
		<dc:creator>Vrushank</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Jquery]]></category>
		<category><![CDATA[beautiful]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[navigation]]></category>
		<category><![CDATA[slide]]></category>
		<category><![CDATA[slide out]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://webdevelopergeeks.com/?p=581</guid>
		<description><![CDATA[<p>Today I want to show you how to create an incredible slide out menu or navigation for your website. The navigation will be almost hidden – the items only slide out when the user hovers over the area next to them. This gives a beautiful effect and using this technique can save your some space on your website. The items will be semi-transparent which means that content under them will not be completely hidden. HTML [...]</p><p>The post <a href="http://webdevelopergeeks.com/web-development/jquery/beautiful-slide-out-navigation-a-css-and-jquery-tutorial/">Beautiful Slide Out Navigation: A CSS and jQuery Tutorial</a> appeared first on <a href="http://webdevelopergeeks.com">Web Developer Geeks</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>Today I want to show you how to create an incredible slide out menu or navigation for your website. The navigation will be almost hidden – the items only slide out when the user hovers over the area next to them. This gives a beautiful effect and using this technique can save your some space on your website. The items will be semi-transparent which means that content under them will not be completely hidden.</p>
<h2>HTML</h2>
<p>The only thing we will need for the navigation is a simple unordered list with links inside of the list elements:</p>
<p><a href="http://tympanus.net/Tutorials/FixedNavigationTutorial/" target="_blank" class="button">Demo</a></p>
<pre name="code" class="php">
<ul id="navigation">
 <li class="home"><a title="Home"></a></li>
 <li class="about"><a title="About"></a></li>
 <li class="search"><a title="Search"></a></li>
 <li class="photos"><a title="Photos"></a></li>
 <li class="rssfeed"><a title="Rss Feed"></a></li>
 <li class="podcasts"><a title="Podcasts"></a></li>
 <li class="contact"><a title="Contact"></a></li>
</ul>
</pre>
<p>The list is getting an ID because we want to refer to it later in the JavaScript. With jQuery, we will make the link items slide out whenever we hover over the li elements of the list.</p>
<h2>CSS</h2>
<p>First, we define the CSS properties for the list:</p>
<pre name="code" class="php">
ul#navigation {
    position: fixed;
    margin: 0px;
    padding: 0px;
    top: 10px;
    left: 0px;
    list-style: none;
    z-index:9999;
}
</pre>
<p>The navigation should always be approachable for the user, even if he scrolls down the page. So, the position should be fixed. Margin and padding are explicitly set to 0, since the unordered list has default values for them. The navigation should also be on top of all other elements on the page. That’s why we set the z-index very high.<br />
Now, let’s look at the list element properties:</p>
<p><script type="text/javascript"><!--
google_ad_client = "ca-pub-8574821838084541";
/* 250 x 250 WDG */
google_ad_slot = "8534538556";
google_ad_width = 250;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<pre name="code" class="php">
ul#navigation li {
    width: 100px;
}
</pre>
<p>For the links in the list elements, we define the following CSS properties:</p>
<pre name="code" class="php">
ul#navigation li a {
    display: block;
    margin-left: -85px;
    width: 100px;
    height: 70px;
    background-color:#CFCFCF;
    background-repeat:no-repeat;
    background-position:center center;
    border:1px solid #AFAFAF;
}
</pre>
<p>The margin-left is set to a negative value because we want to hide most of the icon and only reveal it when we hover over the list items. Basically, we are pushing the link element to the left, outside of the visual area of the page:</p>
<div class="image"><a href="http://webdevelopergeeks.com/wp-content/uploads/2011/11/jquery-navigation-menu.jpg"><img src="http://webdevelopergeeks.com/wp-content/uploads/2011/11/jquery-navigation-menu.jpg" alt="" title="jquery-navigation-menu" width="600" height="457" class="alignnone size-full wp-image-583" /></a></div>
<p>In the JavaScript part we will define a function that makes the elements slide out. But let’s first add some rounded borders to them (they don’t work in Internet Explorer, though):</p>
<pre name="code" class="php">
ul#navigation li a {
    display: block;
    margin-left: -85px;
    width: 100px;
    height: 70px;
    background-color:#CFCFCF;
    background-repeat:no-repeat;
    background-position:center center;
    border:1px solid #AFAFAF;
    -moz-border-radius:0px 10px 10px 0px;
    -webkit-border-bottom-right-radius: 10px;
    -webkit-border-top-right-radius: 10px;
    -khtml-border-bottom-right-radius: 10px;
    -khtml-border-top-right-radius: 10px;
}
</pre>
<p>To make them really neat, we add some opacity, so that the content underneath is visible:</p>
<pre name="code" class="php">
ul#navigation li a {
    display: block;
    margin-left: -85px;
    width: 100px;
    height: 70px;
    background-color:#CFCFCF;
    background-repeat:no-repeat;
    background-position:center center;
    border:1px solid #AFAFAF;
    -moz-border-radius:0px 10px 10px 0px;
    -webkit-border-bottom-right-radius: 10px;
    -webkit-border-top-right-radius: 10px;
    -khtml-border-bottom-right-radius: 10px;
    -khtml-border-top-right-radius: 10px;
    opacity: 0.6;
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=60);
}
</pre>
<p>The last filter property will make this work for Internet Explorer as well.<br />
These were the common properties of all the link elements in the list. Now we will define the background image for the links in the specific list items:</p>
<div class="lqm_ad" lqm_publisher="lqm.webdevelopergeeks.site" lqm_zone="ron" lqm_format="468x60"></div>
<pre name="code" class="php">
ul#navigation .home a{
    background-image: url(../images/home.png);
}
ul#navigation .about a      {
    background-image: url(../images/id_card.png);
}
ul#navigation .search a      {
    background-image: url(../images/search.png);
}
ul#navigation .podcasts a      {
    background-image: url(../images/ipod.png);
}
ul#navigation .rssfeed a   {
    background-image: url(../images/rss.png);
}
ul#navigation .photos a     {
    background-image: url(../images/camera.png);
}
ul#navigation .contact a    {
    background-image: url(../images/mail.png);
}
</pre>
<p>And that was the CSS part. Now, let’s take a look at the few lines of JavaScript that will give some life to the navigation.</p>
<h2>Javascript</h2>
<p>Using jQuery, we will make the icons appear whenever we hover over one of the list items. Remember, the list item itself is 100 pixel wide, only the link element is being pushed outside of the page to the left, so that it is not visible.<br />
We define the following function (before the end of the body tag) that get’s executed whenever we hover over a li:</p>
<pre name="code" class="php">
$(function() {
 $('#navigation > li').hover(
  function () {
   $('a',$(this)).stop().animate({'marginLeft':'-2px'},200);
  },
  function () {
   $('a',$(this)).stop().animate({'marginLeft':'-85px'},200);
  }
 );
});
</pre>
<p>So, when hovering, we want the specific link element to get a left margin of -2 pixels, and that nicely animated, and not too slow (200 milliseconds). Moving the mouse out shall put the link element back to it’s old position (-85 pixels). The stop() function “stops all the currently running animations on all the specified elements” which gives the beautiful effect when, for example, hovering over all elements very quickly.<br />
What would be really nice now, is to make the user aware that there is such an amazing navigation on your web page. Like it is now, the user will merely see some grey borders sticking out from the left side of the page. What could be better for showing the menu than actually showing the navigation shortly when the page loads. So, here we go.<br />
So, we will initially let the navigation be visible. For that we change the left margin of the link elements:</p>
<div class="lqm_ad" lqm_publisher="lqm.webdevelopergeeks.site" lqm_zone="ron" lqm_format="300x250"></div>
<pre name="code" class="php">
ul#navigation li a {
    display: block;
    margin-left: -2px;
    width: 100px;
    height: 70px;
    background-color:#CFCFCF;
    background-repeat:no-repeat;
    background-position:center center;
    border:1px solid #AFAFAF;
    -moz-border-radius:0px 10px 10px 0px;
    -webkit-border-bottom-right-radius: 10px;
    -webkit-border-top-right-radius: 10px;
    -khtml-border-bottom-right-radius: 10px;
    -khtml-border-top-right-radius: 10px;
    opacity: 0.6;
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=60);
}
</pre>
<p>And we add the following line at the beginning of the JavaScript function:</p>
<pre name="code" class="php">
$(function() {

 $('#navigation a').stop().animate({'marginLeft':'-85px'},1000);

 $('#navigation > li').hover(
  function () {
   $('a',$(this)).stop().animate({'marginLeft':'-2px'},200);
  },
  function () {
   $('a',$(this)).stop().animate({'marginLeft':'-85px'},200);
  }
 );
});
</pre>
<p>With that line we defined that it should take 1 second to give a left margin of -85 pixels to all the link elements in the list. Through the margin that we set we will show the navigation to the user and with the JavaScript we will then hide it.<br />
And that’s all!<br />
If you are a shadow-freak (like me), you can also add these lines to the CSS of the link element:</p>
<pre name="code" class="php">
ul#navigation li a {
    display: block;
    margin-left: -2px;
    width: 100px;
    height: 70px;
    background-color:#CFCFCF;
    background-repeat:no-repeat;
    background-position:center center;
    border:1px solid #AFAFAF;
    -moz-border-radius:0px 10px 10px 0px;
    -webkit-border-bottom-right-radius: 10px;
    -webkit-border-top-right-radius: 10px;
    -khtml-border-bottom-right-radius: 10px;
    -khtml-border-top-right-radius: 10px;
    -moz-box-shadow: 0px 4px 3px #000;
    -webkit-box-shadow: 0px 4px 3px #000;
}
</pre>
<p><a href="http://tympanus.net/Tutorials/FixedNavigationTutorial/" target="_blank" class="button">Demo</a></p>
<p>Adding the box shadow and removing opacity, will give the navigation items a 3D look. Leaving the opacity makes them look cool, too, try it out and enjoy the article!</p>
<p>The post <a href="http://webdevelopergeeks.com/web-development/jquery/beautiful-slide-out-navigation-a-css-and-jquery-tutorial/">Beautiful Slide Out Navigation: A CSS and jQuery Tutorial</a> appeared first on <a href="http://webdevelopergeeks.com">Web Developer Geeks</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://webdevelopergeeks.com/web-development/jquery/beautiful-slide-out-navigation-a-css-and-jquery-tutorial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flexible Slide-to-top Accordion</title>
		<link>http://webdevelopergeeks.com/web-development/jquery/flexible-slide-to-top-accordion/</link>
		<comments>http://webdevelopergeeks.com/web-development/jquery/flexible-slide-to-top-accordion/#comments</comments>
		<pubDate>Wed, 09 Nov 2011 00:00:44 +0000</pubDate>
		<dc:creator>Vrushank</dc:creator>
				<category><![CDATA[Jquery]]></category>
		<category><![CDATA[accordion]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[flexible]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[navigation]]></category>
		<category><![CDATA[slide]]></category>
		<category><![CDATA[top]]></category>

		<guid isPermaLink="false">http://webdevelopergeeks.com/?p=548</guid>
		<description><![CDATA[<p>In this article we will create a simple responsive accordion that will slide to the top of the viewport and reveal the content by fading it in. The idea is to avoid that the user has to scroll the content area into place. We’ll also add some nice CSS3 transitions for the arrow to appear and to rotate when we click on an item. The accordion will be flexible, meaning that it will have a [...]</p><p>The post <a href="http://webdevelopergeeks.com/web-development/jquery/flexible-slide-to-top-accordion/">Flexible Slide-to-top Accordion</a> appeared first on <a href="http://webdevelopergeeks.com">Web Developer Geeks</a>.</p>]]></description>
				<content:encoded><![CDATA[<p> In this article we will create a simple responsive accordion that will slide to the top of the viewport and reveal the content by fading it in. The idea is to avoid that the user has to scroll the content area into place. We’ll also add some nice CSS3 transitions for the arrow to appear and to rotate when we click on an item. The accordion will be flexible, meaning that it will have a liquid width adjusting to the screen size.</p>
<h2>HTML</h2>
<p>The HTML structure will consist of a wrapper with the class and ID st-accordion and an unordered list. The list items will have a link element which will serve as the item title and a content area that is initially hidden. The span with the class st-arrow will be the little indicator on the right side that we will make appear when we hover over its parent, the link element.</p>
<p><a href="http://tympanus.net/Tutorials/FlexibleSlideToTopAccordion/" target="_blank" class="button">Demo</a> <a href="http://tympanus.net/Tutorials/FlexibleSlideToTopAccordion/FlexibleSlideToTopAccordion.zip" target="_blank" class="button">Download</a></p>
<pre name="code" class="php">
<div id="st-accordion" class="st-accordion">
	<ul>
		<li>
			<a href="#">
				Item Title
				<span class="st-arrow">Open or Close</span>
			</a>
			<div class="st-content">
				<p>Some content</p>
			</div>
		</li>
		<li> ... </li>
	</ul>
</div>
</pre>
<p><script type="text/javascript"><!--
google_ad_client = "ca-pub-8574821838084541";
/* 250 x 250 WDG */
google_ad_slot = "8534538556";
google_ad_width = 250;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<h2>CSS</h2>
<p>First, we will style the main wrapper. We will give it a width of 100 because we want it to adjust to the width of its surrounding wrapper. If you don’t have one, just use a suitable percentage here (if you want it to be liquid). The surrounding wrapper in the demo has a maximal width of 800 pixels and a width of 90%.<br />
The st-accordion will have a minimal width of 270 pixels:</p>
<pre name="code" class="php">
.st-accordion{
    width:100%;
    min-width:270px;
    margin: 0 auto;
}
</pre>
<p>Assuming that we have some kind of reset css that will remove paddings and margins from unordered lists etc., we define the style for each list element. We’ll set an initial height of 100 pixels which is basically the height of the link element and the overflow will be hidden, so we won’t see the content. When we open the item, we’ll animate its height in order to reveal the content. The borders that we are giving to the element will create a nice engraved separation between the items.</p>
<pre name="code" class="php">
.st-accordion ul li{
    height: 100px;
    border-bottom: 1px solid #c7deef;
    border-top:1px solid #fff;
    overflow: hidden;
}
</pre>
<p>The first item should not have a top border:</p>
<pre name="code" class="php">
.st-accordion ul li:first-child{
    border-top:none;
}
</pre>
<p>We’ll add a color transition to the link element which will create a nice effect on hover. The line-height should be the same like the initial height of the list element:</p>
<pre name="code" class="php">
.st-accordion ul li > a{
    font-family: 'Josefin Slab',Georgia, serif;
    text-shadow: 1px 1px 1px #fff;
    font-size: 46px;
    display: block;
	position: relative;
    line-height: 100px;
	outline:none;
    -webkit-transition:  color 0.2s ease-in-out;
	-moz-transition:  color 0.2s ease-in-out;
	-o-transition:  color 0.2s ease-in-out;
	-ms-transition:  color 0.2s ease-in-out;
	transition:  color 0.2s ease-in-out;
}
.st-accordion ul li > a:hover{
    color: #1693eb;
}
</pre>
<div class="lqm_ad" lqm_publisher="lqm.webdevelopergeeks.site" lqm_zone="ron" lqm_format="336x280"></div>
<p>The span for the arrow will be positioned absolutely and we’ll hide it by setting it outside of the link element and giving it an opacity of 0. The transition will be the item moving from the right and fading in:</p>
<pre name="code" class="php">
.st-accordion ul li > a span{
	background: transparent url(../images/down.png) no-repeat center center;
	text-indent:-9000px;
	width: 26px;
	height: 14px;
	position: absolute;
	top: 50%;
	right: -26px;
	margin-top: -7px;
	opacity:0;
	-webkit-transition:  all 0.2s ease-in-out;
	-moz-transition:  all 0.2s ease-in-out;
	-o-transition:  all 0.2s ease-in-out;
	-ms-transition:  all 0.2s ease-in-out;
	transition:  all 0.2s ease-in-out;
}
.st-accordion ul li > a:hover span{
	opacity:1;
	right: 10px;
}
</pre>
<p>When we open an item, we will give it the class st-open and the link element will stay with the hover color. The span will be rotated to that the arrow stays pointing up and in sight:</p>
<pre name="code" class="php">
.st-accordion ul li.st-open > a{
    color: #1693eb;
}
.st-accordion ul li.st-open > a span{
	-webkit-transform:rotate(180deg);
	-moz-transform:rotate(180deg);
    transform:rotate(180deg);
	right:10px;
	opacity:1;
}
</pre>
<p>Let’s style the content and its elements:</p>
<pre name="code" class="php">
.st-content{
    padding: 5px 0px 30px 0px;
}
.st-content p{
    font-size:  16px;
    font-family:  Georgia, serif;
    font-style: italic;
    line-height:  28px;
    padding: 0px 4px 15px 4px;
}
.st-content img{
    width:125px;
    border-right:1px solid #fff;
    border-bottom:1px solid #fff;
}
</pre>
<p>With a media query we will make sure that the font size of the item title will be smaller:</p>
<pre name="code" class="php">
@media screen and (max-width: 320px){
	.st-accordion ul li > a{
		font-size:36px;
	}
}
</pre>
<p>And that’s all the style! Let’s move on to the JavaScript.</p>
<h2>Javascript</h2>
<p>Let’s look at the most important parts of this plugin. We’ll start by the default options:</p>
<pre name="code" class="php">
$.Accordion.defaults 		= {
	// index of opened item. -1 means all are closed by default.
	open			: -1,
	// if set to true, only one item can be opened.
	// Once one item is opened, any other that is
	// opened will be closed first
	oneOpenedItem	: false,
	// speed of the open / close item animation
	speed			: 600,
	// easing of the open / close item animation
	easing			: 'easeInOutExpo',
	// speed of the scroll to action animation
	scrollSpeed		: 900,
	// easing of the scroll to action animation
	scrollEasing	: 'easeInOutExpo'
};
</pre>
<p>We initialize our plugin by calling the init function:</p>
<div class="lqm_ad" lqm_publisher="lqm.webdevelopergeeks.site" lqm_zone="ron" lqm_format="468x60"></div>
<pre name="code" class="php">
_init 				: function( options ) {

		this.options 		= $.extend( true, {}, $.Accordion.defaults, options );

		// validate options
		this._validate();

		// current is the index of the opened item
		this.current		= this.options.open;

		// hide the contents so we can fade it in afterwards
		this.$items.find('div.st-content').hide();

		// save original height and top of each item
		this._saveDimValues();

		// if we want a default opened item...
		if( this.current != -1 )
			this._toggleItem( this.$items.eq( this.current ) );

		// initialize the events
		this._initEvents();

	}
</pre>
<p>The _saveDimValues function saves the original height and top of an item so that we know where we have to scroll when we open an item.<br />
If we’ve set an item to be opened by default, we will call _toggleItem.<br />
Then we initialize the events.<br />
The _toggleItem function takes care of the two cases when clicking an item. Either we have the item already open, i.e. it has the class st-open, or it is closed. If it’s open, we’ll set the current to -1 and fade out the content while setting the item’s height to its original one. If the item we are clicking is closed, we’ll set the index of that item to be the current one, animate the height to fit the content and fade in the content. Then we scroll the window to the point that the clicked item stays at the top by calling the _scroll function:</p>
<pre name="code" class="php">
_toggleItem			: function( $item ) {

	var $content = $item.find('div.st-content');

	( $item.hasClass( 'st-open' ) ) 

		? ( this.current = -1, $content.stop(true, true).fadeOut( this.options.speed ), $item.removeClass( 'st-open' ).stop().animate({
			height	: $item.data( 'originalHeight' )
		}, this.options.speed, this.options.easing ) )

		: ( this.current = $item.index(), $content.stop(true, true).fadeIn( this.options.speed ), $item.addClass( 'st-open' ).stop().animate({
			height	: $item.data( 'originalHeight' ) + $content.outerHeight( true )
		}, this.options.speed, this.options.easing ), this._scroll( this ) )
}
</pre>
<p>In the _initEvents function we initialize two events, clicking on an item and the window resize. When we click on an item we either open or close it calling the _toggleItem function and if we’ve set the option oneOpenedItem to true, we first close any opened item before opening the current one.<br />
When the window gets resized we need to reset the original item values and the content’s height. We’ll also want to scroll the item to the top again.</p>
<pre name="code" class="php">
_initEvents			: function() {

	var instance	= this;

	// open / close item
	this.$items.find('a:first').bind('click.accordion', function( event ) {

		var $item			= $(this).parent();

		// close any opened item if oneOpenedItem is true
		if( instance.options.oneOpenedItem &#038;&#038; instance._isOpened() &#038;&#038; instance.current!== $item.index() ) {

			instance._toggleItem( instance.$items.eq( instance.current ) );

		}

		// open / close item
		instance._toggleItem( $item );

		return false;

	});

	$(window).bind('smartresize.accordion', function( event ) {

		// reset original item values
		instance._saveDimValues();

		// reset the content's height of any item that is currently opened
		instance.$el.find('li.st-open').each( function() {

			var $this	= $(this);
			$this.css( 'height', $this.data( 'originalHeight' ) + $this.find('div.st-content').outerHeight( true ) );

		});

		// scroll to current
		if( instance._isOpened() )
		instance._scroll();

	});

}
</pre>
<div class="lqm_ad" lqm_publisher="lqm.webdevelopergeeks.site" lqm_zone="ron" lqm_format="300x250"></div>
<p>These were the most important functions for this accordion.<br />
I hope you enjoyed this simple accordion and find it useful!</p>
<p>The post <a href="http://webdevelopergeeks.com/web-development/jquery/flexible-slide-to-top-accordion/">Flexible Slide-to-top Accordion</a> appeared first on <a href="http://webdevelopergeeks.com">Web Developer Geeks</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://webdevelopergeeks.com/web-development/jquery/flexible-slide-to-top-accordion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create Multi-Step Signup Form Using CSS3 and jQuery</title>
		<link>http://webdevelopergeeks.com/design/css3/create-multi-step-signup-form-using-css3-and-jquery/</link>
		<comments>http://webdevelopergeeks.com/design/css3/create-multi-step-signup-form-using-css3-and-jquery/#comments</comments>
		<pubDate>Mon, 07 Nov 2011 04:59:28 +0000</pubDate>
		<dc:creator>Vrushank</dc:creator>
				<category><![CDATA[CSS3]]></category>
		<category><![CDATA[Jquery]]></category>
		<category><![CDATA[creative]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[multi-step]]></category>
		<category><![CDATA[signup]]></category>

		<guid isPermaLink="false">http://webdevelopergeeks.com/?p=497</guid>
		<description><![CDATA[<p>In this Article we will see how to create a simple multi-step signup form using CSS3 and jQuery. To spice up things a bit, we will include progress bar with the form, so the users will be able to see the percentage of form completion. Screen We will create four steps in our form: username and password fields first name and last name and email address age, gender and country summary HTML First thing to [...]</p><p>The post <a href="http://webdevelopergeeks.com/design/css3/create-multi-step-signup-form-using-css3-and-jquery/">Create Multi-Step Signup Form Using CSS3 and jQuery</a> appeared first on <a href="http://webdevelopergeeks.com">Web Developer Geeks</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>In this Article we will see how to create a simple multi-step signup form using CSS3 and jQuery. To spice up things a bit, we will include progress bar with the form, so the users will be able to see the percentage of form completion.</p>
<h2>Screen</h2>
<div class="lqm_ad" lqm_publisher="lqm.webdevelopergeeks.site" lqm_zone="ron" lqm_format="336x280"></div>
<p>We will create four steps in our form:</p>
<ol>
<li>username and password fields</li>
<p><a href="http://webdevelopergeeks.com/wp-content/uploads/2011/11/free-website.png"><img src="http://webdevelopergeeks.com/wp-content/uploads/2011/11/free-website.png" alt="" title="free website" width="550" height="499" class="alignnone size-full wp-image-498" /></a></p>
<li>first name and last name and email address</li>
<p><a href="http://webdevelopergeeks.com/wp-content/uploads/2011/11/free-website-step2.png"><img src="http://webdevelopergeeks.com/wp-content/uploads/2011/11/free-website-step2.png" alt="" title="free website step2" width="550" height="504" class="alignnone size-full wp-image-502" /></a></p>
<li>age, gender and country</li>
<p><a href="http://webdevelopergeeks.com/wp-content/uploads/2011/11/free-website-step3.png"><img src="http://webdevelopergeeks.com/wp-content/uploads/2011/11/free-website-step3.png" alt="" title="free website step3" width="550" height="510" class="alignnone size-full wp-image-503" /></a></p>
<li>summary</li>
<p><a href="http://webdevelopergeeks.com/wp-content/uploads/2011/11/free-website-step4.png"><img src="http://webdevelopergeeks.com/wp-content/uploads/2011/11/free-website-step4.png" alt="" title="free website step4" width="550" height="499" class="alignnone size-full wp-image-504" /></a>
</ol>
<h2>HTML</h2>
<p>First thing to do is to create the html structure. We need a box container with four divs, one for each step. The basic HTML code is the following:</p>
<pre name="code" class="php">
<div id="container">
    <form action="#" method="post">

        <div id="first_step">
        <div id="second_step">
        <div id="third_step">
        <div id="fourth_step">
    </form>
</div>
</pre>
<p>Inside each box container we will put the fields and a simple helpful label. You can see the code inside the first box in the code below:</p>
<pre name="code" class="php">
<!-- #first_step -->
<div id="first_step">
    <h1>SIGN UP FOR A FREE <span>YOURSITENAME</span> ACCOUNT</h1>

    <div class="form">
        <input type="text" name="username" id="username" value="username" />
        <label for="username">At least 4 characters. Uppercase letters, lowercase letters and numbers only.</label>

        <input type="password" name="password" id="password" value="password" />
        <label for="password">At least 4 characters. Use a mix of upper and lowercase for a strong password.</label>

        <input type="password" name="cpassword" id="cpassword" value="password" />
        <label for="cpassword">If your passwords aren’t equal, you won’t be able to continue with signup.</label>
    </div>      <!-- clearfix --><div class="clear"></div><!-- /clearfix -->
    <input class="submit" type="submit" name="submit_first" id="submit_first" value="" />
</div>      <!-- clearfix --><div class="clear"></div><!-- /clearfix -->
</pre>
<p>We have used three input fields: username, password and confirm password and at the end of the box, an input submit for the next step. The other boxes work in the same way.</p>
<p>At the end of the container box you can see a simple progress bar. This code is necessary:</p>
<pre name="code" class="php">
<div id="progress_bar">
    <div id="progress"></div>
    <div id="progress_text">0% Complete</div>
</div>
</pre>
<p><script type="text/javascript"><!--
google_ad_client = "ca-pub-8574821838084541";
/* 250 x 250 WDG */
google_ad_slot = "8534538556";
google_ad_width = 250;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p>The complete HTML code is the following:</p>
<pre name="code" class="php">
<div id="container">
       <form action="#" method="post">

           <!-- #first_step -->
           <div id="first_step">
               <h1>SIGN UP FOR A FREE <span>YOURSITENAME</span> ACCOUNT</h1>

               <div class="form">
                   <input type="text" name="username" id="username" value="username" />
                   <label for="username">At least 4 characters. Uppercase letters, lowercase letters and numbers only.</label>

                   <input type="password" name="password" id="password" value="password" />
                   <label for="password">At least 4 characters. Use a mix of upper and lowercase for a strong password.</label>

                   <input type="password" name="cpassword" id="cpassword" value="password" />
                   <label for="cpassword">If your passwords aren’t equal, you won’t be able to continue with signup.</label>
               </div>      <!-- clearfix --><div class="clear"></div><!-- /clearfix -->
               <input class="submit" type="submit" name="submit_first" id="submit_first" value="" />
           </div>      <!-- clearfix --><div class="clear"></div><!-- /clearfix -->

           <!-- #second_step -->
           <div id="second_step">
               <h1>SIGN UP FOR A FREE <span>YOURSITENAME</span> ACCOUNT</h1>

               <div class="form">
                   <input type="text" name="firstname" id="firstname" value="first name" />
                   <label for="firstname">Your First Name. </label>
                   <input type="text" name="lastname" id="lastname" value="last name" />
                   <label for="lastname">Your Last Name. </label>
                   <input type="text" name="email" id="email" value="email address" />
                   <label for="email">Your email address. We send important administration notices to this address</label>
               </div>      <!-- clearfix --><div class="clear"></div><!-- /clearfix -->
               <input class="submit" type="submit" name="submit_second" id="submit_second" value="" />
           </div>      <!-- clearfix --><div class="clear"></div><!-- /clearfix -->

           <!-- #third_step -->
           <div id="third_step">
               <h1>SIGN UP FOR A FREE <span>YOURSITENAME</span> ACCOUNT</h1>

               <div class="form">
                   <select id="age" name="age">
                       <option> 0 - 17</option>
                       <option>18 - 25</option>
                       <option>26 - 40</option>
                       <option>40+</option>
                   </select>
                   <label for="age">Your age range. </label> <!-- clearfix --><div class="clear"></div><!-- /clearfix -->

                   <select id="gender" name="gender">
                       <option>Male</option>
                       <option>Female</option>
                   </select>
                   <label for="gender">Your Gender. </label> <!-- clearfix --><div class="clear"></div><!-- /clearfix -->

                   <select id="country" name="country">
                       <option>United States</option>
                       <option>United Kingdom</option>
                       <option>Canada</option>
                       <option>Serbia</option>
                       <option>Italy</option>
                   </select>
                   <label for="country">Your country. </label> <!-- clearfix --><div class="clear"></div><!-- /clearfix -->

               </div>      <!-- clearfix --><div class="clear"></div><!-- /clearfix -->
               <input class="submit" type="submit" name="submit_third" id="submit_third" value="" />

           </div>      <!-- clearfix --><div class="clear"></div><!-- /clearfix -->

           <!-- #fourth_step -->
           <div id="fourth_step">
               <h1>SIGN UP FOR A FREE <span>YOURSITENAME</span> ACCOUNT</h1>

               <div class="form">
                   <h2>Summary</h2>

                   <table>
                       <tr><td>Username</td><td></td></tr>
                       <tr><td>Password</td><td></td></tr>
                       <tr><td>Email</td><td></td></tr>
                       <tr><td>Name</td><td></td></tr>
                       <tr><td>Age</td><td></td></tr>
                       <tr><td>Gender</td><td></td></tr>
                       <tr><td>Country</td><td></td></tr>
                   </table>
               </div>      <!-- clearfix --><div class="clear"></div><!-- /clearfix -->
               <input class="send submit" type="submit" name="submit_fourth" id="submit_fourth" value="" />
           </div>

       </form>
</div>
<div id="progress_bar">
           <div id="progress"></div>
           <div id="progress_text">0% Complete</div>
</div>
</pre>
<div class="lqm_ad" lqm_publisher="lqm.webdevelopergeeks.site" lqm_zone="ron" lqm_format="300x250"></div>
<p>As you can see, in the fourth step the table is empty. We fill it with the information entered by the users using jQuery.</p>
<h2>CSS</h2>
<p>Now we will add style to the form. Complete CSS Code is listed below:</p>
<pre name="code" class="php">
/* CSS Reset (Eric Meyer) */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;margin:0;padding:0}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}:focus{outline:0}ins{text-decoration:none}del{text-decoration:line-through}table{border-collapse:collapse;border-spacing:0}

@font-face {
   font-family: 'Cantarell';
   src: url(../fonts/Cantarell-Regular.eot);
   src: local('Cantarell'), url('../fonts/Cantarell-Regular.ttf') format('truetype');
}

body {
    background-color: #f9f9f9;
    color: #222;
    font-family: Cantarell, Verdana, sans-serif;
    font-size: 12px;
}

input[type="submit"]::-moz-focus-inner, input[type="button"]::-moz-focus-inner { border : none; }
input[type="submit"]:focus, input[type="button"]:focus { outline : none; }

.clear { clear: both; }

#container {
    background: url('../images/container.png') no-repeat;
    width: 754px;
    height: 370px;
    margin: 20px auto;
    padding: 50px 0;
    overflow: hidden;
    position: relative;
}
    #container #first_step, #second_step, #third_step, #fourth_step { display: none; }
    #container #first_step { display: block; }

    #container .form { margin: 66px 72px 0 72px; }

    #container h1, #container h2 {
        font-size: Cantarell, Verdana, sans-serif;
        text-align: center;
        font-size: 24px;
        text-shadow: 1px 1px 2px #222;
    }
        #container h1 span { color: #a90329; }

    #container h2 {
        color: #888;
        font-size: 20px;
        text-align: left;
        text-shadow: none;
    }

    #container table {
        margin: 20px 40px;
        font-size: 14px;
        font-weight: bold;
    }
        #container table td {
            padding: 5px 10px;
        }
            #container table td:nth-child(2) {
                color: #a90329;
            }

    #container input, #container select {
        background: url('../images/input.png') no-repeat;
        color: #888;
        border: 1px solid #ccc;
        font-family: Cantarell, Verdana, sans-serif;
        font-weight: bold;
        font-size: 15px;
        width: 300px;
        height: 35px;
        padding: 0 25px;
        margin: 20px 0;
        float: left;

        border-radius: 6px;
        -moz-border-radius: 6px;
        -webkit-border-radius: 6px;
    }
        #container input.submit {
            background: url('../images/button.png') no-repeat;
            border: none;
            cursor: pointer;
            width: 85px;
            height: 38px;
            position: relative;
            bottom: 2px;
            left: 655px;
        }
            #container input.submit:focus { border: none; }

        #container input.send{ background: url('../images/send.png') no-repeat; }

        #container input.error { border: 1px solid red; }
        #container input.valid { border: 1px solid #1FFF00; }

        #container input:focus, #container select:focus {
            border: 1px solid #a90329;
            color: #a90329;
        }

    #container select { padding: 5px 0 5px 25px; }
        #container option { padding: 0 15px; }

    #container label {
        color: #666;
        font-size: 12px;
        font-weight: bold;
        line-height: 14px;
        float: right;
        margin: 23px -25px;
        width: 270px;
    }

#progress_bar {
    background: url('../images/progress_bar.png') no-repeat;
    width: 339px;
    height: 24px;
    margin: 0 auto;
    position: relative;
}

#progress {
    background: url('../images/progress.png') repeat-x;
    width: 0px;
    height: 23px;

    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
}
#progress_text {
    position: relative;
    line-height: 21px;
    text-align: center;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 2px #222;
    width: 339px;
    height: 24px;
    top: -23px;
    left: 0;
}
</pre>
<h2>jQuery</h2>
<div class="lqm_ad" lqm_publisher="lqm.webdevelopergeeks.site" lqm_zone="ron" lqm_format="336x280"></div>
<p>We will use jQuery for:</p>
<ul>
<li>slide the steps</li>
<li>check if the data are valid</li>
<li>change the completion percentage of progress bar</li>
</ul>
<p>We need to load jQuery library inside the page and then to use two plugins:</p>
<ul>
<li>jQuery UI, the most famous plugin used to extend the jQuery functionality.</li>
<li>jQuery inputfocus, my jQuery plugin used to manage focus and blur events of the form.</li>
</ul>
<p>Our jQuery code is listed below:</p>
<pre name="code" class="php">
$(function(){
    //original field values
    var field_values = {

            //id        :  value
            'username'  : 'username',
            'password'  : 'password',
            'cpassword' : 'password',
            'firstname'  : 'first name',
            'lastname'  : 'last name',
            'email'  : 'email address'
    };

    //inputfocus
    $('input#username').inputfocus({ value: field_values['username'] });
    $('input#password').inputfocus({ value: field_values['password'] });
    $('input#cpassword').inputfocus({ value: field_values['cpassword'] });
    $('input#lastname').inputfocus({ value: field_values['lastname'] });
    $('input#firstname').inputfocus({ value: field_values['firstname'] });
    $('input#email').inputfocus({ value: field_values['email'] });

    //reset progress bar
    $('#progress').css('width','0');
    $('#progress_text').html('0% Complete');

    //first_step
    $('form').submit(function(){ return false; });
    $('#submit_first').click(function(){
        //remove classes
        $('#first_step input').removeClass('error').removeClass('valid');

        //ckeck if inputs aren't empty
        var fields = $('#first_step input[type=text], #first_step input[type=password]');
        var error = 0;
        fields.each(function(){
            var value = $(this).val();
            if( value.length<4 || value==field_values[$(this).attr('id')] ) {
                $(this).addClass('error');
                $(this).effect("shake", { times:3 }, 50);

                error++;
            } else {
                $(this).addClass('valid');
            }
        });

        if(!error) {
            if( $('#password').val() != $('#cpassword').val() ) {
                    $('#first_step input[type=password]').each(function(){
                        $(this).removeClass('valid').addClass('error');
                        $(this).effect("shake", { times:3 }, 50);
                    });

                    return false;
            } else {
                //update progress bar
                $('#progress_text').html('33% Complete');
                $('#progress').css('width','113px');

                //slide steps
                $('#first_step').slideUp();
                $('#second_step').slideDown();
            }
        } else return false;
    });

    $('#submit_second').click(function(){
        //remove classes
        $('#second_step input').removeClass('error').removeClass('valid');

        var emailPattern = /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/;
        var fields = $('#second_step input[type=text]');
        var error = 0;
        fields.each(function(){
            var value = $(this).val();
            if( value.length<1 || value==field_values[$(this).attr('id')] || ( $(this).attr('id')=='email' &#038;&#038; !emailPattern.test(value) ) ) {
                $(this).addClass('error');
                $(this).effect("shake", { times:3 }, 50);

                error++;
            } else {
                $(this).addClass('valid');
            }
        });

        if(!error) {
                //update progress bar
                $('#progress_text').html('66% Complete');
                $('#progress').css('width','226px');

                //slide steps
                $('#second_step').slideUp();
                $('#third_step').slideDown();
        } else return false;

    });

    $('#submit_third').click(function(){
        //update progress bar
        $('#progress_text').html('100% Complete');
        $('#progress').css('width','339px');

        //prepare the fourth step
        var fields = new Array(
            $('#username').val(),
            $('#password').val(),
            $('#email').val(),
            $('#firstname').val() + ' ' + $('#lastname').val(),
            $('#age').val(),
            $('#gender').val(),
            $('#country').val()
        );
        var tr = $('#fourth_step tr');
        tr.each(function(){
            //alert( fields[$(this).index()] )
            $(this).children('td:nth-child(2)').html(fields[$(this).index()]);
        });

        //slide steps
        $('#third_step').slideUp();
        $('#fourth_step').slideDown();
    });

    $('#submit_fourth').click(function(){
        //send information to server
        alert('Data sent');
    });

});
</pre>
<div class="lqm_ad" lqm_publisher="lqm.webdevelopergeeks.site" lqm_zone="ron" lqm_format="300x250"></div>
<p>The code from row 3 to 20 activates the inputfocus plugin to each input field. The code from row 27 to 64 check the validity of the data entered by the user (if username and password length is greater than 4 characters, if the password and confirm password fields are equal), then update the progress bar value and then slide to second step.<br />
The code from row 71 to 100 check the data integrity for the second step (if first and last name aren’t empty and if the email address is valid). The rest is similar to the previous code.</p>
<p>So,We have seen how simple it’s to create a multistep signup form. <br /> You can ask ivf you want me to clear anything requarding this. </p>
<p>The post <a href="http://webdevelopergeeks.com/design/css3/create-multi-step-signup-form-using-css3-and-jquery/">Create Multi-Step Signup Form Using CSS3 and jQuery</a> appeared first on <a href="http://webdevelopergeeks.com">Web Developer Geeks</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://webdevelopergeeks.com/design/css3/create-multi-step-signup-form-using-css3-and-jquery/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Moving Boxes Content with jQuery</title>
		<link>http://webdevelopergeeks.com/web-development/jquery/moving-boxes-content-with-jquery/</link>
		<comments>http://webdevelopergeeks.com/web-development/jquery/moving-boxes-content-with-jquery/#comments</comments>
		<pubDate>Tue, 01 Nov 2011 12:15:54 +0000</pubDate>
		<dc:creator>Vrushank</dc:creator>
				<category><![CDATA[Jquery]]></category>
		<category><![CDATA[box]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[moving]]></category>
		<category><![CDATA[moving boxes]]></category>

		<guid isPermaLink="false">http://webdevelopergeeks.com/?p=365</guid>
		<description><![CDATA[<p>Now I am going to create a website template with some really sweet animations using jQuery. The idea is to have little boxes dispersed around at the top of the site and when a menu item is clicked, the boxes animate to form the main content area. I shall use some different animation effects that we will add as options to the menu item.</p><p>The post <a href="http://webdevelopergeeks.com/web-development/jquery/moving-boxes-content-with-jquery/">Moving Boxes Content with jQuery</a> appeared first on <a href="http://webdevelopergeeks.com">Web Developer Geeks</a>.</p>]]></description>
				<content:encoded><![CDATA[<h3>How To Use?</h3>
<p>Let’s start from beginning.<br /> First Of All, I want to place the background image with the grid overlay:</p>
<div class="image"><img src="http://webdevelopergeeks.com/wp-content/uploads/2011/11/moving-bg-box.png" height="450" width="600"></div>
<div class="button"><a href="http://tympanus.net/Tutorials/MovingBoxesContent/" target="_blank">Demo</a></div>
<h2>HTML</h2>
<pre name="code" class="php">
<div id="wdg_background" class="wdg_background">
	<img class="wdg_bgimage" src="images/default-bg.jpg" alt="Background"/>
	<div class="wdg_overlay"></div>
</div>
</pre>
<p>The next div element will be used to add the little boxes with their random position and rotation degree.</p>
<pre name="code" class="php">
<div id="wdg_pattern" class="wdg_pattern"></div>
</pre>
<p>We will place a total of 10 boxes (div elements) into this container.<br /> The menu and the heading will have the following HTML structure:</p>
<pre name="code" class="php">
<div class="wdg_heading">
	<h1>Lack of Color</h1>
</div>

<div id="wdg_menu" class="wdg_menu">
	<a href="#" data-speed="500" data-easing="easeOutBack">About</a>
	<a href="#" data-speed="1100" data-easing="easeInExpo">Work</a>
	<a href="#" data-speed="500" data-easing="easeOutBack">Media</a>
	<a href="#" data-speed="1100" data-easing="easeInExpo">Contact</a>
</div>
</pre>
<p>After that, we will define the structure for the content area. There will be a main wrapper with the class “wdg_content_wrapper” which contains all the content containers that have the class “wdg_content” and a span for the closing cross:</p>
<pre name="code" class="php">
<div id="wdg_content_wrapper" class="wdg_content_wrapper">
	<span class="wdg_close"></span>
	<div class="wdg_content">
		<h2>About</h2>
		<div class="wdg_content_inner">
			<p>Some text...</p>
		</div>
	</div>
	<div class="wdg_content">
		...
	</div>
	<div class="wdg_content">
		...
	</div>
	<div class="wdg_content">
		...
	</div>
</div>
</pre>
<p>One of the content elements is going to contain a list of images:</p>
<pre name="code" class="php">
<div class="wdg_content_inner">
	<p>...</p>
	<ul id="wdg_imagelist" class="wdg_imagelist">
		<li><img src="images/small/1.jpg" alt="image1" data-bgimg="images/image1.jpg"/></li>
		<li><img src="images/small/2.jpg" alt="image2" data-bgimg="images/image2.jpg"/></li>
		<li>...</li>
	</ul>
	<p>...</p>
</div>
</pre>
<h2>CSS</h2>
<p>For this, we will embed our reset.css that will reset all the basic style-sheets, and we will define some main properties:</p>
<pre name="code" class="php">
@import url('reset.css');

body{
	background:#000;
	color:#fff;
	font-family: 'PT Sans Narrow', Arial, sans-serif;
}
a{
	color:#fff;
	text-decoration:none;
}
</pre>
<p><script type="text/javascript"><!--
google_ad_client = "ca-pub-8574821838084541";
/* 250 x 250 WDG */
google_ad_slot = "8534538556";
google_ad_width = 250;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p>Then, we will define the styles for the image that we will use as a background and pattern:</p>
<pre name="code" class="php">
img.wdg_bgimage{
	position:fixed;
	left:0px;
	top:0px;
	width:100%;
	opacity:0.8;
	z-index:1;
}
.wdg_overlay{
	width:100%;
	height:100%;
	position:fixed;
	top:0px;
	left:0px;
	background:transparent url(../images/pattern.png) repeat top left;
	z-index:2;
}
</pre>
<p>The little boxes will all have a height and width of 50 pixel and they will have absolute positioning:</p>
<pre name="code" class="php">
.wdg_heading h1{
	position:absolute;
	top:15px;
	left:15px;
	font-size:60px;
	color:#000;
	text-shadow:0px 0px 1px #fff;
	font-family:"Astloch", Arial, sans-serif;
	z-index:4;
}
</pre>
<p>The menu container will be placed perfectly to the left side of the screen:</p>
<pre name="code" class="php">
.wdg_menu{
	position:absolute;
	top:150px;
	left:0px;
	z-index:11;
}
</pre>
<p>The link elements inside of the menu container will be black boxes with a neat transition on hover:</p>
<pre name="code" class="php">
.wdg_menu a{
	background-color:#000;
	margin-bottom:2px;
	opacity:0.9;
	display:block;
	width:98px;
	height:98px;
	color:#fff;
	line-height:98px;
	text-align:center;
	text-transform:uppercase;
	outline:none;
	-webkit-transition: all 0.2s ease-in;
	-moz-transition:all 0.2s ease-in;
	-o-transition: all 0.2s ease-in;
	-transition: all 0.2s ease-in;
}
.wdg_menu a:hover{
	color:#000;
	background-color:#fff;
}
</pre>
<p>Next step is to style the content wrapper. We will give it a fixed width and height and a semi-transparent dark background. We will hide it initially:</p>
<pre name="code" class="php">
.wdg_content_wrapper{
	background:transparent url(../images/bg_menu.png) repeat top left;
	width:400px;
	height:400px;
	position:absolute;
	top:154px;
	left:200px;
	z-index:4;
	display:none;
}
</pre>
<h4>Why don’t we just use opacity instead of a repeated background image?</h4>
<p>In some browsers all child elements will inherit that opacity level and we cannot set it higher for them. So, if we really want the inner elements to be completely opaque, it’s safer to use a background image for the surrounding container.<br /> The little closing span will have the following style:</p>
<pre name="code" class="php">
span.wdg_close{
	position:absolute;
	top:10px;
	right:10px;
	width:11px;
	height:12px;
	cursor:pointer;
	background:transparent url(../images/close.png) no-repeat top left;
	opacity:0.8;
}
span.wdg_close:hover{
	opacity:1.0;
}
</pre>
<p>The content area is going to have some padding and we’ll hide it:</p>
<pre name="code" class="php">
.wdg_content{
	padding:30px;
	display:none;
}
</pre>
<p>The heading will have some background image for the stripe underline:</p>
<pre name="code" class="php">
.wdg_content h2{
	font-family:"Astloch";
	text-shadow:0px 0px 1px #fff;
	font-size:42px;
	background:transparent url(../images/line.png) repeat-x bottom left;
	padding:0px 0px 5px 0px;
	margin-bottom:10px;
}
</pre>
<p>The following container is for the resting content and it will be this element that we will apply the custom scrollbar to:</p>
<pre name="code" class="php">
.wdg_content_inner{
	line-height:24px;
	height:268px;
	outline: none;
}
.wdg_content_inner p{
	padding:5px 0px;
}
</pre>
<p>For the thumbnail list in the “Work” section, we will have the following style:</p>
<pre name="code" class="php">
ul.wdg_imagelist li{
	float:left;
	margin:2px;
	cursor:pointer;
}
ul.wdg_imagelist li img{
	display:block;
	opacity:0.3;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	-transition: all 0.5s ease-in-out;
}
ul.wdg_imagelist li img:hover{
	opacity:1.0;
}
</pre>
<p>As you can see, we will add some transition to it, making the thumbnail become opaque swimmingly.</p>
<div class="lqm_ad" lqm_publisher="lqm.webdevelopergeeks.site" lqm_zone="ron" lqm_format="468x60"></div>
<h2>The JavaScript</h2>
<p>So the main idea is to create those little boxes and scatter them around a restricted area and rotate them. When we click on a menu item, we’ll make those boxes animate to a certain position and form the main content container. Then we’ll show the container and the respective content. When clicking on the closing span, we want to make the boxes disperse again.</p>
<p>In the “Works” content, we will have some thumbnails that will show a background image when clicking on them.<br />So, let’s start by caching some elements:</p>
<pre name="code" class="php">
var $menu				= $('#wdg_menu'),
	$menuItems			= $menu.children('a'),
	$mbWrapper			= $('#wdg_content_wrapper'),
	$mbClose			= $mbWrapper.children('.wdg_close'),
	$mbContentItems		= $mbWrapper.children('.wdg_content'),
	$mbContentInnerItems= $mbContentItems.children('.wdg_content_inner');
	$mbPattern			= $('#wdg_pattern'),
	$works				= $('#wdg_imagelist > li'),
	$wdg_bgimage			= $('#wdg_background > img'),
</pre>
<p>Next, we will define the “Menu” function:	</p>
<pre name="code" class="php">
Menu	= (function(){
  ...
})();

/*
call the init method of Menu
 */
Menu.init();
</pre>
<p>So, inside of our “Menu” function, we’ll define our main functionality, starting with a method to initialize the whole thing:</p>
<pre name="code" class="php">
var init	= function() {
	preloadImages();
	initPlugins();
	initPattern();
	initEventsHandler();
}
</pre>
<div class="lqm_ad" lqm_publisher="lqm.webdevelopergeeks.site" lqm_zone="ron" lqm_format="300x250"></div>
<p>We want to preload the images that we have in the “Work” content. The data attribute in the thumbnails tells us, which images we need:</p>
<pre name="code" class="php">
preloadImages		= function() {
	$works.each(function(i) {
		$('<img>').attr('src' , $(this).children('img').data('bgimg'));
	});
}
</pre>
<p>The jScollPane plugin needs to be initialized, and we’ll apply the custom scroll to the inner content area of the content div when we call this:</p>
<pre name="code" class="php">
initPlugins			= function() {
	$mbContentInnerItems.jScrollPane({
		verticalDragMinHeight: 40,
		verticalDragMaxHeight: 40
	});
}
</pre>
<p>“initPattern” will randomly place 16 boxes (div elements) into a restricted area. We restrict that area by restricting the top and left values to a certain range:</p>
<pre name="code" class="php">
initPattern			= function() {
	for(var i = 0; i < 16 ; ++i) {
		//opacity, random top, left and angle
		var o		= 0.1,
		t		= Math.floor(Math.random()*196) + 5, // between 5 and 200
		l		= Math.floor(Math.random()*696) + 5, // between 5 and 700
		a		= Math.floor(Math.random()*101) - 50; // between -50 and 50

		$el		= $('
<div>').css({
			opacity			: o,
			top				: t + 'px',
			left			: l + 'px'
		});

		if (!$.browser.msie)
			$el.transform({'rotate'	: a + 'deg'});

		$el.appendTo($mbPattern);
	}
	$mbPattern.children().draggable(); //just for fun
},
</div>
</pre>
<p>When we close the content area we want to move the little boxes back, scattered around randomly again:</p>
<div class="lqm_ad" lqm_publisher="lqm.webdevelopergeeks.site" lqm_zone="ron" lqm_format="468x60"></div>
<pre name="code" class="php">
disperse			= function() {
	$mbPattern.children().each(function(i) {
		var o			= 0.1,
		t			= Math.floor(Math.random()*196) + 5,
		l			= Math.floor(Math.random()*696) + 5,
		a			= Math.floor(Math.random()*101) - 50;
		$el			= $(this),
		param		= {
			width	: '50px',
			height	: '50px',
			opacity	: o,
			top		: t + 'px',
			left	: l + 'px'
		};

		if (!$.browser.msie)
			param.rotate	= a + 'deg';

		$el.animate(param, 1000, 'easeOutExpo');
	});
}
</pre>
<p>Let’s handle the events:</p>
<pre name="code" class="php">
initEventsHandler		= function() {
	/*
		click a link in the menu
	 */
	$menuItems.bind('click', function(e) {
		var $this	= $(this),
		pos		= $this.index(),
		speed	= $this.data('speed'),
		easing	= $this.data('easing');
		//if an item is not yet shown
		if(!$menu.data('open')){
			//if current animating return
			if($menu.data('moving')) return false;
			$menu.data('moving', true);
			$.when(openItem(pos, speed, easing)).done(function(){
				$menu.data({
					open	: true,
					moving	: false
				});
				showContentItem(pos);
				$mbPattern.children().fadeOut(500);
			});
		}
		else
			showContentItem(pos);
		return false;
	});

	/*
		click close makes the boxes animate to the top of the page
	 */
	$mbClose.bind('click', function(e) {
		$menu.data('open', false);
		/*
			if we would want to show the default image when we close:
			changeBGImage('images/default.jpg');
		 */
		$mbPattern.children().fadeIn(500, function() {
			$mbContentItems.hide();
			$mbWrapper.hide();
		});

		disperse();
		return false;
	});

	/*
		click an image from "Works" content item,
		displays the image on the background
	 */
	$works.bind('click', function(e) {
		var source	= $(this).children('img').data('bgimg');
		changeBGImage(source);
		return false;
	});

}
</pre>
<p>When we click on one of the thumbnails in the “Work” section, we want the background image to change. So we define:</p>
<pre name="code" class="php">
changeBGImage			= function(img) {
	//if its the current one return
	if($wdg_bgimage.attr('src') === img || $wdg_bgimage.siblings('img').length > 0)
		return false;

	var $itemImage = $('<img src="'+img+'" alt="Background" class="wdg_bgimage" style="display:none;"/>');
	$itemImage.insertBefore($wdg_bgimage);

	$wdg_bgimage.fadeOut(1000, function() {
		$(this).remove();
		$wdg_bgimage = $itemImage;
	});
	$itemImage.fadeIn(1000);
}
</pre>
<div class="lqm_ad" lqm_publisher="lqm.webdevelopergeeks.site" lqm_zone="ron" lqm_format="336x280"></div>
<p>This shows a content item when there is already one shown:</p>
<pre name="code" class="php">
showContentItem			= function(pos) {
	$mbContentItems.hide();
	$mbWrapper.show();
	$mbContentItems.eq(pos).show().children('.wdg_content_inner').jScrollPane();
}
</pre>
<p>“openItem” moves the boxes from the top to the center of the page, and shows the respective content item:</p>
<pre name="code" class="php">
openItem				= function(pos, speed, easing) {
	return $.Deferred(
		function(dfd) {
			$mbPattern.children().each(function(i) {
				var $el			= $(this),
				param		= {
					width	: '100px',
					height	: '100px',
					top		: 154 + 100 * Math.floor(i/4),
					left	: 200 + 100 * (i%4),
					opacity	: 1
				};

				if (!$.browser.msie)
					param.rotate	= '0deg';

				$el.animate(param, speed, easing, dfd.resolve);
			});
		}
	).promise();
};
</pre>
<p>And that’s All! We really hope you enjoyed the Article and find it useful!! If any query you can ask.</p>
<p>The post <a href="http://webdevelopergeeks.com/web-development/jquery/moving-boxes-content-with-jquery/">Moving Boxes Content with jQuery</a> appeared first on <a href="http://webdevelopergeeks.com">Web Developer Geeks</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://webdevelopergeeks.com/web-development/jquery/moving-boxes-content-with-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Smooth Vertical or Horizontal Page Scrolling with jQuery</title>
		<link>http://webdevelopergeeks.com/web-development/jquery/smooth-vertical-or-horizontal-page-scrolling-with-jquery/</link>
		<comments>http://webdevelopergeeks.com/web-development/jquery/smooth-vertical-or-horizontal-page-scrolling-with-jquery/#comments</comments>
		<pubDate>Tue, 25 Oct 2011 12:18:16 +0000</pubDate>
		<dc:creator>Vrushank</dc:creator>
				<category><![CDATA[Jquery]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[horizontal]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[page]]></category>
		<category><![CDATA[page scrolling]]></category>
		<category><![CDATA[scroll]]></category>
		<category><![CDATA[smooth]]></category>
		<category><![CDATA[vertical]]></category>

		<guid isPermaLink="false">http://webdevelopergeeks.com/?p=358</guid>
		<description><![CDATA[<p>In this Article I am going to create a simple smooth scrolling effect with jQuery. I shall create a horizontal and a vertical website layout to show the effect. It will be using the jQuery Easing Plugin and just a few lines of jQuery.</p><p>The post <a href="http://webdevelopergeeks.com/web-development/jquery/smooth-vertical-or-horizontal-page-scrolling-with-jquery/">Smooth Vertical or Horizontal Page Scrolling with jQuery</a> appeared first on <a href="http://webdevelopergeeks.com">Web Developer Geeks</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>Here is Demo for You.</p>
<div class="button">
<a href="http://tympanus.net/Tutorials/WebsiteScrolling/" target="_blank">Demo</a>
</div>
<p>Vertical Layout</p>
<div class="image" target="blank"><a href="http://webdevelopergeeks.com/wp-content/uploads/2011/10/verical.png"><img src="http://webdevelopergeeks.com/wp-content/uploads/2011/10/verical.png" alt="" title="verical" width="600" height="348" class="alignright size-full wp-image-360" /></a>
</div>
<p><script type="text/javascript"><!--
google_ad_client = "ca-pub-8574821838084541";
/* 250 x 250 WDG */
google_ad_slot = "8534538556";
google_ad_width = 250;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p>Horizontal Layout</p>
<div class="image" target="blank"><a href="http://webdevelopergeeks.com/wp-content/uploads/2011/10/horizontal.png"><img src="http://webdevelopergeeks.com/wp-content/uploads/2011/10/horizontal.png" alt="" title="horizontal" width="599" height="420" class="alignright size-full wp-image-359" /></a>
</div>
<p>The post <a href="http://webdevelopergeeks.com/web-development/jquery/smooth-vertical-or-horizontal-page-scrolling-with-jquery/">Smooth Vertical or Horizontal Page Scrolling with jQuery</a> appeared first on <a href="http://webdevelopergeeks.com">Web Developer Geeks</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://webdevelopergeeks.com/web-development/jquery/smooth-vertical-or-horizontal-page-scrolling-with-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
