<?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>Codrops &#187; jQuery</title>
	<atom:link href="http://tympanus.net/codrops/tag/jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://tympanus.net/codrops</link>
	<description>Useful resources and inspiration for creative minds</description>
	<lastBuildDate>Wed, 23 May 2012 09:46:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Collective #12</title>
		<link>http://tympanus.net/codrops/collective/collective-12/</link>
		<comments>http://tympanus.net/codrops/collective/collective-12/#comments</comments>
		<pubDate>Sun, 20 May 2012 11:28:42 +0000</pubDate>
		<dc:creator>Mary Lou</dc:creator>
				<category><![CDATA[fonts]]></category>
		<category><![CDATA[inspiration]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[responsive]]></category>

		<guid isPermaLink="false">http://tympanus.net/codrops/?post_type=collective&#038;p=9121</guid>
		<description><![CDATA[Creative Fonts * Standards for Responsive Images * Mobile Web Apps * Calendars and Presentations * CSS and Preprocessing * Cookie Law * PSDs]]></description>
			<content:encoded><![CDATA[<div class="ct-coll-item ct-coll-item-multi ct-coll-item-dribbble">
<nav>
		<a href="#" class="ct-coll-nav-prev">Prev</a><br />
		<a href="#" class="ct-coll-nav-next">Next</a><br />
	</nav>
<article>
<h2>Creative Free Fonts</h2>
<p>		<a class="ct-coll-thumb" href="http://www.behance.net/gallery/Cosmo-Path-Type-Free-Font/3950817"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective12_Font01.jpg" alt="Collective12_Font01" title="" width="330" height="248" class="alignnone size-full wp-image-9136" /></a></p>
<p>Cosmo Path Type by Filiz Sahin</p>
</article>
<article>
<h2>Creative Free Fonts</h2>
<p>		<a class="ct-coll-thumb" href="http://www.behance.net/gallery/Navia-Type-free/3953709"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective12_Font02.jpg" alt="Collective12_Font02" title="" width="330" height="248" class="alignnone size-full wp-image-9137" /></a></p>
<p>Navia Type by 21LAB</p>
</article>
<article>
<h2>Creative Free Fonts</h2>
<p>		<a class="ct-coll-thumb" href="http://thekinetic.co.za/project.php?id=24"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective12_Font03.jpg" alt="Collective12_Font03" title="" width="330" height="248" class="alignnone size-full wp-image-9138" /></a></p>
<p>Stroke Free Font by The Kinetic</p>
</article>
</div>
<div class="ct-coll-item">
<article>
<h2>Responsive Images and Web Standards at the Turning Point</h2>
<p>	   <a class="ct-coll-thumb" href="http://www.alistapart.com/articles/responsive-images-and-web-standards-at-the-turning-point/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective12_12.jpg" alt="Collective12_12" title="" width="323" height="93" class="alignnone size-full wp-image-9134" /></a></p>
<p>A solution on how responsive images can be put into practice is currently being discussed with the WHATWG and like Mat Marquis puts it &#8220;[t]he markup pattern that gets selected stands to have a tremendous influence on how developers build websites in the future. Not just responsive or adaptive websites, either. All websites.&#8221; </p>
<p>	   <a class="ct-coll-link" href="http://www.alistapart.com/articles/responsive-images-and-web-standards-at-the-turning-point/">Read it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Inspirational Website of the Week</h2>
<p>	   <a class="ct-coll-thumb" href="http://www.urbangap.com/urban12/maggio"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective12_17.jpg" alt="Collective12_17" title="" width="330" height="170" class="alignnone size-full wp-image-9142" /></a></p>
<p>The Urban Gap Web Agency will surprise you with all the animations and effects of the beautiful infographics when you scroll the page of the Urban 12 May Challenge.</p>
<p>	   <a class="ct-coll-link" href="http://www.urbangap.com/urban12/maggio">Take a look</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Creating a Mobile Web Application with Meta Tags</h2>
<p>	   <a class="ct-coll-thumb" href="http://speckyboy.com/2012/05/16/creating-a-mobile-web-application-with-meta-tags/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective12_03.jpg" alt="Collective12_03" title="" width="300" height="214" class="alignnone size-full wp-image-9125" /></a></p>
<p>Learn about meta tags and how they can be used to turn a website into a webapp. </p>
<p>	   <a class="ct-coll-link" href="http://speckyboy.com/2012/05/16/creating-a-mobile-web-application-with-meta-tags/">Read it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>jQuery Verbose Calendar</h2>
<p>	   <a class="ct-coll-thumb" href="http://iamjpg.github.com/jQuery-Verbose-Calendar/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective12_04.jpg" alt="Collective12_04" title="" width="270" height="157" class="alignnone size-full wp-image-9126" /></a></p>
<p>This calendar is not just another jQuery calendar. It&#8217;s a very different approach to showing and using dates.</p>
<p>	   <a class="ct-coll-link" href="http://iamjpg.github.com/jQuery-Verbose-Calendar/">Check it out</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Presenteer.js</h2>
<p>	   <a class="ct-coll-thumb" href="http://willemmulder.github.com/Presenteer.js/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective12_02.jpg" alt="Collective12_02" title="" width="170" height="81" class="alignnone size-full wp-image-9124" /></a></p>
<p>If you like Impress.js then you&#8217;ll enjoy Presenteer.js. It&#8217;s a very flexible HTML5 presentation tool that works in one line of code, but is configurable with constructor options and many callbacks.</p>
<p>	   <a class="ct-coll-link" href="http://willemmulder.github.com/Presenteer.js/">Try it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Freebie Button Pack (PSD)</h2>
<p>	   <a class="ct-coll-thumb" href="http://blog.ninetofive.me/psd-freebies/freebie-button-pack/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective12_18.jpg" alt="Collective12_18" title="" width="300" height="150" class="alignnone size-full wp-image-9147" /></a></p>
<p>A really lovely button pack by Zan from Nine to Five.</p>
<p>	   <a class="ct-coll-link" href="http://blog.ninetofive.me/psd-freebies/freebie-button-pack/">Get it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Weather Forecast Webapp</h2>
<p>	   <a class="ct-coll-thumb" href="http://tutorialzine.com/2012/05/weather-forecast-geolocation-jquery/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective12_10.jpg" alt="Collective12_10" title="" width="250" height="120" class="alignnone size-full wp-image-9132" /></a></p>
<p>Learn how to use Geolocation and Yahoo’s APIs to build a simple weather webapp.</p>
<p>	   <a class="ct-coll-link" href="http://tutorialzine.com/2012/05/weather-forecast-geolocation-jquery/">Read it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Keep your CSS selectors short</h2>
<p>	   <a class="ct-coll-thumb" href="http://csswizardry.com/2012/05/keep-your-css-selectors-short/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective12_05.jpg" alt="Collective12_05" title="" width="247" height="91" class="alignnone size-full wp-image-9127" /></a></p>
<p>Harry Roberts writes about how to make CSS selectors as dev-friendly as possible by keeping them short. </p>
<p>	   <a class="ct-coll-link" href="http://csswizardry.com/2012/05/keep-your-css-selectors-short/">Read it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>screenfull.js</h2>
<p>	   <a class="ct-coll-thumb" href="http://sindresorhus.com/screenfull.js/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective12_01.jpg" alt="Collective12_01" title="" width="200" height="135" class="alignnone size-full wp-image-9123" /></a></p>
<p>A simple wrapper for cross-browser usage of the JavaScript Fullscreen API which lets you show a page or any element in fullscreen. The wrapper is useful for overcoming browser implementation differences.</p>
<p>	   <a class="ct-coll-link" href="http://sindresorhus.com/screenfull.js/">Get it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>SASS vs. LESS</h2>
<p>	   <a class="ct-coll-thumb" href="http://css-tricks.com/sass-vs-less/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective12_06.jpg" alt="Collective12_06" title="" width="267" height="159" class="alignnone size-full wp-image-9128" /></a></p>
<p>Chris Coyier explains how and why SASS is his preferred choice when it comes to CSS preprocessor languages.</p>
<p>	   <a class="ct-coll-link" href="http://css-tricks.com/sass-vs-less/">Read it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>The EU Cookie Law – what to do now</h2>
<p>	   <a class="ct-coll-thumb" href="http://boagworld.com/site-content/the-eu-cookie-law-what-to-do-now/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective12_07.jpg" alt="Collective12_07" title="" width="211" height="202" class="alignnone size-full wp-image-9129" /></a></p>
<p>Read this short guide that will help you understand what you have to do on your website in order to comply to the new EU Cookie Law.</p>
<p>	   <a class="ct-coll-link" href="http://boagworld.com/site-content/the-eu-cookie-law-what-to-do-now/">Read it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>CSS Image Replacement for Retina Display Devices</h2>
<p>	   <a class="ct-coll-thumb" href="http://www.noupe.com/design/the-mobile-web-css-image-replacement-for-retina-display-devices.html"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective12_08.jpg" alt="Collective12_08" title="" width="250" height="140" class="alignnone size-full wp-image-9130" /></a></p>
<p>Learn about CSS Image Replacement Techniques and how to apply them in you mobile website project.</p>
<p>	   <a class="ct-coll-link" href="http://www.noupe.com/design/the-mobile-web-css-image-replacement-for-retina-display-devices.html">Read it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Cookie Control</h2>
<p>	   <a class="ct-coll-thumb" href="http://www.civicuk.com/cookie-law/index"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective12_09.jpg" alt="Collective12_09" title="" width="235" height="178" class="alignnone size-full wp-image-9131" /></a></p>
<p>Cookie Control enables you to comply with UK and EU law on cookies by obtaining a user&#8217;s explicit consent for the use of cookies on their computer. There are several plugins available (WordPress, Drupal, Magento) and you can customize it to your needs.</p>
<p>	   <a class="ct-coll-link" href="http://www.civicuk.com/cookie-law/index">Get it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>jQuery Knob</h2>
<p>	   <a class="ct-coll-thumb" href="http://anthonyterrien.com/knob/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective12_11.jpg" alt="Collective12_11" title="" width="130" height="119" class="alignnone size-full wp-image-9133" /></a></p>
<p>A slick downward compatible, touchable, jQuery dial.</p>
<p>	   <a class="ct-coll-link" href="http://anthonyterrien.com/knob/">Get it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>The Story of Send</h2>
<p>	   <a class="ct-coll-thumb" href="http://www.google.com/green/storyofsend/desktop/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective12_14.jpg" alt="Collective12_14" title="" width="330" height="192" class="alignnone size-full wp-image-9139" /></a></p>
<p>Ever wondered what happens when you click the &#8220;Send&#8221; button in Gmail? Well, now you can take this visually stunning journey and understand what happens to your message.</p>
<p>	   <a class="ct-coll-link" href="http://www.google.com/green/storyofsend/desktop/">Check it out</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>HTML Shell</h2>
<p>	   <a class="ct-coll-thumb" href="http://htmlshell.com/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective12_15.jpg" alt="Collective12_15" title="" width="300" height="136" class="alignnone size-full wp-image-9140" /></a></p>
<p>HTML Shell is a custom boilerplate HTML5 markup generator. No more time wasted in copy pasting all those lines, now you can simply configure and generate it.</p>
<p>	   <a class="ct-coll-link" href="http://htmlshell.com/">Try it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>HTML5 adaptive images: end of round one</h2>
<p>	   <a class="ct-coll-thumb" href="http://html5doctor.com/html5-adaptive-images-end-of-round-one/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective12_16.jpg" alt="Collective12_16" title="" width="200" height="121" class="alignnone size-full wp-image-9141" /></a></p>
<p>More about the responsive images solution proposal and the differences between &lt;picture&gt; and srcset.</p>
<p>	   <a class="ct-coll-link" href="http://html5doctor.com/html5-adaptive-images-end-of-round-one/">Read it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Twitter Bootstrap Button Generator</h2>
<p>	   <a class="ct-coll-thumb" href="http://www.plugolabs.com/twitter-bootstrap-button-generator/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective12_13.jpg" alt="Collective12_13" title="" width="290" height="222" class="alignnone size-full wp-image-9135" /></a></p>
<p>If you are using Twitter Bootstrap you will love this little generator that let&#8217;s you create the markup for a custom button.</p>
<p>	   <a class="ct-coll-link" href="http://www.plugolabs.com/twitter-bootstrap-button-generator/">Try it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Complexify</h2>
<p>Dan Palmer created this jQuery plugin that checks password sensibly, with an improved way of indicating password strength. It calculates a rating for the password based on how difficult it would be to brute-force it. </p>
<p>	   <a class="ct-coll-link" href="https://github.com/danpalmer/jquery.complexify.js">Get it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>World Map &#038; Pin (PSD)</h2>
<p>	   <a class="ct-coll-thumb" href="http://www.premiumpixels.com/freebies/world-map-pin-psd/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective12_19.jpg" alt="Collective12_19" title="" width="300" height="176" class="alignnone size-full wp-image-9146" /></a></p>
<p>Thom van der Weerd designed this beautiful freebie for Premium Pixels.</p>
<p>	   <a class="ct-coll-link" href="http://www.premiumpixels.com/freebies/world-map-pin-psd/">Try it</a><br />
   </article>
</div>
]]></content:encoded>
			<wfw:commentRss>http://tympanus.net/codrops/collective/collective-12/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Collective #11</title>
		<link>http://tympanus.net/codrops/collective/collective-11/</link>
		<comments>http://tympanus.net/codrops/collective/collective-11/#comments</comments>
		<pubDate>Sun, 13 May 2012 15:43:26 +0000</pubDate>
		<dc:creator>Mary Lou</dc:creator>
				<category><![CDATA[CSS3]]></category>
		<category><![CDATA[fonts]]></category>
		<category><![CDATA[icons]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[vector]]></category>

		<guid isPermaLink="false">http://tympanus.net/codrops/?post_type=collective&#038;p=9008</guid>
		<description><![CDATA[CSS Selectors demystified * Vendor Tokens? * Free Fonts * Social Media Icons * Flyer Template * jQuery Vector Maps]]></description>
			<content:encoded><![CDATA[<div class="ct-coll-item">
<article>
<h2>Interactive CSS Selectors</h2>
<p>	   <a class="ct-coll-thumb" href="http://twostepmedia.co.uk/cssselectors/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective11_14.jpg" alt="Collective11_14" title="" width="280" height="149" class="alignnone size-full wp-image-9022" /></a></p>
<p>Ben Howdle from Two Step Media will help you understand CSS Selectors in an interactive way. Choose a selector on the left and you&#8217;ll instantly see the affected elements on the right.</p>
<p>	   <a class="ct-coll-link" href="http://twostepmedia.co.uk/cssselectors/">Read it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>‘Vendor Tokens’ Offer Another Way Out of the CSS Prefix Mess</h2>
<p>	   <a class="ct-coll-thumb" href="http://www.webmonkey.com/2012/05/vendor-tokens-offer-another-way-out-of-the-css-prefix-mess/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective11_06.jpg" alt="Collective11_06" title="" width="300" height="68" class="alignnone size-full wp-image-9014" /></a></p>
<p>There is a big discussion going on about whether vendor prefixes are harmful of helpful. Despire their original purpose they are being used all over and many issues are arising from that. Scott Gilbertson from Webmonkey explains Eric Meyer&#8217;s new proposal for ending the mess.</p>
<p>	   <a class="ct-coll-link" href="http://www.webmonkey.com/2012/05/vendor-tokens-offer-another-way-out-of-the-css-prefix-mess/">Read it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Inspirational Website of the Week</h2>
<p>	   <a class="ct-coll-thumb" href="http://www.purepleasuredesign.com"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective11_12.jpg" alt="Collective11_12" title="" width="330" height="179" class="alignnone size-full wp-image-9020" /></a></p>
<p>Ines Maria Gamler&#8217;s website purepleasuredesign.com has a beautiful mixture of interesting typographic elements, shapes, color and textures.</p>
<p>	   <a class="ct-coll-link" href="http://www.purepleasuredesign.com">Check it out</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Znikomit Free Font</h2>
<p>	   <a class="ct-coll-thumb" href="http://www.glukfonts.pl/font.php?font=Znikomit"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective11_18.jpg" alt="Collective11_18" title="" width="300" height="150" class="alignnone size-full wp-image-9026" /></a></p>
<p>A really beautiful and elegant free font with many Open­Type features by Grzegorz Luk.</p>
<p>	   <a class="ct-coll-link" href="http://www.glukfonts.pl/font.php?font=Znikomit">Get it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>JQV Map: jQuery Vector Maps</h2>
<p>	   <a class="ct-coll-thumb" href="http://jqvmap.com/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective11_15.jpg" alt="Collective11_15" title="" width="300" height="199" class="alignnone size-full wp-image-9023" /></a></p>
<p>JQVMap is a really cool jQuery plugin that renders Vector Maps using Scalable Vector Graphics (SVG) for modern browsers. Via VML it provides legacy support for older browsers.</p>
<p>	   <a class="ct-coll-link" href="http://jqvmap.com/">Get it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Fixed Table of Contents Drop-Down Menu </h2>
<p>	   <a class="ct-coll-thumb" href="http://www.impressivewebs.com/fixed-table-of-contents-drop-down-menu-jquery-plugin/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective11_09.jpg" alt="Collective11_09" title="" width="230" height="163" class="alignnone size-full wp-image-9017" /></a></p>
<p>Louis Lazaris from Impressive Webs is sharing this useful fixed drop-down menu with a table of contents. It is a jQuery plugin and it comes in really handy for making it easy to navigate a page that has a lot of content.</p>
<p>	   <a class="ct-coll-link" href="http://www.impressivewebs.com/fixed-table-of-contents-drop-down-menu-jquery-plugin/">Read it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Fixie.js</h2>
<p>	   <a class="ct-coll-thumb" href="http://fixiejs.com/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective11_10.jpg" alt="Collective11_10" title="" width="300" height="96" class="alignnone size-full wp-image-9018" /></a></p>
<p>If you design and develop websites, you know how laborsome it can be to add placeholder text. Fixie.js will help you. It is an open source tool that automatically adds filler content to HTML documents.</p>
<p>	   <a class="ct-coll-link" href="http://fixiejs.com/">Read it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>HTML5 Audio — The State of Play</h2>
<p>In this follow-up article about HTML5 audio, Mark Boas explains how the &lt;audio&gt; element and the associated API developed further and what can be done with it.</p>
<p>	   <a class="ct-coll-link" href="http://html5doctor.com/html5-audio-the-state-of-play/">Read it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Curtain.js</h2>
<p>	   <a class="ct-coll-thumb" href="http://curtain.victorcoulon.fr"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective11_03.jpg" alt="Collective11_03" title="" width="200" height="104" class="alignnone size-full wp-image-9011" /></a></p>
<p>This plugin allows you to create a web page with multiple fixed panels that unroll with an amusing effect. Exactly like a curtain rises. </p>
<p>	   <a class="ct-coll-link" href="http://curtain.victorcoulon.fr">Try it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Freebies Gallery</h2>
<p>	   <a class="ct-coll-thumb" href="http://www.freebiesgallery.com/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective11_19.jpg" alt="Collective11_19" title="" width="260" height="221" class="alignnone size-full wp-image-9027" /></a></p>
<p>Freebies Gallery is a really useful site where you can download free design resources like PSDs, vector graphics, icons, templates and many more. </p>
<p>	   <a class="ct-coll-link" href="http://www.freebiesgallery.com/">Check it out</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Say No to Faux Bold</h2>
<p>	   <a class="ct-coll-thumb" href="http://www.alistapart.com/articles/say-no-to-faux-bold/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective11_04.jpg" alt="Collective11_04" title="" width="200" height="48" class="alignnone size-full wp-image-9012" /></a></p>
<p>Alan Stearns explains in this &#8220;A List Apart&#8221; article what &#8220;fake&#8221; bold is and how to avoid using it in your website.</p>
<p>	   <a class="ct-coll-link" href="http://www.alistapart.com/articles/say-no-to-faux-bold/">Read it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Expert subsets for CSS in 123</h2>
<p>	   <a class="ct-coll-thumb" href="http://elliotjaystocks.com/blog/expert-subsets-for-css-in-123/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective11_05.jpg" alt="Collective11_05" title="" width="280" height="105" class="alignnone size-full wp-image-9013" /></a></p>
<p>The future of typography on the web is an exciting one and Elliot Jay Stocks will show you what beautiful things you can do. After his first article about <a href="http://elliotjaystocks.com/blog/the-fine-flourish-of-the-ligature/">ligatures</a> he digs deeper into the new  <em>font-variant</em> property.</p>
<p>	   <a class="ct-coll-link" href="http://elliotjaystocks.com/blog/expert-subsets-for-css-in-123/">Read it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Faye: Simple pub/sub messaging for the web</h2>
<p>	   <a class="ct-coll-thumb" href="http://faye.jcoglan.com/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective11_07.jpg" alt="Collective11_07" title="" width="260" height="108" class="alignnone size-full wp-image-9015" /></a></p>
<p>If you are searching for a publish-subscribe messaging system for Node.js or Ruby, this just might be a great solution for you.</p>
<p>	   <a class="ct-coll-link" href="http://faye.jcoglan.com/">Read it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>How To Build A Real-Time Commenting System</h2>
<p>	   <a class="ct-coll-thumb" href="http://coding.smashingmagazine.com/2012/05/09/building-real-time-commenting-system/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective11_08.jpg" alt="Collective11_08" title="" width="140" height="141" class="alignnone size-full wp-image-9016" /></a></p>
<p>Phil Leggetter will show you how to &#8220;convert a basic blog commenting system into a real-time engaging experience where you’ll see a comment made in one browser window &#8220;magically&#8221; appear in a second window&#8221;.</p>
<p>	   <a class="ct-coll-link" href="http://coding.smashingmagazine.com/2012/05/09/building-real-time-commenting-system/">Read it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Which responsive images solution should you use?</h2>
<p>	   <a class="ct-coll-thumb" href="http://css-tricks.com/which-responsive-images-solution-should-you-use/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective11_11.jpg" alt="Collective11_11" title="" width="140" height="45" class="alignnone size-full wp-image-9019" /></a></p>
<p>There are many techniques out there to help you with the &#8220;responsive image issue&#8221;. Chris Coyier put together this great guide that will help you choose the right technique for your needs.</p>
<p>	   <a class="ct-coll-link" href="http://css-tricks.com/which-responsive-images-solution-should-you-use/">Read it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Statik: A Free Bold Style Font Kit</h2>
<p>	   <a class="ct-coll-thumb" href="http://wegraphics.net/downloads/statik-a-free-bold-style-font-kit/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective11_13.jpg" alt="Collective11_13" title="" width="300" height="173" class="alignnone size-full wp-image-9021" /></a></p>
<p>WeGraphics offers a great free font: Statik is a bold font face with a hint of static via radio transmission.</p>
<p>	   <a class="ct-coll-link" href="http://wegraphics.net/downloads/statik-a-free-bold-style-font-kit/">Get it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>JavaScript Canvas Image Conversion</h2>
<p>	   <a class="ct-coll-thumb" href="http://davidwalsh.name/convert-canvas-image"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective11_16.jpg" alt="Collective11_16" title="" width="170" height="170" class="alignnone size-full wp-image-9024" /></a></p>
<p>David Walsh explains how to convert an image to canvas and vice versa using a couple of lines of JavaScript. </p>
<p>	   <a class="ct-coll-link" href="http://davidwalsh.name/convert-canvas-image">Read it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Free Event Flyer Template (PSD)</h2>
<p>	   <a class="ct-coll-thumb" href="http://www.behance.net/gallery/Free-Event-Flyer-Template-(PSD)/3809615"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective11_17.jpg" alt="Collective11_17" title="" width="290" height="161" class="alignnone size-full wp-image-9025" /></a></p>
<p>Sam Ridgway gives us a free event flyer template that is print ready, with bleeds and which comes with easy to edit layers.</p>
<p>	   <a class="ct-coll-link" href="http://www.behance.net/gallery/Free-Event-Flyer-Template-(PSD)/3809615">Get it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>41 Social Media Icons (PNG)</h2>
<p>	   <a class="ct-coll-thumb" href="http://www.premiumpixels.com/freebies/41-social-media-icons-png/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective11_01.jpg" alt="Collective11_01" title="" width="300" height="135" class="alignnone size-full wp-image-9009" /></a></p>
<p>Premiumpixels offers us an amazing set of 41 social networking icons in both 16px and 32px by Prekesh Chavda.</p>
<p>	   <a class="ct-coll-link" href="http://www.premiumpixels.com/freebies/41-social-media-icons-png/">Get it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Multilevel CSS3 Menu</h2>
<p>	   <a class="ct-coll-thumb" href="http://css.dzone.com/articles/ms-office-style-css3"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective11_02.jpg" alt="Collective11_02" title="" width="180" height="87" class="alignnone size-full wp-image-9010" /></a></p>
<p>In this tutorial by Andrey Prikaznov you will learn how to code a MS Office-style CSS3 multilevel menu.</p>
<p>	   <a class="ct-coll-link" href="http://css.dzone.com/articles/ms-office-style-css3">Read it</a><br />
   </article>
</div>
]]></content:encoded>
			<wfw:commentRss>http://tympanus.net/codrops/collective/collective-11/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Experimental Page Layout Inspired by Flipboard</title>
		<link>http://tympanus.net/codrops/2012/05/07/experimental-page-layout-inspired-by-flipboard/</link>
		<comments>http://tympanus.net/codrops/2012/05/07/experimental-page-layout-inspired-by-flipboard/#comments</comments>
		<pubDate>Mon, 07 May 2012 10:23:33 +0000</pubDate>
		<dc:creator>Pedro Botelho</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[3d]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[flip]]></category>
		<category><![CDATA[flipboard]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[lab]]></category>
		<category><![CDATA[pageflip]]></category>
		<category><![CDATA[responsive]]></category>

		<guid isPermaLink="false">http://tympanus.net/codrops/?p=8780</guid>
		<description><![CDATA[An experimental page layout that let's you navigate pages by swiping or dragging as in a booklet, inspired by Flipboard.]]></description>
			<content:encoded><![CDATA[<p><a href="http://tympanus.net/Development/FlipboardPageLayout/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/FlipboardPageLayout1.jpg" alt="Experimental Page Layout Inspired by Flipboard" title="Experimental Page Layout Inspired by Flipboard" width="580" height="315" class="alignnone size-full wp-image-8821" /></a></p>
<p><a class="demo" href="http://tympanus.net/Development/FlipboardPageLayout/">View demo</a> <a class="download" href="http://tympanus.net/Development/FlipboardPageLayout/FlipboardPageLayout.zip">Download source</a></p>
<p>Today we want to share an experimental 3D layout with you. It&#8217;s inspired by the famous <a href="http://flipboard.com/" target="_blank">Flipboard</a> app where a seamlessly &#8220;normal&#8221; page flips like a page in a book when swiped. We&#8217;ve tried to re-create that effect using CSS 3D transforms and JavaScript, making a layout that is &#8220;flippable&#8221; and responsive. While the swiping makes sense for touch devices, dragging will do for normal browsers. </p>
<p><a href="http://tympanus.net/Development/FlipboardPageLayout/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/FlipboardPageLayout01.jpg" alt="FlipboardPageLayout01" title="" width="580" height="310" class="alignnone size-full wp-image-8808" /></a></p>
<p>For the demo, we&#8217;ve made a little booklet with some placeholder text and images from <a href="http://www.flickr.com/photos/nasahqphoto/" target="_blank">NASA HQ</a>. The images are licensed under the <a href="http://creativecommons.org/licenses/by-nc/2.0/deed.en" target="_blank">Creative Commons Attribution-NonCommercial 2.0 Generic License</a>. The placeholder text is by <a href="http://hipsteripsum.me/" target="_blank">http://hipsteripsum.me/</a>.</p>
<p><a href="http://tympanus.net/Development/FlipboardPageLayout/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/FlipboardPageLayout02.jpg" alt="FlipboardPageLayout02" title="" width="580" height="310" class="alignnone size-full wp-image-8809" /></a></p>
<p><strong>Please notice that this is very experimental and just a proof-of-concept.</strong> It was tested in the latest versions of Safari, Chrome and Safari Mobile. The behavior is unfortunately not as nice as expected in Firefox.</p>
<div id="bsap_1266918" class="bsarocks bsap_af25dfd2f1908889af7a1aa5f4dcbd9e"></div><div style="clear:both;"></div>
<p>There are probably still many undiscovered bugs and although Safari and Chrome support all the properties used, we had to apply a couple of hacks to overcome some unexpected behavior. Let us know about your experience with it and how it performs. </p>
<p><a href="http://tympanus.net/Development/FlipboardPageLayout/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/FlipboardPageLayout03.jpg" alt="FlipboardPageLayout03" title="" width="580" height="312" class="alignnone size-full wp-image-8810" /></a></p>
<p>Some of the jQuery plugins we are using for this:</p>
<ul>
<li><a href="https://github.com/balupton/history.js">History.js</a> for keeping track of the current state/pages</li>
<li><a href="http://labs.skinkers.com/touchSwipe/">TouchSwipe</a> for dragging and swiping the pages</li>
<li><a href="http://modernizr.com/">Modernizr</a> for checking browser support of the CSS properties</li>
</ul>
<p>The HTML is build up of a main wrapper with the class <strong>container</strong> and the ID <strong>flip</strong>. Inside, we&#8217;ll have all the pages, the first one being the cover and the last one being the back of the booklet. The other pages will contain some title element and boxes. These boxes will each need an additional &#8220;height&#8221; and &#8220;width&#8221; class which will give the element percentage-based dimensions. For example, <strong>w-50</strong> is a class that will give the element a width of 50%. Depending on how a page should be laid out, we would add a fitting set of items:</p>
<pre class="brush:html">
&lt;div id="flip" class="container"&gt;

	&lt;div class="f-page f-cover"&gt;
		&lt;!-- ... --&gt;
	&lt;/div&gt;

	&lt;div class="f-page"&gt;
		&lt;div class="f-title"&gt;
			&lt;!-- ... --&gt;
		&lt;/div&gt;
		&lt;div class="box w-50 h-100"&gt;
			&lt;div class="img-cont img-1"&gt;&lt;/div&gt;
			&lt;h3&gt;Headline &lt;span&gt;Published May 7, 2012&lt;/span&gt;&lt;/h3&gt;
			&lt;p&gt;Some text&lt;/p&gt;
		&lt;/div&gt;
		&lt;div class="box w-50 h-100"&gt;
			&lt;!-- ... --&gt;
		&lt;/div&gt;
	&lt;/div&gt;

	&lt;div class="f-page"&gt;
		&lt;!-- ... --&gt;
	&lt;/div&gt;

	&lt;!-- ... --&gt;

	&lt;div class="f-page f-cover-back"&gt;
		&lt;!-- ... --&gt;
	&lt;/div&gt;

&lt;/div&gt;
</pre>
<p>We are applying some &#8220;tricks&#8221; for making everything work responsively. The images are background-images and we set the background size of that element to &#8220;cover&#8221; while leaving the width and height fluid, in percentages. That&#8217;s of course not how it should be done. But it&#8217;s just for demonstration purpose. The teaser text is already loaded, and just &#8220;cut off&#8221; because the box is set to overflow &#8220;hidden&#8221;. To make it look smoother, we&#8217;ve just added a pseudo-element with a white to transparent gradient which covers the last bit of the box. </p>
<p><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/FlipboardPageLayout04.jpg" alt="FlipboardPageLayout04" title="" width="580" height="381" class="alignnone size-full wp-image-8811" /></p>
<p>A great help for creating responsive layouts like these is this:</p>
<pre class="brush:css">
* { box-sizing: border-box }
</pre>
<p>which finally got the attention it deserves thanks to <a href="http://paulirish.com/2012/box-sizing-border-box-ftw/">this article by Paul Irish</a>. When laying out elements using percentages it really comes in handy to use the border-box value since we can for example, define paddings in pixels and not break our 50% width box.</p>
<p>We will use jQuery Templates for creating the book structure:</p>
<pre class="brush:html">
&lt;script id="pageTmpl" type="text/x-jquery-tmpl"&gt;
	&lt;div class="${theClass}" style="${theStyle}"&gt;
		&lt;div class="front"&gt;
			&lt;div class="outer"&gt;
				&lt;div class="content" style="${theContentStyleFront}"&gt;
					&lt;div class="inner"&gt;{{html theContentFront}}&lt;/div&gt;
				&lt;/div&gt;
			&lt;/div&gt;
		&lt;/div&gt;
		&lt;div class="back"&gt;
			&lt;div class="outer"&gt;
				&lt;div class="content" style="${theContentStyleBack}"&gt;
					&lt;div class="inner"&gt;{{html theContentBack}}&lt;/div&gt;
				&lt;/div&gt;
			&lt;/div&gt;
		&lt;/div&gt;
	&lt;/div&gt;
&lt;/script&gt;
</pre>
<p>The trick is to create a left side and a right side of a page, hiding half of each side to make it appear as one.</p>
<p>Before we call our experimental plugin, we need to check browser support first:</p>
<pre class="brush:js">
&lt;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript"&gt;

	var $container 	= $( '#flip' ),
		$pages		= $container.children().hide();

	Modernizr.load({
		test: Modernizr.csstransforms3d &#038;&#038; Modernizr.csstransitions,
		yep : ['js/jquery.tmpl.min.js','js/jquery.history.js','js/core.string.js','js/jquery.touchSwipe-1.2.5.js','js/jquery.flips.js'],
		nope: 'css/fallback.css',
		callback : function( url, result, key ) {

			if( url === 'css/fallback.css' ) {
				$pages.show();
			}
			else if( url === 'js/jquery.flips.js' ) {
				$( '#flip' ).flips();
			}

		}
	});

&lt;/script&gt;
</pre>
<p>If there is browser support for CSS 3D transforms and transitions we&#8217;ll load all the other necessary scripts and call our <strong>flips</strong> plugin.</p>
<p>Please note again that it&#8217;s only experimental, but nonetheless, I hope you find it interesting.</p>
<div class="ct-github-link">
<a href="https://github.com/botelho/flipboard-layout">Find this project on Github</a>
</div>
<p><a class="demo" href="http://tympanus.net/Development/FlipboardPageLayout/">View demo</a> <a class="download" href="http://tympanus.net/Development/FlipboardPageLayout/FlipboardPageLayout.zip">Download source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://tympanus.net/codrops/2012/05/07/experimental-page-layout-inspired-by-flipboard/feed/</wfw:commentRss>
		<slash:comments>79</slash:comments>
		</item>
		<item>
		<title>Collective #10</title>
		<link>http://tympanus.net/codrops/collective/collective-10/</link>
		<comments>http://tympanus.net/codrops/collective/collective-10/#comments</comments>
		<pubDate>Sun, 06 May 2012 15:29:55 +0000</pubDate>
		<dc:creator>Mary Lou</dc:creator>
				<category><![CDATA[CSS3]]></category>
		<category><![CDATA[font]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[responsive]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[typography]]></category>

		<guid isPermaLink="false">http://tympanus.net/codrops/?post_type=collective&#038;p=8782</guid>
		<description><![CDATA[Bim Bom BEM! * Physics for three.js * Free PSDs * Free Fonts * CSS3 &#038; jQuery Tuts * Free Icons * Responsive Web Design]]></description>
			<content:encoded><![CDATA[<div class="ct-coll-item">
<article>
<h2>Typometry Free Font</h2>
<p>	   <a class="ct-coll-thumb" href="http://www.behance.net/gallery/Typometry-Free-Font/3831957"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective10_14.jpg" alt="Collective10_14" title="" width="300" height="142" class="alignnone size-full wp-image-8797" /></a></p>
<p>A beautiful experimental geometric font from talented Emil Kozole.</p>
<p>	   <a class="ct-coll-link" href="http://www.behance.net/gallery/Typometry-Free-Font/3831957">Get it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Inspirational Website of the Week</h2>
<p>	   <a class="ct-coll-thumb" href="http://weareimpero.com/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective10_20.jpg" alt="Collective10_20" title="" width="330" height="178" class="alignnone size-full wp-image-8803" /></a></p>
<p>Impero has some really nifty effects with unusual shapes which gives this web design the special something.</p>
<p>	   <a class="ct-coll-link" href="http://weareimpero.com/">Check it out</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Texturise web type with CSS</h2>
<p>	   <a class="ct-coll-thumb" href="http://www.netmagazine.com/tutorials/texturise-web-type-css"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective10_19.jpg" alt="Collective10_19" title="" width="250" height="137" class="alignnone size-full wp-image-8802" /></a></p>
<p>Learn how to create some beautiful texturised web typography in this .net tutorial by Trent Walton.</p>
<p>	   <a class="ct-coll-link" href="http://www.netmagazine.com/tutorials/texturise-web-type-css">Read it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Responsive Grid System</h2>
<p>	   <a class="ct-coll-thumb" href="http://responsive.gs/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective10_02.jpg" alt="Collective10_02" title="" width="200" height="109" class="alignnone size-full wp-image-8785" /></a></p>
<p>Try this fluid grid CSS framework for fast, intuitive development of responsive websites. Available in 12, 16 and 24 columns with media queries for all standard devices, clearfix, and optional reset.</p>
<p>	   <a class="ct-coll-link" href="http://responsive.gs/">Get it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Why you should care about CSS page performance</h2>
<p>	   <a class="ct-coll-thumb" href="http://boagworld.com/dev/why-you-should-care-about-css-page-performance/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective10_03.jpg" alt="Collective10_03" title="" width="280" height="201" class="alignnone size-full wp-image-8786" /></a></p>
<p>Doug Stewart introduces some interesting points of CSS performance, why we should care about it and what actually matters.</p>
<p>	   <a class="ct-coll-link" href="http://boagworld.com/dev/why-you-should-care-about-css-page-performance/">Read it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Screenqueries</h2>
<p>	   <a class="ct-coll-thumb" href="http://screenqueri.es/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective10_05.jpg" alt="Collective10_05" title="" width="300" height="236" class="alignnone size-full wp-image-8788" /></a></p>
<p>Test your website on different viewport sizes using this awesome tool. You can even test your local sites. It&#8217;s still in Beta but it&#8217;s already super-useful and don&#8217;t forget to watch out for their upcoming responsive design gallery.</p>
<p>	   <a class="ct-coll-link" href="http://screenqueri.es/">Try it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Arrrows: The Fully Scalable Icon Font</h2>
<p>	   <a class="ct-coll-thumb" href="http://www.arrrows.com/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective10_06.jpg" alt="Collective10_06" title="" width="300" height="86" class="alignnone size-full wp-image-8789" /></a></p>
<p>Tired of creating those little arrows over and over again? Try Arrrows, a fully scalable icon font for your design. Get the free PNG icon set or buy the whole bundle.</p>
<p>	   <a class="ct-coll-link" href="http://www.arrrows.com/">Get it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Physijs &#8211; Physics plugin for three.js</h2>
<p>	   <a class="ct-coll-thumb" href="https://github.com/chandlerprall/Physijs"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective10_07.jpg" alt="Collective10_07" title="" width="200" height="193" class="alignnone size-full wp-image-8790" /></a></p>
<p>If you have worked with the three.js 3D programming framework, Physijs will be quite interesting to you if you want to add physics to your scene.</p>
<p>	   <a class="ct-coll-link" href="https://github.com/chandlerprall/Physijs">Read it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Above the Scroll: Does It Matter Anymore?</h2>
<p>	   <a class="ct-coll-thumb" href="http://designshack.net/articles/above-the-scroll-does-it-matter-anymore/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective10_08.jpg" alt="Collective10_08" title="" width="200" height="123" class="alignnone size-full wp-image-8791" /></a></p>
<p>Is it still important to consider the &#8220;fold&#8221; in web design? Carrie gives us this up-to-date exploration of why the &#8220;above the scroll&#8221; concept should be seen and applied as an evolved concept. </p>
<p>	   <a class="ct-coll-link" href="http://designshack.net/articles/above-the-scroll-does-it-matter-anymore/">Read it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>BEM: The Block, Element, Modifier Approach To Decoupling HTML And CSS</h2>
<p>Steven Bradley dives into CSS best practices and introduces us to the <a href="http://bem.github.com/bem-method/pages/beginning/beginning.en.html">BEM approach</a> to develop websites. He argues why we should rethink some of our common CSS practices for creating scalable and maintainable websites.</p>
<p>	   <a class="ct-coll-link" href="http://www.vanseodesign.com/css/block-element-modifier/">Read it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>How to Speed Up CSS Rendering</h2>
<p>	   <a class="ct-coll-thumb" href="http://www.onextrapixel.com/2012/05/03/css-tricks-how-to-speed-up-css-rendering/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective10_09.jpg" alt="Collective10_09" title="" width="300" height="90" class="alignnone size-full wp-image-8792" /></a></p>
<p>Faraz Karimian tells us how to write our CSS efficiently for speedy browser rendering. Understand which types of rules are impactful and expensive.</p>
<p>	   <a class="ct-coll-link" href="http://www.onextrapixel.com/2012/05/03/css-tricks-how-to-speed-up-css-rendering/">Read it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Showing Product Information With CSS3 3D Transform</h2>
<p>	   <a class="ct-coll-thumb" href="http://www.webstuffshare.com/2012/04/showing-product-information-with-css3-3d-transform/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective10_10.jpg" alt="Collective10_10" title="" width="250" height="115" class="alignnone size-full wp-image-8793" /></a></p>
<p>In this in-depth tutorial, Hidayat Sagita will show you how to create some magic with CSS 3D Transforms.</p>
<p>	   <a class="ct-coll-link" href="http://www.webstuffshare.com/2012/04/showing-product-information-with-css3-3d-transform/">Read it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Creating Android Dock Using jQuery &amp; CSS3</h2>
<p>	   <a class="ct-coll-thumb" href="http://www.webstuffshare.com/2012/05/creating-android-dock-using-jquery-css3/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective10_11.jpg" alt="Collective10_11" title="" width="300" height="80" class="alignnone size-full wp-image-8794" /></a></p>
<p>Another superb tutorial by Hidayat Sagita where he shows us how to create the Android dock using CSS3 and some jQuery awesomeness.</p>
<p>	   <a class="ct-coll-link" href="http://www.webstuffshare.com/2012/05/creating-android-dock-using-jquery-css3/">Read it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Responsive design – harnessing the power of media queries</h2>
<p>	   <a class="ct-coll-thumb" href="http://googlewebmastercentral.blogspot.pt/2012/04/responsive-design-harnessing-power-of.html"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective10_13.jpg" alt="Collective10_13" title="" width="300" height="288" class="alignnone size-full wp-image-8796" /></a></p>
<p>Responsive web design from Google&#8217;s perspective: get some important insight on how responsiveness is realized and how to use media queries.</p>
<p>	   <a class="ct-coll-link" href="http://googlewebmastercentral.blogspot.pt/2012/04/responsive-design-harnessing-power-of.html">Read it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Pilaca Free Font</h2>
<p>	   <a class="ct-coll-thumb" href="http://www.behance.net/gallery/Pilaca-Free-Font/3743257"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective10_15.jpg" alt="Collective10_15" title="" width="250" height="176" class="alignnone size-full wp-image-8798" /></a></p>
<p>Pilaca is a free display font designed by Pier Paolo.  It is quite powerful in 3d applications. </p>
<p>	   <a class="ct-coll-link" href="http://www.behance.net/gallery/Pilaca-Free-Font/3743257">Get it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Subtle Grunge Minimal Iconset</h2>
<p>	   <a class="ct-coll-thumb" href="http://www.rshahin.com/free-subtle-grunge-minimal-iconset-download-vector-files-included/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective10_16.jpg" alt="Collective10_16" title="" width="218" height="148" class="alignnone size-full wp-image-8799" /></a></p>
<p>Rofikul Islam Shahin gives us this free social media icon set (vector files included).</p>
<p>	   <a class="ct-coll-link" href="http://www.rshahin.com/free-subtle-grunge-minimal-iconset-download-vector-files-included/">Get it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Icon Design in 5 Steps &#8211; Free Icon Set from Ramotion</h2>
<p>	   <a class="ct-coll-thumb" href="http://abduzeedo.com/icon-design-5-steps-free-icon-set-ramotion"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective10_17.jpg" alt="Collective10_17" title="" width="150" height="63" class="alignnone size-full wp-image-8800" /></a></p>
<p>Learn the main steps of icon design and see the beautiful end result. Denis Pakhaliuk from Ramotion writes about the icon creation process and offers a free icon set for download on Abduzeedo.</p>
<p>	   <a class="ct-coll-link" href="http://abduzeedo.com/icon-design-5-steps-free-icon-set-ramotion">Read it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Toggles, Buttons and Sliders UI Redux PSD</h2>
<p>	   <a class="ct-coll-thumb" href="http://dribbble.com/shots/546854-Toggles-Buttons-and-Sliders-UI-Redux"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective10_18.jpg" alt="Collective10_18" title="" width="300" height="223" class="alignnone size-full wp-image-8801" /></a></p>
<p>A beautiful set of useful UI Elements from Michael Donovan.</p>
<p>	   <a class="ct-coll-link" href="http://dribbble.com/shots/546854-Toggles-Buttons-and-Sliders-UI-Redux">Get it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Viewport Sized Typography</h2>
<p>	   <a class="ct-coll-thumb" href="http://css-tricks.com/viewport-sized-typography/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/05/Collective10_04.jpg" alt="Collective10_04" title="" width="100" height="132" class="alignnone size-full wp-image-8787" /></a></p>
<p>Chris Coyier introduces the new CSS3 values for relative lengths: vw, vh, and vmin. They are not quite supported yet, but you can get an idea how powerful and useful they will be for responsive web design.</p>
<p>	   <a class="ct-coll-link" href="http://css-tricks.com/viewport-sized-typography/">Read it</a><br />
   </article>
</div>
]]></content:encoded>
			<wfw:commentRss>http://tympanus.net/codrops/collective/collective-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Collective #9</title>
		<link>http://tympanus.net/codrops/collective/collective-9/</link>
		<comments>http://tympanus.net/codrops/collective/collective-9/#comments</comments>
		<pubDate>Mon, 30 Apr 2012 15:25:24 +0000</pubDate>
		<dc:creator>Mary Lou</dc:creator>
				<category><![CDATA[CSS3]]></category>
		<category><![CDATA[inspiration]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[logo]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://tympanus.net/codrops/?post_type=collective&#038;p=8704</guid>
		<description><![CDATA[Logo Inspiration * Tutorial Craziness * Hip Skeumorphism * Free Social Icons * CSS3 Goodness * Easybook]]></description>
			<content:encoded><![CDATA[<div class="ct-coll-item">
<article>
<h2>A Pure CSS3 Cycling Slideshow</h2>
<p>	   <a class="ct-coll-thumb" href="http://coding.smashingmagazine.com/2012/04/25/pure-css3-cycling-slideshow/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/04/Collective9_01.jpg" alt="Collective9_01" title="" width="300" height="141" class="alignnone size-full wp-image-8714" /></a></p>
<p>In this detailed in-depth tutorial, Alessio Atzeni shows us how to create an infinitely looping slider of images using only CSS3 animation.</p>
<p>	   <a class="ct-coll-link" href="http://coding.smashingmagazine.com/2012/04/25/pure-css3-cycling-slideshow/">Read it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>TouchTouch – A Touch Optimized Gallery Plugin</h2>
<p>	   <a class="ct-coll-thumb" href="http://tutorialzine.com/2012/04/mobile-touch-gallery/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/04/Collective9_02.jpg" alt="Collective9_02" title="" width="200" height="159" class="alignnone size-full wp-image-8715" /></a></p>
<p>Martin Angelov shares his newest experiment with us: a jQuery plugin that turns a collection of photos on a website into a touch-friendly mobile gallery. It was designed with iOS and Android in mind.</p>
<p>	   <a class="ct-coll-link" href="http://tutorialzine.com/2012/04/mobile-touch-gallery/">Get it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>No Cookie Law</h2>
<p>	   <a class="ct-coll-thumb" href="http://nocookielaw.com/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/04/Collective9_03.jpg" alt="Collective9_03" title="" width="300" height="94" class="alignnone size-full wp-image-8716" /></a></p>
<p>Please take a moment to get familiar with this new law of the European Union. The law makes the use of web cookies illegal in Europe without asking people for permission first. This will negatively impact user experience and not solve any privacy issues. <strong>Please spread the word to raise awareness and sign the petition in order to make a change.</strong> Also, read <a href="http://speckyboy.com/2012/04/27/no-to-the-cookie-law/">this article</a> on Speckyboy about the campaign.</p>
<p>	   <a class="ct-coll-link" href="http://nocookielaw.com/">Check it out</a><br />
   </article>
</div>
<div class="ct-coll-item ct-coll-item-multi ct-coll-item-dribbble">
<nav>
		<a href="#" class="ct-coll-nav-prev">Prev</a><br />
		<a href="#" class="ct-coll-nav-next">Next</a><br />
	</nav>
<article>
<h2>Logo Inspiration from Dribbble</h2>
<p>		<a class="ct-coll-thumb" href="http://dribbble.com/shots/502606-Antigone-Identity"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/04/Collective9_DribbbleLogo01.jpg" alt="Collective9_DribbbleLogo01" title="" width="330" height="248" class="alignnone size-full wp-image-8728" /></a></p>
<p>Antigone Identity by Bruno Fernandes</p>
</article>
<article>
<h2>Logo Inspiration from Dribbble</h2>
<p>		<a class="ct-coll-thumb" href="http://dribbble.com/shots/536098-Dog-Show"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/04/Collective9_DribbbleLogo02.jpg" alt="Collective9_DribbbleLogo02" title="" width="330" height="248" class="alignnone size-full wp-image-8729" /></a></p>
<p>Dog Show by Den Parukedonos</p>
</article>
<article>
<h2>Logo Inspiration from Dribbble</h2>
<p>		<a class="ct-coll-thumb" href="http://dribbble.com/shots/529340-Waterdrops-logo"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/04/Collective9_DribbbleLogo03.jpg" alt="Collective9_DribbbleLogo03" title="" width="330" height="248" class="alignnone size-full wp-image-8730" /></a></p>
<p>Waterdrops Logo by Steffan Lund</p>
</article>
<article>
<h2>Logo Inspiration from Dribbble</h2>
<p>		<a class="ct-coll-thumb" href="http://dribbble.com/shots/529844-Zemelyshka"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/04/Collective9_DribbbleLogo04.jpg" alt="Collective9_DribbbleLogo04" title="" width="330" height="248" class="alignnone size-full wp-image-8731" /></a></p>
<p>Zemelyshka by Igor_Eezo</p>
</article>
<article>
<h2>Logo Inspiration from Dribbble</h2>
<p>		<a class="ct-coll-thumb" href="http://dribbble.com/shots/534094-Weldworks5"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/04/Collective9_DribbbleLogo05.jpg" alt="Collective9_DribbbleLogo05" title="" width="330" height="248" class="alignnone size-full wp-image-8732" /></a></p>
<p>Weldworks5 by Shannon Hatch</p>
</article>
<article>
<h2>Logo Inspiration from Dribbble</h2>
<p>		<a class="ct-coll-thumb" href="http://dribbble.com/shots/534727-C"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/04/Collective9_DribbbleLogo06.jpg" alt="Collective9_DribbbleLogo06" title="" width="330" height="248" class="alignnone size-full wp-image-8733" /></a></p>
<p>C by Ivan Bobrov</p>
</article>
<article>
<h2>Logo Inspiration from Dribbble</h2>
<p>		<a class="ct-coll-thumb" href="http://dribbble.com/shots/537236-Bakers-At-Dawn"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/04/Collective9_DribbbleLogo07.jpg" alt="Collective9_DribbbleLogo07" title="" width="330" height="248" class="alignnone size-full wp-image-8734" /></a></p>
<p>Bakers At Dawn by Becky Weykamp</p>
</article>
<article>
<h2>Logo Inspiration from Dribbble</h2>
<p>		<a class="ct-coll-thumb" href="http://dribbble.com/shots/533030-Peacock"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/04/Collective9_DribbbleLogo08.jpg" alt="Collective9_DribbbleLogo08" title="" width="330" height="248" class="alignnone size-full wp-image-8735" /></a></p>
<p>Peacock by Dalius Stuoka</p>
</article>
<article>
<h2>Logo Inspiration from Dribbble</h2>
<p>		<a class="ct-coll-thumb" href="http://dribbble.com/shots/536197-BIRDLOGO"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/04/Collective9_DribbbleLogo09.jpg" alt="Collective9_DribbbleLogo09" title="" width="330" height="248" class="alignnone size-full wp-image-8736" /></a></p>
<p>BIRDLOGO by Dominik Schmidt</p>
</article>
<article>
<h2>Logo Inspiration from Dribbble</h2>
<p>		<a class="ct-coll-thumb" href="http://dribbble.com/shots/537714-Nerds-Night-Out-Logo"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/04/Collective9_DribbbleLogo10.jpg" alt="Collective9_DribbbleLogo10" title="" width="330" height="248" class="alignnone size-full wp-image-8737" /></a></p>
<p>Nerds Night Out Logo by Jared Bell</p>
</article>
</div>
<div class="ct-coll-item">
<article>
<h2>CSS3 Structural Pseudo-class Expressions Explained</h2>
<p>	   <a class="ct-coll-thumb" href="http://www.impressivewebs.com/css3-pseudo-class-expressions/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/04/Collective9_04.jpg" alt="Collective9_04" title="" width="270" height="72" class="alignnone size-full wp-image-8717" /></a></p>
<p>Learn how pseudo-classes that use a function-like syntax (like for example <em>li:nth-child(4n+2) and others)</em> work. </p>
<p>	   <a class="ct-coll-link" href="http://www.impressivewebs.com/css3-pseudo-class-expressions/">Read it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Interactive Menu with CSS3 &amp; jQuery</h2>
<p>	   <a class="ct-coll-thumb" href="http://www.red-team-design.com/interactive-menu-with-css3-jquery"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/04/Collective9_05.jpg" alt="Collective9_05" title="" width="140" height="87" class="alignnone size-full wp-image-8718" /></a></p>
<p>In this tutorial you will learn how to create a nice menu that will expand its items once you click on them. It uses some CSS3 goodness and also jQuery.</p>
<p>	   <a class="ct-coll-link" href="http://www.red-team-design.com/interactive-menu-with-css3-jquery">Read it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Cubism.js</h2>
<p>	   <a class="ct-coll-thumb" href="http://square.github.com/cubism/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/04/Collective9_06.jpg" alt="Collective9_06" title="" width="260" height="137" class="alignnone size-full wp-image-8719" /></a></p>
<p>This powerful <a href="http://mbostock.github.com/d3/">D3</a> plugin will allow you to create better real-time visualizations of time series. It can pull data from several sources, such as <a href="http://graphite.wikidot.com/">Graphite</a> and <a href="http://square.github.com/cube/">Cube</a>.</p>
<p>	   <a class="ct-coll-link" href="http://square.github.com/cubism/">Check it out</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Skeumorphism and Storytelling</h2>
<p>	   <a class="ct-coll-thumb" href="http://tobiasahlin.com/blog/skeumorphism-and-storytelling/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/04/Collective9_07.jpg" alt="Collective9_07" title="" width="300" height="160" class="alignnone size-full wp-image-8720" /></a></p>
<p>Read about what skeumorphism has to do with storytelling and how usability benefits with skeuomorphic design despite the critique of &#8220;making digital things look like real things&#8221;.</p>
<p>	   <a class="ct-coll-link" href="http://tobiasahlin.com/blog/skeumorphism-and-storytelling/">Read it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Free Social Icon Pack</h2>
<p>	   <a class="ct-coll-thumb" href="http://www.onextrapixel.com/2012/04/24/freebies-social-icons-pack-for-designers-and-developers/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/04/Collective9_08.jpg" alt="Collective9_08" title="" width="140" height="98" class="alignnone size-full wp-image-8721" /></a></p>
<p>A nice social media icon set from Onextrapixel, made by Stéphanie Walter.</p>
<p>	   <a class="ct-coll-link" href="http://www.onextrapixel.com/2012/04/24/freebies-social-icons-pack-for-designers-and-developers/">Get it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Circular Thumbnail Gallery With CSS</h2>
<p>	   <a class="ct-coll-thumb" href="http://designshack.net/articles/css/circlegallery/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/04/Collective9_09.jpg" alt="Collective9_09" title="" width="200" height="99" class="alignnone size-full wp-image-8722" /></a></p>
<p>In this tutorial you will learn how to create a thumbnail gallery with circular thumbnails that animate on hover.</p>
<p>	   <a class="ct-coll-link" href="http://designshack.net/articles/css/circlegallery/">Read it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Easybook</h2>
<p>	   <a class="ct-coll-thumb" href="http://easybook-project.org/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/04/Collective9_10.jpg" alt="Collective9_10" title="" width="300" height="169" class="alignnone size-full wp-image-8723" /></a></p>
<p>Easybook is an application that lets you easily publish books in various electronic formats. It was designed to publish technical programming books, but it can be used for publishing novels, manuals, technical books and websites. It was released under MIT open source license, so you can use it freely and modify it.</p>
<p>	   <a class="ct-coll-link" href="http://easybook-project.org/">Get it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Audio Player in HTML5 &amp; CSS3</h2>
<p>	   <a class="ct-coll-thumb" href="http://designmodo.com/audio-player/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/04/Collective9_11.jpg" alt="Collective9_11" title="" width="200" height="70" class="alignnone size-full wp-image-8724" /></a></p>
<p>Learn how to create a beautiful audio player using MediaElement.js in this tutorial. The interface is designed using the <a href="http://designmodo.com/impressionist/">Impressionist UI</a>.</p>
<p>	   <a class="ct-coll-link" href="http://designmodo.com/audio-player/">Read it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Transitions Only After Page Load</h2>
<p>Learn how to load CSS transitions only after the page is loaded with this little trick.</p>
<p>	   <a class="ct-coll-link" href="http://css-tricks.com/transitions-only-after-page-load/">Read it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Accordion Image Gallery with only CSS</h2>
<p>	   <a class="ct-coll-thumb" href="http://speckyboy.com/2012/04/25/how-to-build-an-accordion-image-gallery-with-only-css/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/04/Collective9_12.jpg" alt="Collective9_12" title="" width="150" height="69" class="alignnone size-full wp-image-8725" /></a></p>
<p>Heiko Stiegert shows us how to create a CSS-only accordion image gallery using the CSS3 pseudo-classes :target and :not(). </p>
<p>	   <a class="ct-coll-link" href="http://speckyboy.com/2012/04/25/how-to-build-an-accordion-image-gallery-with-only-css/">Read it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Koottam Social jQuery Plugin</h2>
<p>	   <a class="ct-coll-thumb" href="http://jobyj.in/koottam-jquery-plugin/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/04/Collective9_13.jpg" alt="Collective9_13" title="" width="200" height="120" class="alignnone size-full wp-image-8726" /></a></p>
<p>This jQuery Plugin will display your social links together with those interesting numbers. It is themeable, very easy to use and it comes with some useful options.</p>
<p>	   <a class="ct-coll-link" href="http://jobyj.in/koottam-jquery-plugin/">Get it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Real Shadow</h2>
<p>	   <a class="ct-coll-thumb" href="http://indamix.github.com/real-shadow/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/04/Collective9_14.jpg" alt="Collective9_14" title="" width="190" height="117" class="alignnone size-full wp-image-8727" /></a></p>
<p>With this cool jQuery Plugin you can cast photorealistic shadows.</p>
<p>	   <a class="ct-coll-link" href="http://indamix.github.com/real-shadow/">Get it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>The Two-Click Rule</h2>
<p>A very interesting read about the visitors&#8217; behavior of a corporate website and what implications it has for designing. </p>
<p>	   <a class="ct-coll-link" href="http://nform.com/blog/2012/04/the-two-click-rule">Read it</a><br />
   </article>
</div>
]]></content:encoded>
			<wfw:commentRss>http://tympanus.net/codrops/collective/collective-9/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Audio Slideshow with jPlayer</title>
		<link>http://tympanus.net/codrops/2012/04/24/audio-slideshow-with-jplayer/</link>
		<comments>http://tympanus.net/codrops/2012/04/24/audio-slideshow-with-jplayer/#comments</comments>
		<pubDate>Tue, 24 Apr 2012 16:26:59 +0000</pubDate>
		<dc:creator>Tyler Craft</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[jplayer]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[slideshow]]></category>

		<guid isPermaLink="false">http://tympanus.net/codrops/?p=8581</guid>
		<description><![CDATA[Today we'll share an audio slideshow with you, i.e. a slideshow that will be synced with some audio. We are using the open source audio framework jPlayer.]]></description>
			<content:encoded><![CDATA[<p><a href="http://tympanus.net/Development/AudioSlideshow/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/04/AudioSlideshowwithjPlayer.jpg" alt="Audio Slideshow with jPlayer" title="Audio Slideshow with jPlayer" width="580" height="315" class="alignnone size-full wp-image-8609" /></a></p>
<p><a class="demo" href="http://tympanus.net/Development/AudioSlideshow/">View demo</a> <a class="download" href="http://tympanus.net/Development/AudioSlideshow/AudioSlideshow.zip">Download source</a></p>
<p>Today we&#8217;ll share an audio slideshow with you. Using the open source audio framework <a href="http://jplayer.org/" target="_blank">jPlayer</a> the slideshow will show images and play sound, changing the images at specified moments of the song/audio. While we&#8217;ll demonstrate a photo slideshow here, it is not limited to photos. It could also use div tags containing any kind of markup whatsoever.</p>
<p>The photos used in this tutorial are from the <a href="http://www.flickr.com/photos/library_of_congress/sets/72157612249760312/" target="_blank">Library of Congress Flickr set</a>. The mp3 is a Kurt Vile song that was downloaded from the <a href="http://freemusicarchive.org/music/Kurt_Vile/" target="_blank">Free Music Archive</a>, a wonderful resource for Creative Commons Licensed songs.</p>
<p>So let&#8217;s take a look at how it&#8217;s done!</p>
<div id="bsap_1266918" class="bsarocks bsap_af25dfd2f1908889af7a1aa5f4dcbd9e"></div><div style="clear:both;"></div>
<h3>The Markup</h3>
<p>We will require a container div, the class in the example is &#8216;audio-slideshow&#8217;, however it can be whatever you&#8217;d like. This tag has two HTML5 data attributes:</p>
<ol>
<li><strong>data-audio</strong>: This is the path to the audio file</li>
<li><strong>data-audio-duration</strong>: This is the length of the audio file in seconds. This is required so we can position the markers on the timeline without having to load the audio file into the browser</li>
</ol>
<pre class="brush:xml">
&lt;div class="audio-slideshow" data-audio="audio.mp3" data-audio-duration="161"&gt;
	&lt;div class="audio-slides"&gt;
		&lt;img src="image.jpg" data-thumbnail="thumbnail.jpg" data-slide-time="0"&gt;
		&lt;img src="image.jpg" data-thumbnail="thumbnail.jpg" data-slide-time="1"&gt;
	&lt;/div&gt;
	&lt;div class="audio-control-interface">
		&lt;div class="play-pause-container">
			&lt;a href="javascript:;" class="audio-play" tabindex="1">Play&lt;/a>
			&lt;a href="javascript:;" class="audio-pause" tabindex="1">Pause&lt;/a>
		&lt;/div>
		&lt;div class="time-container">
			&lt;span class="play-time">&lt;/span> / &lt;span class="total-time">&lt;/span>
		&lt;/div>

		&lt;div class="timeline">
			&lt;div class="timeline-controls">&lt;/div>
			&lt;div class="playhead">&lt;/div>
		&lt;/div>

	 	&lt;div class="jplayer">&lt;/div>
	&lt;/div>
&lt;/div>
</pre>
<p>Within the <em>.audio-slideshow</em> container is a div with a class of <em>.audio-slides</em>. The child tags within this div can be anything you want. In this particular example, they are images. However, they could be divs that contain text. They can be whatever tag you want, as long as they have two HTML5 data attributes:</p>
<ol>
<li><strong>data-thumbnail</strong>: This is the thumbnail that will show up when someone mouses over the marker</li>
<li><strong>data-slide-time</strong>: This is the time, in seconds, when this slide should be displayed.</li>
</ol>
<p>The other tags represent the other items within the player: The play and pause button, the playhead and timeline&#8230;etc. The plugin only needs to know their class or id names.</p>
<h3>The CSS</h3>
<pre class="brush:css">
/* Component style */

.audio-slideshow {
	width: 640px;
	height: 520px;
	position: relative;
	margin: 0 auto;
}

.audio-slideshow .audio-slides {
	position: relative;
}

.audio-slideshow .audio-slides img {
	display: block;
	position: absolute;
	top: 0; left: 0;
}

.audio-slideshow .audio-control-interface {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 48px;
}

.audio-slideshow .play-pause-container, .audio-slideshow .time-container {
	position: absolute;
	bottom: 25px;
	height: 18px;
	font-weight: bold;
	color: #777;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
}

.audio-slideshow .play-pause-container a {
	outline: none;
	text-indent: -99999px;
	width: 16px;
	height: 16px;
	position: absolute;
}
.audio-slideshow .play-pause-container a.audio-play {
	background: transparent url(../images/play.png) no-repeat center center;
}

.audio-slideshow .play-pause-container a.audio-pause {
	background: transparent url(../images/pause.png) no-repeat center center;
}

.audio-slideshow .audio-control-interface .time-container {
	right: 3px;
}

.audio-slideshow .timeline {
	position: absolute;
	width: 100%;
	background-color: #fff;
	height: 20px;
	bottom: 0;
	left: 0;
	box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.audio-slideshow .timeline .playhead {
	position: absolute;
	height: 20px;
	background: #333;
	width: 0;
}

.marker {
	width: 10px;
	height: 10px;
	border-radius: 5px;
	box-shadow: 1px 1px 1px rgba(0,0,0,0.4) inset;
	position: absolute;
	background: #B8BAC6;
	top: 5px;
}

.marker span {
	padding: 5px;
	position: absolute;
	bottom: 20px;
	opacity: 0;
	left: -50px;
	z-index: -1;
	box-shadow: 1px 1px 4px rgba(0,0,0,0.5);
	background: linear-gradient(top, #f5f6f6 0%,#dbdce2 21%,#b8bac6 49%,#dddfe3 80%,#f5f6f6 100%);
	transition: all 0.3s ease-in-out;
}

.marker span img {
	display: block;
}

.marker:hover span {
	opacity: 1;
	z-index: 100;
}
</pre>
<p>As you can see from the CSS, pretty much everything can be customized. The timeline could be larger, smaller, above or even on top of the slides. The slides could be scaled to the size of the browser and the markers could be graphics instead of CSS circles.</p>
<h3>The Javascript</h3>
<pre class="brush:xml">
&lt;script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js">&lt;/script>
&lt;script>window.jQuery || document.write('&gt;script src="/lib/js/jquery-1.7.1.min.js"&gt;&lt;\/script&gt;')&lt;/script&gt;
&lt;script src="jplayer/jquery.jplayer.js"&gt;&lt;/script&gt;
&lt;script src="js/jquery.audioslideshow.js"&gt;&lt;/script&gt;
&lt;script&gt;
	$(document).ready(function() {
		$('.audio-slideshow').audioSlideshow();
	});
&lt;/script&gt;
</pre>
<p>You will need three scripts to set this up:</p>
<ol>
<li><a href="http://jquery.com/" traget=_blank>jQuery</a> (although I recommend utilizing Google&#8217;s CDN as shown above)</li>
<li><a href="http://jplayer.org" target=_blank>jPlayer</a></li>
<li>the AudioSlideshow plugin</li>
</ol>
<p>Once those scripts are added to the page, you just need to call <strong>audioSlideshow</strong> on any tag that you want.</p>
<p>If you&#8217;ve changed any of the tag selectors, you can let the plugin know this by setting any of the following settings:</p>
<pre class="brush:js">
&lt;script&gt;
	$(document).ready(function() {
		$('.audio-slideshow').audioSlideshow(
			{
				jPlayerPath: "/lib/swf",
				suppliedFileType: "mp3",
				playSelector: ".audio-play",
				pauseSelector: ".audio-pause",
				currentTimeSelector: ".play-time",
				durationSelector: ".total-time",
				playheadSelector: ".playhead",
				timelineSelector: ".timeline"
			}
		);
	});
&lt;/script&gt;
</pre>
<p>Audio Slideshow with jPlayer on <a href="https://github.com/tylercraft/jquery.audioslideshow">Github</a>.</p>
<p><a class="demo" href="http://tympanus.net/Development/AudioSlideshow/">View demo</a> <a class="download" href="http://tympanus.net/Development/AudioSlideshow/AudioSlideshow.zip">Download source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://tympanus.net/codrops/2012/04/24/audio-slideshow-with-jplayer/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Direction-Aware Hover Effect with CSS3 and jQuery</title>
		<link>http://tympanus.net/codrops/2012/04/09/direction-aware-hover-effect-with-css3-and-jquery/</link>
		<comments>http://tympanus.net/codrops/2012/04/09/direction-aware-hover-effect-with-css3-and-jquery/#comments</comments>
		<pubDate>Mon, 09 Apr 2012 15:50:50 +0000</pubDate>
		<dc:creator>Mary Lou</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[hover]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[slide]]></category>
		<category><![CDATA[thumbnails]]></category>

		<guid isPermaLink="false">http://tympanus.net/codrops/?p=8328</guid>
		<description><![CDATA[How to create a direction-aware hover effect using CSS3 and jQuery. The idea is to slide in an overlay from the direction we are moving with the mouse.]]></description>
			<content:encoded><![CDATA[<p><a href="http://tympanus.net/TipsTricks/DirectionAwareHoverEffect/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/04/DirectionAwareHover.jpg" alt="Direction Aware Hover Effect" title="Direction Aware Hover Effect" width="580" height="315" class="alignnone size-full wp-image-8342" /></a></p>
<p><a class="demo" href="http://tympanus.net/TipsTricks/DirectionAwareHoverEffect/">View demo</a> <a class="download" href="http://tympanus.net/TipsTricks/DirectionAwareHoverEffect/DirectionAwareHoverEffect.zip">Download source</a></p>
<p>In today&#8217;s tip we&#8217;ll show you how to create a direction-aware hover effect using some CSS3 goodness and jQuery. The idea is to have a little overlay slide in on top of some thumbnails from the direction that we are coming from with the mouse. When we &#8220;leave&#8221; the element, the overlay will slide out to that direction, following our mouse. This will create an interesting-looking effect. </p>
<p>We&#8217;ll use an unordered list for the thumbnails and the description overlays:</p>
<pre class="brush:xml">
&lt;ul id="da-thumbs" class="da-thumbs"&gt;
	&lt;li&gt;
		&lt;a href="http://dribbble.com/shots/502538-Natalie-Justin-Cleaning"&gt;
			&lt;img src="images/7.jpg" /&gt;
			&lt;div&gt;&lt;span&gt;Natalie &#038; Justin Cleaning by Justin Younger&lt;/span&gt;&lt;/div&gt;
		&lt;/a&gt;
	&lt;/li&gt;
	&lt;li&gt;
		&lt;!-- ... --&gt;
	&lt;/li&gt;
	&lt;!-- ... --&gt;
&lt;/ul&gt;
</pre>
<p>The list items will be floating left and have a relative positioning because we will make the description overlay absolute:</p>
<pre class="brush:css">
.da-thumbs li {
	float: left;
	margin: 5px;
	background: #fff;
	padding: 8px;
	position: relative;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.da-thumbs li a,
.da-thumbs li a img {
	display: block;
	position: relative;
}
.da-thumbs li a {
	overflow: hidden;
}
.da-thumbs li a div {
	position: absolute;
	background: rgba(75,75,75,0.7);
	width: 100%;
	height: 100%;
}
</pre>
<div id="bsap_1266918" class="bsarocks bsap_af25dfd2f1908889af7a1aa5f4dcbd9e"></div><div style="clear:both;"></div>
<p>Now, we will define some classes that we&#8217;ll then add using JavaScript. What we need is an animation class, some classes for the initial positioning of the description overlay, and two classes for the final position. We could actually do all this in JavaScript, but I like to have the style separately so that it can be manipulated or adjusted easier:</p>
<pre class="brush:css">
.da-thumbs li a div.da-animate {
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
/* Initial state classes: */
.da-slideFromTop {
	left: 0px;
	top: -100%;
}
.da-slideFromBottom {
	left: 0px;
	top: 100%;
}
.da-slideFromLeft {
	top: 0px;
	left: -100%;
}
.da-slideFromRight {
	top: 0px;
	left: 100%;
}
/* Final state classes: */
.da-slideTop {
	top: 0px;
}
.da-slideLeft {
	left: 0px;
}
</pre>
<p>What we will do is the following: depending on the place we are entering with the mouse, we&#8217;ll apply the respective &#8220;from&#8221; class which will set the correct initial position of the overlay. Then we will apply the animation class and then we add the final state class, so that the overlay slides in. When we leave the element, we will again apply the respective &#8220;from&#8221; class (although now we are actually sliding out) and remove the previous final state class. </p>
<p>So, the heart of our little plugin is the following part:</p>
<pre class="brush:js">
	this.$el.on( 'mouseenter.hoverdir, mouseleave.hoverdir', function( event ) {

		var $el			= $(this),
			evType		= event.type,
			$hoverElem	= $el.find( 'div' ),
			direction	= _self._getDir( $el, { x : event.pageX, y : event.pageY } ),
			hoverClasses= _self._getClasses( direction );

		$hoverElem.removeClass();

		if( evType === 'mouseenter' ) {

			$hoverElem.hide().addClass( hoverClasses.from );

			clearTimeout( _self.tmhover );

			_self.tmhover	= setTimeout( function() {

				$hoverElem.show( 0, function() {
					$(this).addClass( 'da-animate' ).addClass( hoverClasses.to );
				} );

			}, _self.options.hoverDelay );

		}
		else {

			$hoverElem.addClass( 'da-animate' );

			clearTimeout( _self.tmhover );

			$hoverElem.addClass( hoverClasses.from );

		}

	} );
</pre>
<p>We basically bind the &#8216;mouseenter&#8217; and &#8216;mouseleave&#8217; event to the list item and with the function <strong>_getDir</strong> we&#8217;ll get the direction  we are moving in or out (imagine the &#8220;detection&#8221; area for each direction as a rectangle divided into four triangles). All classes are removed  initially and depending on if we are entering or leaving the item, we&#8217;ll either set all three classes or just the animation class and the &#8220;from&#8221; class. </p>
<p>You&#8217;ll see that in the second demo we&#8217;ve added a little delay so that we don&#8217;t have much animations going on when we move the mouse from an extreme corner to another one.</p>
<p>I hope you enjoyed this little effect and find it useful!</p>
<p><em>Needless to say, this will only work in browsers that support CSS transitions!</em></p>
<p><a class="demo" href="http://tympanus.net/TipsTricks/DirectionAwareHoverEffect/" >View demo</a> <a class="download" href="http://tympanus.net/TipsTricks/DirectionAwareHoverEffect/DirectionAwareHoverEffect.zip">Download source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://tympanus.net/codrops/2012/04/09/direction-aware-hover-effect-with-css3-and-jquery/feed/</wfw:commentRss>
		<slash:comments>43</slash:comments>
		</item>
		<item>
		<title>Slideshow with jmpress.js</title>
		<link>http://tympanus.net/codrops/2012/04/05/slideshow-with-jmpress-js/</link>
		<comments>http://tympanus.net/codrops/2012/04/05/slideshow-with-jmpress-js/#comments</comments>
		<pubDate>Thu, 05 Apr 2012 16:17:16 +0000</pubDate>
		<dc:creator>Mary Lou</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[3d]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[responsive]]></category>

		<guid isPermaLink="false">http://tympanus.net/codrops/?p=8265</guid>
		<description><![CDATA[Today we will create a slideshow using jmpress.js. The jQuery plugin that is based on impress.js will allow us to use some interesting 3D effects for the slides.]]></description>
			<content:encoded><![CDATA[<p><a href="http://tympanus.net/Tutorials/SlideshowJmpress/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/04/SlideshowJmpress.jpg" alt="Slideshow with Jmpress" title="Slideshow with Jmpress" width="580" height="315" class="alignnone size-full wp-image-8272" /></a></p>
<p><a class="demo" href="http://tympanus.net/Tutorials/SlideshowJmpress/">View demo</a> <a class="download" href="http://tympanus.net/Tutorials/SlideshowJmpress/SlideshowJmpress.zip">Download source</a></p>
<p>You have for sure already seen <a href="http://bartaz.github.com/impress.js/">impress.js</a>, a really great JavaScript library for creating extraordinary 3D presentations. The jQuery port <a href="http://shama.github.com/jmpress.js">jmpress.js</a> let&#8217;s you use this library as a jQuery plugin with some added options. We want to show you today how to use this great plugin to create a responsive slideshow with 3D effects. </p>
<p>The icons used in the demo is by <a href="http://blog.artcore-illustrations.de/aicons/">Artcore Illustration</a> and they are licensed under the<br />
<a href="http://creativecommons.org/licenses/by-nc-nd/3.0/">Creative Commons BY-NC-ND 3.0 license</a>.</p>
<p>So, let&#8217;s start!</p>
<div id="bsap_1266918" class="bsarocks bsap_af25dfd2f1908889af7a1aa5f4dcbd9e"></div><div style="clear:both;"></div>
<h3>The Markup</h3>
<p>We will have a main container which is a section with the class <strong>jms-slideshow</strong>. Inside, we&#8217;ll have sevaral divisions with the class <strong>step</strong>. These will be our single slides. Each step or slide will get a data-color class for it&#8217;s background color and some data attributes of jmpress.js. You can find all (inline) options here: <a href="http://shama.github.com/jmpress.js/docs/#options">jmpress.js Documentation &#8211; Options</a>. We&#8217;ll use some attributes in order to define the position and rotation of the slides in 3D space:</p>
<pre class="brush:xml">
&lt;section id="jms-slideshow" class="jms-slideshow"&gt;

	&lt;div class="step" data-color="color-1"&gt;
		&lt;div class="jms-content"&gt;
			&lt;h3&gt;Some headline&lt;/h3&gt;
			&lt;p&gt;Some text&lt;/p&gt;
			&lt;a class="jms-link" href="#"&gt;Read more&lt;/a&gt;
		&lt;/div&gt;
		&lt;img src="images/1.png" /&gt;
	&lt;/div&gt;

	&lt;div class="step" data-color="color-2" data-y="500" data-scale="0.4" data-rotate-x="30"&gt;
		&lt;!-- ... --&gt;
	&lt;/div&gt;

	&lt;!-- ... --&gt;

&lt;/section&gt;
</pre>
<p>Let&#8217;s take care of the style.</p>
<h3>The CSS</h3>
<p>Since we want to make the slideshow responsive, we will give the main container a percentage width, with some min and max values:</p>
<pre class="brush:css">
.jms-slideshow {
	position: relative;
	width: 80%;
	max-width: 1400px;
	min-width: 640px;
	margin: 20px auto;
	height: 460px;
}
</pre>
<p>The next wrapper is dynamically added, and this will be the visible slideshow wrapper:</p>
<pre class="brush:css">
.jms-wrapper {
	width: auto;
	min-width: 600px;
	height: 440px;
	background-color: #fff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
	-webkit-background-clip: padding;
	-moz-background-clip: padding;
	background-clip: padding-box;
	border: 10px solid #fff;
	border: 10px solid rgba(255, 255, 255, 0.9);
	outline: none;
	transition: background-color 1s linear;
}
</pre>
<p>The background color classes will be applied to the previous wrapper. The class is defined in the data atrribute <strong>data-color</strong> in each step. This gives us the possibility to add a background color for each slide and change it with a transition. (The duration of the transition will be re-defined in the JavaScript.)</p>
<pre class="brush:css">
.color-1 {
	background-color: #E3D8FF;
	background-color: rgba(227, 216, 268, 1);
}
.color-2 {
	background-color: #EBBBBC;
	background-color: rgba(235, 187, 188, 1);
}
.color-3 {
	background-color: #EED9C0;
	background-color: rgba(238, 217, 192, 1);
}
.color-4 {
	background-color: #DFEBB1;
	background-color: rgba(223, 235, 177, 1);
}
.color-5{
	background-color: #C1E6E5;
	background-color: rgba(193, 230, 229, 1);
}
</pre>
<p>The steps will have the following style:</p>
<pre class="brush:css">
.step {
	width: 900px;
    height: 420px;
	display: block;
	transition: opacity 1s;
}
.step:not(.active) {
	opacity: 0;
}
</pre>
<p>Inactive steps will have 0 opacity. When the slides are moved, the opacity will be set to 1.</p>
<p>The inner parts of the slides will have the following style:</p>
<pre class="brush:css">
.jms-content{
	margin: 0px 370px 0px 20px;
	position: relative;
	clear: both;
}
.step h3{
	color: #fff;
	font-size: 52px;
	font-weight: bold;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
	margin: 0;
	padding: 60px 0 10px 0;
}
.step p {
	color: #fff;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
	font-size: 34px;
	font-weight: normal;
	position: relative;
	margin: 0;
}
</pre>
<p>The &#8220;read more&#8221; link will have a little transition by itself: once a step becomes active, it will move up wile fading in:</p>
<pre class="brush:css">
a.jms-link{
	color: #fff;
	text-transform: uppercase;
	background: linear-gradient(top, #969696 0%,#727272 100%);
	padding: 8px 15px;
	display: inline-block;
	font-size: 16px;
	font-weight: bold;
	color: #fff;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
	box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
	border: 1px solid #444;
	border-radius: 4px;
	opacity: 1;
	margin-top: 40px;
	clear: both;
	transition: all 0.4s ease-in-out 1s;
}
.step:not(.active) a.jms-link{
	opacity: 0;
	margin-top: 80px;
}
</pre>
<p>The image will be positioned absolutely on the right side of each slide:</p>
<pre class="brush:css">
.step img{
	position: absolute;
	right: 0px;
	top: 30px;
}
</pre>
<p>The navigation dots will positioned at the bottom:</p>
<pre class="brush:css">
.jms-dots{
	width: 100%;
	position: absolute;
	text-align: center;
	left: 0px;
	bottom: 20px;
	z-index: 2000;
	user-select: none;
}
</pre>
<p>With &#8220;user-select: none&#8221; the text of an element and its sub-elements will appear as if they can&#8217;t be selected.<br />
The span will be a dark little dot:</p>
<pre class="brush:css">
.jms-dots span{
	display: inline-block;
	position: relative;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #777;
	margin: 3px;
	cursor: pointer;
	box-shadow:
		1px 1px 1px rgba(0,0,0,0.1) inset,
		1px 1px 1px rgba(255,255,255,0.3);
}
</pre>
<p>And we&#8217;ll style a pseudo-element to look like a little white dot:</p>
<pre class="brush:css">
.jms-dots span.jms-dots-current:after{
	content: '';
	width: 8px;
	height: 8px;
	position: absolute;
	top: 2px;
	left: 2px;
	border-radius: 50%;
	background: linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%);
}
</pre>
<p>The arrow navigation spans will be positioned on the left and on the right side of the slideshow. We&#8217;ll use background images for the arrows:</p>
<pre class="brush:css">
.jms-arrows{
	user-select: none;
}
.jms-arrows span{
	position: absolute;
	top: 50%;
	margin-top: -40px;
	height: 80px;
	width: 30px;
	cursor: pointer;
	z-index: 2000;
	box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
	border-radius: 3px;
}
.jms-arrows span.jms-arrows-prev{
	background: #fff url(../images/arrow_left.png) no-repeat 50% 50%;
	left: -10px;
}
.jms-arrows span.jms-arrows-next{
	background: #fff url(../images/arrow_right.png) no-repeat 50% 50%;
	right: -10px;
}
</pre>
<p>Now we have styled the slideshow. Let&#8217;s move on to the JavaScript!</p>
<h3>The JavaScript</h3>
<p>We will be using the jmpress.js plugin to create our slideshow. Although you can make use of a lot of its functionality, we will just use the necessary parts to build our script. You can read more about the possibilities and options that jmpress.js offers <a href="http://shama.github.com/jmpress.js/" target="_blank">here</a>.</p>
<p>We will create a jQuery plugin for the slideshow. We can call the plugin like this:</p>
<pre class="brush:js">
$( '#jms-slider' ).jmslideshow();
</pre>
<p>The options for the jmpress plugin are defined as default options in our plugin (note that you can specify <a href="http://shama.github.com/jmpress.js/docs/#options" target="_blank">more</a> than the ones listed):</p>
<pre class="brush:js">

jmpressOpts	: {
	// set the viewport
	viewPort 		: {
		height	: 400,
		width	: 1300,
		maxScale: 1
	},
	fullscreen		: false,
	hash			: { use : false },
	mouse			: { clickSelects : false },
	keyboard		: { use : false },
	animation		: { transitionDuration : '1s' }
},
</pre>
<p>You can either change them inside the slideshow plugin, or pass a specific value when you initialize the plugin. As an example:</p>
<pre class="brush:js">

// specify the jmpress options
var jmpressOpts	= {
	animation		: { transitionDuration : '0.8s' }
};

// call the jmslideshow plugin
$( '#jms-slideshow' ).jmslideshow( $.extend( true, { jmpressOpts : jmpressOpts }, {
	autoplay	: true,
	bgColorSpeed: '0.8s',
	arrows		: false
}));
</pre>
<p>The following are the set of available options that are available for the slideshow plugin:</p>
<pre class="brush:js">

$.JMSlideshow.defaults 		= {
	// options for the jmpress plugin.
	// you can add more options...
	jmpressOpts	: {
		// set the viewport
		viewPort 		: {
			height	: 400,
			width	: 1300,
			maxScale: 1
		},
		fullscreen		: false,
		hash			: { use : false },
		mouse			: { clickSelects : false },
		keyboard		: { use : false },
		animation		: { transitionDuration : '1s' }
	},
	// for this specific plugin we will have the following options:
	// shows/hides navigation arrows
	arrows		: true,
	// shows/hides navigation dots/pages
	dots		: true,
	// each step's bgcolor transition speed
	bgColorSpeed: '1s',
	// slideshow on / off
	autoplay	: false,
	// time between transitions for the slideshow
	interval	: 3500
};
</pre>
<p>Once the slideshow plugin is called, the first function to be executed is the init function:</p>
<pre class="brush:js">

_init : function( options ) {

	this.options 		= $.extend( true, {}, $.JMSlideshow.defaults, options );

	// the slides
	this.$slides		= $('#jms-slider').children('div');
	// total number of slides
	this.slidesCount	= this.$slides.length;
	// step's bgcolor
	this.colors			= $.map( this.$slides, function( el, i ) { return $( el ).data( 'color' ); } ).join( ' ' );
	// build the necessary structure to run jmpress
	this._layout();
	// initialize the jmpress plugin
	this._initImpress();
	// if support (function implemented in jmpress plugin)
	if( this.support ) {

		// load some events
		this._loadEvents();
		// if autoplay is true start the slideshow
		if( this.options.autoplay ) {

			this._startSlideshow();

		}

	}

},
</pre>
<p>In the _layout function we are building the necessary structure for the jmpress plugin. Also, we will be adding the navigation arrows / dots in case these are set to true in the options.</p>
<pre class="brush:js">

_layout				: function() {

	// adds a specific class to each one of the steps
	this.$slides.each( function( i ) {

		$(this).addClass( 'jmstep' + ( i + 1 ) );

	} );

	// wrap the slides. This wrapper will be the element on which we will call the jmpress plugin
	this.$jmsWrapper	= this.$slides.wrapAll( '&lt;div class="jms-wrapper"/&gt;' ).parent();

	// transition speed for the wrapper bgcolor
	this.$jmsWrapper.css( {
		'-webkit-transition-duration' 	: this.options.bgColorSpeed,
		'-moz-transition-duration' 		: this.options.bgColorSpeed,
		'-ms-transition-duration' 		: this.options.bgColorSpeed,
		'-o-transition-duration' 		: this.options.bgColorSpeed,
		'transition-duration' 			: this.options.bgColorSpeed
	} );

	// add navigation arrows
	if( this.options.arrows ) {

		this.$arrows	= $( '&lt;nav class="jms-arrows"/&gt;' );

		if( this.slidesCount > 1 ) {

			this.$arrowPrev	= $( '&lt;span class="jms-arrows-prev"/&gt;' ).appendTo( this.$arrows );
			this.$arrowNext	= $( '&lt;span class="jms-arrows-next"/&gt;' ).appendTo( this.$arrows );

		}

		this.$el.append( this.$arrows )

	}

	// add navigation dots
	if( this.options.dots ) {

		this.$dots		= $( '&lt;nav class="jms-dots"/&gt;' );

		for( var i = this.slidesCount + 1; --i; ) {

			this.$dots.append( ( i === this.slidesCount ) ? '&lt;span class="jms-dots-current"/&gt;' : '&lt;span/&gt;' );

		}

		if( this.options.jmpressOpts.start ) {

			this.$start		= this.$jmsWrapper.find( this.options.jmpressOpts.start ), idxSelected = 0;

			( this.$start.length ) ? idxSelected = this.$start.index() : this.options.jmpressOpts.start = null;

			this.$dots.children().removeClass( 'jms-dots-current' ).eq( idxSelected ).addClass( 'jms-dots-current' );

		}

		this.$el.append( this.$dots )

	}

},
</pre>
<p>We will initialize the jmpress plugin in the _initImpress function. We will also redefine the &#8220;setActive&#8221; method of jmpress in order to switch the active navigation dot.</p>
<pre class="brush:js">

_initImpress		: function() {

	var _self = this;

	this.$jmsWrapper.jmpress( this.options.jmpressOpts );
	// check if supported (function from jmpress.js):
	// it adds the class not-suported to the wrapper
	this.support	= !this.$jmsWrapper.hasClass( 'not-supported' );

	// if not supported remove unnecessary elements
	if( !this.support ) {

		if( this.$arrows ) {

			this.$arrows.remove();

		}

		if( this.$dots ) {

			this.$dots.remove();

		}

		return false;

	}

	// redefine the jmpress setActive method
	this.$jmsWrapper.jmpress( 'setActive', function( slide, eventData ) {

		// change the pagination dot active class
		if( _self.options.dots ) {

			// adds the current class to the current dot/page
			_self.$dots
				 .children()
				 .removeClass( 'jms-dots-current' )
				 .eq( slide.index() )
				 .addClass( 'jms-dots-current' );

		}

		// delete all current bg colors
		this.removeClass( _self.colors );
		// add bg color class
		this.addClass( slide.data( 'color' ) );

	} );

	// add step's bg color to the wrapper
	this.$jmsWrapper.addClass( this.$jmsWrapper.jmpress('active').data( 'color' ) );

},
</pre>
<p>The _startSlideshow and _stopSlideshow will start and stop the slideshow respectively if the option autoplay is set to true.</p>
<pre class="brush:js">

// start slideshow if autoplay is true
	_startSlideshow		: function() {

		var _self	= this;

		this.slideshow	= setTimeout( function() {

			_self.$jmsWrapper.jmpress( 'next' );

			if( _self.options.autoplay ) {

				_self._startSlideshow();

			}

		}, this.options.interval );

	},
	// stops the slideshow
	_stopSlideshow		: function() {

		if( this.options.autoplay ) {

			clearTimeout( this.slideshow );
			this.options.autoplay	= false;

		}

	},
</pre>
<p>Finally, we load the events for the navigation arrows and dots. The touchend event is already defined in the jmpress plugin, but we will need to stop the slideshow in case this event is triggered: </p>
<pre class="brush:js">

_loadEvents			: function() {

	var _self = this;

	// navigation arrows
	if( this.$arrowPrev &#038;&#038; this.$arrowNext ) {

		this.$arrowPrev.on( 'click.jmslideshow', function( event ) {

			_self._stopSlideshow();

			_self.$jmsWrapper.jmpress( 'prev' );

			return false;

		} );

		this.$arrowNext.on( 'click.jmslideshow', function( event ) {

			_self._stopSlideshow();

			_self.$jmsWrapper.jmpress( 'next' );

			return false;

		} );

	}

	// navigation dots
	if( this.$dots ) {

		this.$dots.children().on( 'click.jmslideshow', function( event ) {

			_self._stopSlideshow();

			_self.$jmsWrapper.jmpress( 'goTo', '.jmstep' + ( $(this).index() + 1 ) );

			return false;

		} );

	}

	// the touchend event is already defined in the jmpress plugin.
	// we just need to make sure the slideshow stops if the event is triggered
	this.$jmsWrapper.on( 'touchend.jmslideshow', function() {

		_self._stopSlideshow();

	} );

}
</pre>
<p>And that&#8217;s it! I hope you enjoyed this tutorial and find it useful!</p>
<p><a class="demo" href="http://tympanus.net/Tutorials/SlideshowJmpress/">View demo</a> <a class="download" href="http://tympanus.net/Tutorials/SlideshowJmpress/SlideshowJmpress.zip">Download source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://tympanus.net/codrops/2012/04/05/slideshow-with-jmpress-js/feed/</wfw:commentRss>
		<slash:comments>79</slash:comments>
		</item>
		<item>
		<title>Responsive Horizontal Layout</title>
		<link>http://tympanus.net/codrops/2012/04/02/responsive-horizontal-layout/</link>
		<comments>http://tympanus.net/codrops/2012/04/02/responsive-horizontal-layout/#comments</comments>
		<pubDate>Mon, 02 Apr 2012 15:10:26 +0000</pubDate>
		<dc:creator>Mary Lou</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[horizontal]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[media queries]]></category>
		<category><![CDATA[responsive]]></category>

		<guid isPermaLink="false">http://tympanus.net/codrops/?p=8240</guid>
		<description><![CDATA[In this tutorial we'll create a horizontal website layout with individually scrollable content panels. We'll change the layout for smaller screens, making it responsive.]]></description>
			<content:encoded><![CDATA[<p><a href="http://tympanus.net/Tutorials/ResponsiveHorizontalLayout/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/04/HorizontalStackLayout.jpg" alt="Responsive Horizontal Layout" title="Responsive Horizontal Layout" width="580" height="315" class="alignnone size-full wp-image-8246" /></a></p>
<p><a class="demo" href="http://tympanus.net/Tutorials/ResponsiveHorizontalLayout/">View demo</a> <a class="download" href="http://tympanus.net/Tutorials/ResponsiveHorizontalLayout/ResponsiveHorizontalLayout.zip">Download source</a></p>
<p>Today we want to show you how to create a horizontal layout with several content panels. The idea is to make each panel individually scrollable and animate a content panel to the left of the viewport once it&#8217;s clicked or selected from the menu. The challenge is to deal with different viewport sizes meaning that we will change the layout if the screen is not wide enough in order to be stacked vertically instead of horizontally. </p>
<p>We will be using a couple of useful jQuery plugins:</p>
<ul>
<li><a href="https://github.com/balupton/history.js">History.js by Benjamin Lupton</a></li>
<li><a href="http://jscrollpane.kelvinluck.com/">jScrollPane by Kelvin Luck</a></li>
<li><a href="https://github.com/balupton/jquery-sparkle">jquery-sparkle by Benjamin Lupton</a></li>
<li><a href="http://gsgd.co.uk/sandbox/jquery/easing/">jquery.easing</a></li>
<li><a href="https://github.com/louisremi/jquery-smartresize">jquery.smartresize by Louis Remi</a></li>
</ul>
<p>In the demo we are using Charles Darwin&#8217;s <em>The Origin of Species by means of Natural Selection, 6th Edition</em> which you can find as an e-book on <a href="http://www.gutenberg.org/ebooks/2009">Project Gutenberg</a>.</p>
<div id="bsap_1266918" class="bsarocks bsap_af25dfd2f1908889af7a1aa5f4dcbd9e"></div><div style="clear:both;"></div>
<h3>The Markup</h3>
<p>The HTML will be built up of a menu that will be fixed at the left side and a container with all the individual panels inside. All will be wrapped by a main container:</p>
<pre class="brush:xml">
&lt;div id="hs-container" class="hs-container"&gt;

	&lt;!-- ... --&gt;

&lt;/div&gt;
</pre>
<p>The menu will have the following structure:</p>
<pre class="brush:xml">
&lt;aside class="hs-menu" id="hs-menu"&gt;

	&lt;div class="hs-headline"&gt;
		&lt;h1&gt;
			&lt;small&gt;The&lt;/small&gt;
			Origin &lt;small&gt;of&lt;/small&gt;
			Species
		&lt;/h1&gt;
		&lt;small&gt;6&lt;sup&gt;th&lt;/sup&gt; Edition&lt;/small&gt;
		&lt;span class="author"&gt;by Charles Darwin&lt;/span&gt;
	&lt;/div&gt;

	&lt;nav&gt;
		&lt;a href="#introduction"&gt;
			&lt;span&gt;Introduction&lt;/span&gt;
		&lt;/a&gt;
		&lt;a href="#chapter1"&gt;
			&lt;span&gt;Chapter I.&lt;/span&gt;
			&lt;span&gt;Variation under Domestication&lt;/span&gt;
		&lt;/a&gt;
		&lt;a href="#chapter2"&gt;
			&lt;span&gt;Chapter II.&lt;/span&gt;
			&lt;span&gt;Variation Under Nature &lt;/span&gt;
		&lt;/a&gt;
		&lt;!-- ... --&gt;
	&lt;/nav&gt;

&lt;/aside&gt;

&lt;a href="#hs-menu" class="hs-totop-link"&gt;Go to the top&lt;/a&gt;
</pre>
<p>We&#8217;ll have a headline and a navigation. We&#8217;ve also added a loose helper link that we&#8217;ll need to show for smaller screens where we will stack the content vertically.</p>
<p>The content will have the following structure:</p>
<pre class="brush:xml">
&lt;div class="hs-content-scroller"&gt;

	&lt;div class="hs-content-wrapper"&gt;

		&lt;article class="hs-content" id="introduction"&gt;
			&lt;div class="hs-inner"&gt;
				&lt;h2&gt;Introduction&lt;/h2&gt;
				&lt;p&gt;...&lt;/p&gt;
			&lt;/div&gt;
		&lt;/article&gt;

		&lt;article class="hs-content" id="chapter1"&gt;
			&lt;div class="hs-inner"&gt;
				&lt;h2&gt;Chapter I.&lt;/h2&gt;
				&lt;h3&gt;Variation Under Domestication&lt;/h3&gt;
				&lt;h4&gt;Causes of Variability&lt;/h4&gt;
				&lt;p&gt;...&lt;/p&gt;
			&lt;/div&gt;
		&lt;/article&gt;

		&lt;!-- ... --&gt;

	&lt;/div&gt;

&lt;/div&gt;
</pre>
<p>The first wrapper with the class <strong>hs-content-scroller</strong> will act like a mask, having the width and height that is visible in the viewport. This will be the division that we&#8217;ll scroll horizontally because the second wrapper with the class <strong>hs-content-wrapper</strong> will be as wide as the sum of all article widths. </p>
<p>As you can see, each article will get an ID which we link to in our navigation.</p>
<p>Let&#8217;s style this thing.</p>
<h3>The CSS</h3>
<p>So, our main aim is to fix the sidebar at the left side of the screen and place the content as a horizontal stack.<br />
Let&#8217;s first style the body and some headings. We&#8217;ll set both, overflow-x and overflow-y to hidden. We use the separate properties instead of the single &#8220;overflow&#8221; because we want to adjust something in a media query later, but we&#8217;ll get back to that.</p>
<p>We&#8217;ll first import the <a href="http://necolas.github.com/normalize.css/">normalize.css</a>, a really nice and sensible alternative to the common resets:</p>
<pre class="brush:css">
@import url('normalize.css');

body{
	font-family: Baskerville, "Hoefler Text", Garamond, "Times New Roman", serif;
	background: #e9f0f5 url(../images/pattern.png) repeat top left;
	font-weight: 400;
	font-size: 12px;
	color: #333;
	overflow-y: hidden;
	overflow-x: hidden;
}
</pre>
<p>Next, let&#8217;s define some general text styles:</p>
<pre class="brush:css">
h1, h3, h4{
	font-weight: 400;
}
h1{
	font-style: italic;
	border-bottom: 1px solid rgba(126, 126, 126, 0.3);
	padding: 35px 15px 15px 15px;
	margin: 0px 20px 20px 20px;
	position: relative;
	font-size: 38px;
}
h2{
	font-size: 40px;
	padding-bottom: 15px;
	border-bottom: 5px solid rgba(190, 211, 226, 0.2);
	color: #a9becd;
	text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.4);
	box-shadow: 0px 1px 0px 0px rgba(255, 255, 255, 0.4);
	font-weight: 700;
}
h3{
	font-style: italic;
	font-size: 26px;
	color: #585959;
	text-shadow: 1px 0px 1px rgba(255, 255, 255, 0.4);
}
h4{
	text-transform: uppercase;
	letter-spacing: 5px;
	line-height: 20px;
	padding: 10px 0px;
	color: #626a6f;
	border-bottom: 1px solid rgba(126, 126, 126, 0.1);
	box-shadow: 0px 1px 0px 0px rgba(255, 255, 255, 0.4);
}
a{
	color: #308fd9;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 2px;
}
a:hover{
	color: #87b6da;
}
.hs-headline{
	text-align: center;
}
.hs-author{
	text-transform: uppercase;
	display: block;
	letter-spacing: 2px;
	font-weight: 700;
	padding: 20px 10px;
}
</pre>
<p>Now, let&#8217;s position the menu:</p>
<pre class="brush:css">
.hs-menu{
	position: fixed;
	z-index: 100;
	color: #f8f8f8;
	background: #131313;
	width: 200px;
	left: 0px;
	top: 0px;
	height: 100%;
}
</pre>
<p>Setting its position to fixed, we&#8217;ll stick the sidebar to the left side of the screen.<br />
The navigation will have the following style:</p>
<pre class="brush:css">
.hs-menu nav{
	position: absolute;
	top: 250px;
	left: 0px;
	right: 0px;
	bottom: 50px;
}
</pre>
<p>The position of the navigation will be absolute and by setting a top and bottom value, we have a flexible height. Later, we will add custom scrolling to the navigation so that we don&#8217;t have to worry about the menu items fitting into the area.</p>
<p>The anchors will have the following style:</p>
<pre class="brush:css">
.hs-menu nav a{
	display: block;
	padding: 10px 20px;
	text-align: center;
	outline: none;
	border-bottom: 1px dashed rgba(126, 126, 126, 0.2);
}
.hs-menu nav a:active{
	box-shadow: 7px 0px 17px #000 inset;
}
.hs-menu nav a:first-child{
	border-top: 1px dashed rgba(126, 126, 126, 0.2);
}
</pre>
<p>The second span in a navigation anchor will be styled differently:</p>
<pre class="brush:css">
.hs-menu nav a span:nth-child(2){
	display: block;
	color: #fff;
	font-style: italic;
	font-weight: 400;
	text-transform: none;
	padding-top: 3px;
}
</pre>
<p>Now, let&#8217;s style the content part. As mentioned before, the division with the class <strong>.hs-content-scroller</strong> will be acting as a mask where any overflow won&#8217;t be visible. This is basically the same principle as in sliders. The left will be set to 200 pixel because of the sidebar:</p>
<pre class="brush:css">
.hs-content-scroller{
	position: absolute;
	left: 200px;
	right: 0px;
	overflow: hidden;
	height: 100%;
}
</pre>
<p>The next wrapper will have a width which allows all the inner content panels to fit inside of it if stacked horizontally. We&#8217;ll set the overflow to hidden, because each of our content panels will have a custom scroll bar.</p>
<pre class="brush:css">
.hs-content-wrapper{
	width: 7950px;
	position: absolute;
	height: 100%;
	overflow: hidden;
}
</pre>
<p>Each content panel is going to have a width of 500 pixel and float left. We&#8217;ll add a transition for the background when we hover and when we add a active class:</p>
<pre class="brush:css">
.hs-content{
	width: 500px;
	overflow-y: scroll;
	height: 100%;
	float: left;
	border-right: 1px dashed rgba(126, 126, 126, 0.2);
	border-left: 1px dashed rgba(255, 255, 255, 0.5);
	background: transparent;
	transition: background 0.3s linear;
}
.hs-content:hover, .hs-content-active{
	background: #f1f5f8;
}
</pre>
<p>When we add the custom scrolling to the content panels, we only want them to be visible when we hover over them:</p>
<pre class="brush:css">
.hs-content:hover .jspVerticalBar,
.hs-menu nav:hover .jspVerticalBar{
	opacity: 1;
}
</pre>
<p>The first content panel will be a bit narrower:</p>
<pre class="brush:css">
.hs-content:first-child{
	width: 400px;
}
</pre>
<p>Let&#8217;s add some padding and style the text elements: </p>
<pre class="brush:css">
.hs-inner{
	padding: 30px 20px 10px 30px;
}
.hs-inner p{
	font-size: 18px;
	line-height: 24px;
	text-align: justify;
	position: relative;
	padding: 10px 0px;
	text-shadow: 1px 0px 1px rgba(255, 255, 255, 0.8);
}
.hs-inner p:first-letter{
	font-size: 28px;
}
#introduction .hs-inner p:first-of-type{
	font-size: 24px;
	text-align: left;
	line-height: 36px;
	font-style: italic;
	color: #75838D;
	letter-spacing: 0px;
}
</pre>
<p>Remember that little anchor right after the sidebar? When clicking that anchor, the page will scroll up. We&#8217;ll only need this anchor when our screen is not big enough to stack the content panels horizontally but only vertically, so we&#8217;ll set it to <em>display: none</em> initially. In a media query we&#8217;ll then show it. </p>
<pre class="brush:css">
a.hs-totop-link{
	display: none;
	position: fixed;
	z-index: 10000;
	bottom: 0px;
	width: 100%;
	height: 40px;
	line-height: 40px;
	font-size: 14px;
	color: #aaa;
	text-shadow: 1px 1px 1px #fff;
	font-weight: 700;
	cursor: pointer;
	text-transform: uppercase;
	text-align: center;
	background: linear-gradient(top, #ffffff 0%,#f3f3f3 50%,#ededed 51%,#ffffff 100%);
	border-top: 1px solid #cacaca;
}
</pre>
<p>When we reach the size of the iPad, we want to get rid of the hover behavior and show the horizontal scrollbar. This will allow us to &#8220;swipe&#8221; the content on the iPad:</p>
<pre class="brush:css">
/* Media Queries */
@media screen and (max-width: 1024px) {
	.jspVerticalBar{
		opacity: 1;
	}
	.hs-content-scroller{
		overflow-x: scroll;
	}
	.hs-content:hover{
		background: transparent;
	}
	.hs-content-active:hover {
		background: #f1f5f8;
	}
}
</pre>
<p>At this point, we&#8217;ll change the layout in order to be stacked vertically. We have to &#8220;reset&#8221; all the properties that forced the content to be stacked horizontally. We&#8217;ll also show the anchor that will bring us back to the top:</p>
<pre class="brush:css">
@media screen and (max-width: 715px) {
	body{
		overflow-x: auto;
		overflow-y: auto;
	}
	a.hs-totop-link{
		display: block;
	}
	.hs-menu{
		position: relative;
		width: 100%;
		height: 460px;
	}
	.hs-menu nav{
		top: 230px;
		bottom: 20px;
	}
	.hs-content-scroller{
		position: relative;
		height: auto;
		left: 0;
	}
	.hs-content-wrapper{
		height: auto;
		width: auto;
		margin-left: 0px;
	}
	.hs-content{
		border: none;
	}
	.hs-content, .hs-content:first-child{
		width: auto;
		float: none;
		overflow-y: auto;
	}
}
</pre>
<p>And that&#8217;s all the style! Now, let&#8217;s take a look at the JavaScript!</p>
<h3>The JavaScript</h3>
<p>First, we will set some variables and cache some elements:</p>
<pre class="brush:js">

var $container			= $( '#hs-container' ),
	// the scroll container that wraps the articles
	$scroller			= $container.find( 'div.hs-content-scroller' ),
	$menu				= $container.find( 'aside' ),
	// menu links
	$links				= $menu.find( 'nav > a' ),
	$articles			= $container.find( 'div.hs-content-wrapper > article' ),
	// button to scroll to the top of the page
	// only shown when screen size < 715
	$toTop				= $container.find( 'a.hs-totop-link' ),
	// the browser nhistory object
	History 			= window.History,
	// animation options
	animation			= { speed : 800, easing : 'easeInOutExpo' },
	// jScrollPane options
	scrollOptions		= { verticalGutter : 0, hideFocus : true },
</pre>
<p>The init function will be the first one to execute:</p>
<pre class="brush:js">

init				= function() {

	// initialize the jScrollPane on both the menu and articles
	_initCustomScroll();
	// initialize some events
	_initEvents();
	// sets some css properties
	_layout();
	// jumps to the respective chapter
	// according to the url
	_goto();

},
</pre>
<p>The first step is to create / initialize the jScrollPane (the custom scrollbars) on both the menu and the articles. However, for the articles, we will not do this in case the screen size is smaller than 715px:</p>
<pre class="brush:js">

_initCustomScroll	= function() {

	// Only add custom scrolling to articles if screen size > 715.
	// If not, the articles will be expanded (vertical layout)
	if( $(window).width() > 715 ) {

		$articles.jScrollPane( scrollOptions );

	}
	// add custom scrolling to menu
	$menu.children( 'nav' ).jScrollPane( scrollOptions );

},
</pre>
<p>We will load the events for the window, the menu links and the articles.</p>
<p>On window resize, we will need to reinitialize the jScrollPane custom scrollbars, or destroy them in case the screen's size gets smaller than 715px.</p>
<p>On window statechange, we will jump to the respective state / chapter. We are using <a href="https://github.com/balupton/history.js" target="_blank">History.js</a> by Benjamin Lupton to control the history states when the user navigates through the page:</p>
<pre class="brush:js">

$(window).on({
	// when resizing the window we need to reinitialize or destroy the jScrollPanes
	// depending on the screen size
	'smartresize' : function( event ) {

		_layout();

		$('article.hs-content').each( function() {

			var $article 	= $(this),
				aJSP		= $article.data( 'jsp' );

			if( $(window).width() > 715 ) {

				( aJSP === undefined ) ? $article.jScrollPane( scrollOptions ) : aJSP.reinitialise();

				_initArticleEvents();

			}
			else {

				// destroy article's custom scroll if screen size <= 715px
				if( aJSP !== undefined )
					aJSP.destroy();

				$container.off( 'click', 'article.hs-content' );

			}

		});

		var nJSP = $menu.children( 'nav' ).data( 'jsp' );
		nJSP.reinitialise();

		// jumps to the current chapter
		_goto();

	},
	// triggered when the history state changes - jumps to the respective chapter
	'statechange' : function( event ) {

		_goto();

	}
});
</pre>
<p>When we click on an article or menu link, we will check to which chapter it refers to, and we will change the state of the browser history object. This will trigger the statechange event which in turn will make the page / scrolling division jump to the respective area.</p>
<pre class="brush:js">

$links.on( 'click', function( event ) {

	var href		= $(this).attr('href'),
		chapter		= ( href.search(/chapter/) !== -1 ) ? href.substring(8) : 0;

	_saveState( chapter );

	return false;

});

$container.on( 'click', 'article.hs-content', function( event ) {

	var id			= $(this).attr('id'),
		chapter		= ( id.search(/chapter/) !== -1 ) ? id.substring(7) : 0;

	_saveState( chapter );

	return false;

});

_saveState			= function( chapter ) {

	// adds a new state to the history object
	// this will trigger the statechange on the window
	if( History.getState().url.queryStringToJSON().chapter !== chapter ) {

		History.pushState( null, null, '?chapter=' + chapter );

	}

},
</pre>
<p>We will also control the overflow property of the "scroller" (divison with class "hs-content-scroller") according to the screen size.</p>
<pre class="brush:js">

_layout				= function() {

	var windowWidth	= $(window).width();
	switch( true ) {

		case ( windowWidth <= 715 ) : $scroller.scrollLeft( 0 ).css( 'overflow', 'visible' ); break;
		case ( windowWidth <= 1024 ): $scroller.css( 'overflow-x', 'scroll' ); break;
		case ( windowWidth > 1024 ) : $scroller.css( 'overflow', 'hidden' ); break;

	};

},
</pre>
<p>The _goto function triggers the animation for changing the area / chapter on the page. We get the current chapter from the history state URL, and given the respective article we either scroll to the left or top depending on the screen size. Also, if we are in landscape mode, the element scrolling is the div "hs-content-scroller", otherwise it's the BODY element.</p>
<pre class="brush:js">

_goto				= function( chapter ) {

	// get the url from history state (e.g. chapter=3) and extract the chapter number
var chapter 	= chapter || History.getState().url.queryStringToJSON().chapter,
	isHome		= ( chapter === undefined ),
	// we will jump to the introduction chapter if theres no chapter
	$article 	= $( chapter ? '#' + 'chapter' + chapter : '#' + 'introduction' );

	if( $article.length ) {

			// left / top of the element
		var left		= $article.position().left,
			top			= $article.position().top,
			// check if we are scrolling down or left
			// is_v will be true when the screen size < 715
			is_v		= ( $(document).height() - $(window).height() > 0 ),
			// animation parameters:
			// if vertically scrolling then the body will animate the scrollTop,
			// otherwise the scroller (div.hs-content-scroller) will animate the scrollLeft
			param		= ( is_v ) ? { scrollTop : (isHome) ? top : top + $menu.outerHeight( true ) } : { scrollLeft : left },
			$elScroller	= ( is_v ) ? $( 'html, body' ) : $scroller;

		$elScroller.stop().animate( param, animation.speed, animation.easing, function() {

			// active class for selected chapter
			$articles.removeClass( 'hs-content-active' );
			$article.addClass( 'hs-content-active' );

		} );

	}

},
</pre>
<p>And that's it! I hope you enjoyed this tutorial and find it useful! </p>
<p><a class="demo" href="http://tympanus.net/Tutorials/ResponsiveHorizontalLayout/">View demo</a> <a class="download" href="http://tympanus.net/Tutorials/ResponsiveHorizontalLayout/ResponsiveHorizontalLayout.zip">Download source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://tympanus.net/codrops/2012/04/02/responsive-horizontal-layout/feed/</wfw:commentRss>
		<slash:comments>39</slash:comments>
		</item>
		<item>
		<title>Collective #4</title>
		<link>http://tympanus.net/codrops/collective/collective-4/</link>
		<comments>http://tympanus.net/codrops/collective/collective-4/#comments</comments>
		<pubDate>Sun, 25 Mar 2012 12:25:40 +0000</pubDate>
		<dc:creator>Mary Lou</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[icons]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[responsive]]></category>
		<category><![CDATA[typography]]></category>

		<guid isPermaLink="false">http://tympanus.net/codrops/?post_type=collective&#038;p=8091</guid>
		<description><![CDATA[Free Icons * Responsive Web Design * jQuery Scroll Path * Date Picker * Clever tricks with CSS * Typography]]></description>
			<content:encoded><![CDATA[<div class="ct-coll-item">
<article>
<h2>jQuery Scroll Path</h2>
<p>	   <a class="ct-coll-thumb" href="http://joelb.me/scrollpath/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/03/Collective4_04.jpg" alt="Collective4_04" title="" width="200" height="108" class="alignnone size-full wp-image-8096" /></a></p>
<p>Joel Besada created an amazing plugin which you can use to define custom scroll paths to achieve stunning scroll effects.</p>
<p>	   <a class="ct-coll-link" href="http://joelb.me/scrollpath/">Get it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Responsive Navigation Menu</h2>
<p>	   <a class="ct-coll-thumb" href="http://designshack.net/articles/css/code-a-responsive-navigation-menu/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/03/Collective4_01.jpg" alt="Collective4_01" title="" width="210" height="146" class="alignnone size-full wp-image-8093" /></a></p>
<p>Learn how to create a stylish and responsive navigation menu in this tutorial.</p>
<p>	   <a class="ct-coll-link" href="http://designshack.net/articles/css/code-a-responsive-navigation-menu/">Check it out</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Camera jQuery Slideshow</h2>
<p>	   <a class="ct-coll-thumb" href="http://www.pixedelic.com/plugins/camera/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/03/Collective4_13.jpg" alt="Collective4_13" title="" width="253" height="172" class="alignnone size-full wp-image-8105" /></a></p>
<p>This responsive slideshow uses a light version of jQuery mobile, making it possible to navigate the slides by swiping. It comes with some beautiful transitions and skins and it can be used in fullscreen, too.</p>
<p>	   <a class="ct-coll-link" href="http://www.pixedelic.com/plugins/camera/">Check it out</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Responsive Web Design: Missing the Point</h2>
<p>	   <a class="ct-coll-thumb" href="http://bradfrostweb.com/blog/web/responsive-web-design-missing-the-point/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/03/Collective4_02.jpg" alt="Collective4_02" title="" width="200" height="144" class="alignnone size-full wp-image-8094" /></a></p>
<p>Another great article by Brad Frost where he&#8217;s setting the misconception about responsive web design straight: responsiveness is not some hip new feature &#8211; it&#8217;s a necessity for creating cross-device functioning web sites and optimal user experiences.</p>
<p>	   <a class="ct-coll-link" href="http://bradfrostweb.com/blog/web/responsive-web-design-missing-the-point/">Read it</a><br />
   </article>
</div>
<div class="ct-coll-item ct-coll-item-multi ct-coll-item-dribbble">
<nav>
		<a href="#" class="ct-coll-nav-prev">Prev</a><br />
		<a href="#" class="ct-coll-nav-next">Next</a><br />
	</nav>
<article>
<h2>Free Icons from Dribbble</h2>
<p>		<a class="ct-coll-thumb" href="http://dribbble.com/shots/446086-Glyph-UI-Icon-Set"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/03/FreeIconsDribbble_01.jpg" alt="FreeIconsDribbble_01" title="" width="330" height="248" class="alignnone size-full wp-image-8107" /></a></p>
<p>Glyph UI Icon Set by <a href="http://dribbble.com/Icondeposit">Matt Gentile</a></p>
</article>
<article>
<h2>Free Icons from Dribbble</h2>
<p>		<a class="ct-coll-thumb" href="http://dribbble.com/shots/455868-50-Free-Delicious-Berries-Icons"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/03/FreeIconsDribbble_02.jpg" alt="FreeIconsDribbble_02" title="" width="330" height="248" class="alignnone size-full wp-image-8108" /></a></p>
<p>50 Free Delicious Berries Icons by <a href="http://dribbble.com/oliviustoian">Oliviu Stoian</a></p>
</article>
<article>
<h2>Free Icons from Dribbble</h2>
<p>		<a class="ct-coll-thumb" href="http://dribbble.com/shots/462398-Minicons-"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/03/FreeIconsDribbble_03.jpg" alt="FreeIconsDribbble_03" title="" width="330" height="248" class="alignnone size-full wp-image-8109" /></a></p>
<p>Minicons by <a href="http://dribbble.com/nox">Noe Araujo</a></p>
</article>
<article>
<h2>Free Icons from Dribbble</h2>
<p>		<a class="ct-coll-thumb" href="http://dribbble.com/shots/420174-350-Free-vector-web-icons-Freebie-"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/03/FreeIconsDribbble_04.jpg" alt="FreeIconsDribbble_04" title="" width="330" height="248" class="alignnone size-full wp-image-8110" /></a></p>
<p>350 Free vector web icons (Freebie) by <a href="http://dribbble.com/Brankic1979">Brankic1979</a></p>
</article>
<article>
<h2>Free Icons from Dribbble</h2>
<p>		<a class="ct-coll-thumb" href="http://dribbble.com/shots/426723-Max-Mini-Icon"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/03/FreeIconsDribbble_05.jpg" alt="FreeIconsDribbble_05" title="" width="330" height="248" class="alignnone size-full wp-image-8111" /></a></p>
<p>Max Mini Icon by <a href="http://dribbble.com/ashung">Ashung Hung</a></p>
</article>
<article>
<h2>Free Icons from Dribbble</h2>
<p>		<a class="ct-coll-thumb" href="http://dribbble.com/shots/437627-Pursuit"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/03/FreeIconsDribbble_06.jpg" alt="FreeIconsDribbble_06" title="" width="330" height="248" class="alignnone size-full wp-image-8112" /></a></p>
<p>Pursuit by <a href="http://dribbble.com/shots/437627-Pursuit">Visual Idiot</a></p>
</article>
<article>
<h2>Free Icons from Dribbble</h2>
<p>		<a class="ct-coll-thumb" href="http://dribbble.com/shots/451442-Lock-icons-free-psd-png"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/03/FreeIconsDribbble_07.jpg" alt="FreeIconsDribbble_07" title="" width="330" height="248" class="alignnone size-full wp-image-8113" /></a></p>
<p>Lock icons by <a href="http://dribbble.com/nelutu">Ioan Decean</a></p>
</article>
<article>
<h2>Free Icons from Dribbble</h2>
<p>		<a class="ct-coll-thumb" href="http://dribbble.com/shots/127388-Free-Calendar-Icons"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/03/FreeIconsDribbble_08.jpg" alt="FreeIconsDribbble_08" title="" width="330" height="248" class="alignnone size-full wp-image-8114" /></a></p>
<p>Free Calendar Icons by <a href="http://dribbble.com/gerardodiaz">Gerardo Diaz</a></p>
</article>
<article>
<h2>Free Icons from Dribbble</h2>
<p>		<a class="ct-coll-thumb" href="http://dribbble.com/shots/435491-FREE-Vector-Icon-Set"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/03/FreeIconsDribbble_09.jpg" alt="FreeIconsDribbble_09" title="" width="330" height="248" class="alignnone size-full wp-image-8115" /></a></p>
<p>FREE Vector Icon Set by <a href="http://dribbble.com/clemensposch">Clemens Posch</a></p>
</article>
<article>
<h2>Free Icons from Dribbble</h2>
<p>		<a class="ct-coll-thumb" href="http://dribbble.com/shots/483953-Free-Button-Icon-Exploration"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/03/FreeIconsDribbble_10.jpg" alt="FreeIconsDribbble_10" title="" width="330" height="248" class="alignnone size-full wp-image-8116" /></a></p>
<p>Free Button &#038; Icon Exploration by <a href="http://dribbble.com/rrmleroux">Ryan Le Roux</a></p>
</article>
<article>
<h2>Free Icons from Dribbble</h2>
<p>		<a class="ct-coll-thumb" href="http://dribbble.com/shots/445613-Twitter-Controls-psd-"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/03/FreeIconsDribbble_11.jpg" alt="FreeIconsDribbble_11" title="" width="330" height="248" class="alignnone size-full wp-image-8117" /></a></p>
<p>Twitter Controls (.psd) by <a href="http://dribbble.com/leviwintering">Levi Wintering</a></p>
</article>
<article>
<h2>Free Icons from Dribbble</h2>
<p>		<a class="ct-coll-thumb" href="http://dribbble.com/shots/449309-FREEBIE-Vector-Icon-3-Pack"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/03/FreeIconsDribbble_12.jpg" alt="FreeIconsDribbble_12" title="" width="330" height="248" class="alignnone size-full wp-image-8118" /></a></p>
<p>FREEBIE &#8211; Vector Icon 3 Pack by <a href="http://dribbble.com/CalebAmesbury">Caleb Amesbury</a></p>
</article>
<article>
<h2>Free Icons from Dribbble</h2>
<p>		<a class="ct-coll-thumb" href="http://dribbble.com/shots/467444-Free-Icons"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/03/FreeIconsDribbble_13.jpg" alt="FreeIconsDribbble_13" title="" width="330" height="248" class="alignnone size-full wp-image-8119" /></a></p>
<p>Free Icons by <a href="http://dribbble.com/DiegoMargini">Diego Margini</a></p>
</article>
</div>
<div class="ct-coll-item">
<article>
<h2>Wookmark jQuery Plugin</h2>
<p>	   <a class="ct-coll-thumb" href="http://www.wookmark.com/jquery-plugin"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/03/Collective4_03.jpg" alt="Collective4_03" title="" width="291" height="172" class="alignnone size-full wp-image-8095" /></a></p>
<p>If you&#8217;ve visited <a href="http://www.wookmark.com/">wookmark.com</a> already, you probably know their dynamic grid layout. Now the folks of Wookmark have released a free jQuery plugin that does exactly that.</p>
<p>	   <a class="ct-coll-link" href="http://www.wookmark.com/jquery-plugin">Check it out</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Kalendae: JavaScript Date Picker</h2>
<p>	   <a class="ct-coll-thumb" href="https://github.com/ChiperSoft/Kalendae"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/03/Collective4_05.jpg" alt="Collective4_05" title="" width="200" height="100" class="alignnone size-full wp-image-8097" /></a></p>
<p>This framework independent date picker comes with many great features. It uses moment.js to parse the dates and it&#8217;s easily customizable. </p>
<p>	   <a class="ct-coll-link" href="https://github.com/ChiperSoft/Kalendae">Check it out</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Moment.js</h2>
<p>	   <a class="ct-coll-thumb" href="http://momentjs.com/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/03/Collective4_07.jpg" alt="Collective4_07" title="" width="209" height="109" class="alignnone size-full wp-image-8099" /></a></p>
<p>Moment.js is a lightweight JavaScript date library for parsing, manipulating, and formatting dates. It makes it super-easy to calculate with and display dates even in multiple languages.</p>
<p>	   <a class="ct-coll-link" href="http://momentjs.com/">Get it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Retro Triangular Pattern Design</h2>
<p>	   <a class="ct-coll-thumb" href="http://blog.spoongraphics.co.uk/tutorials/create-a-retro-triangular-pattern-design-in-illustrator"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/03/Collective4_14.jpg" alt="Collective4_14" title="" width="100" height="60" class="alignnone size-full wp-image-8106" /></a></p>
<p>Another great tutorial by Chris Spooner. Learn how to create a cool retro pattern in Illustrator.</p>
<p>	   <a class="ct-coll-link" href="http://blog.spoongraphics.co.uk/tutorials/create-a-retro-triangular-pattern-design-in-illustrator">Check it out</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>tQuery: three.js + jQuery</h2>
<p>tQuery is an extension to the JavaScript 3D library three.js, making it easy to share and build stuff using three.js.</p>
<p>	   <a class="ct-coll-link" href="http://jeromeetienne.github.com/tquery/">Check it out</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Pure CSS Clickable Events</h2>
<p>	   <a class="ct-coll-thumb" href="http://www.ryancollins.me/?p=1041"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/03/Collective4_08.jpg" alt="Collective4_08" title="" width="268" height="166" class="alignnone size-full wp-image-8100" /></a></p>
<p>Ryan Collins shows us how to simulate a click event on an element using only CSS. With a combination of :active an :hover a clicked element will expand and stay expanded until we move out with the mouse. That&#8217;s just super-clever!</p>
<p>	   <a class="ct-coll-link" href="http://www.ryancollins.me/?p=1041">Check it out</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Respect Thy Typography</h2>
<p>	   <a class="ct-coll-thumb" href="http://www.smashingmagazine.com/2012/03/14/respect-thy-typography/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/03/Collective4_09.jpg" alt="Collective4_09" title="" width="100" height="81" class="alignnone size-full wp-image-8101" /></a></p>
<p>In this Smashing Magazine article, Espen Brunborg takes us on a journey and tells us how good typography is not just making letters look fancy but understanding and paying some respect to the long evolution behind the typefaces we&#8217;re using today.</p>
<p>	   <a class="ct-coll-link" href="http://www.smashingmagazine.com/2012/03/14/respect-thy-typography/">Read it</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Using &#8220;Infinite&#8221; Transition Delays</h2>
<p>	   <a class="ct-coll-thumb" href="http://joelb.me/blog/2012/maintaining-css-style-states-using-infinite-transition-delays/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/03/Collective4_10.jpg" alt="Collective4_10" title="" width="110" height="66" class="alignnone size-full wp-image-8102" /></a></p>
<p>Joel Besada explains how one can maintain CSS style states using super long transition delays. You wouldn&#8217;t believe what you can do with that amazing trick! </p>
<p>	   <a class="ct-coll-link" href="http://joelb.me/blog/2012/maintaining-css-style-states-using-infinite-transition-delays/">Check it out</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Create a Responsive Web Design with Media Queries</h2>
<p>	   <a class="ct-coll-thumb" href="http://line25.com/tutorials/create-a-responsive-web-design-with-media-queries"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/03/Collective4_11.jpg" alt="Collective4_11" title="" width="264" height="150" class="alignnone size-full wp-image-8103" /></a></p>
<p>Learn from Chris Spooner how to use media queries to create a responsive web design.</p>
<p>	   <a class="ct-coll-link" href="http://line25.com/tutorials/create-a-responsive-web-design-with-media-queries">Check it out</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>Inception Explained</h2>
<p>	   <a class="ct-coll-thumb" href="http://www.inception-explained.com/"><img src="http://tympanus.net/codrops/wp-content/uploads/2012/03/Collective4_12.jpg" alt="Collective4_12" title="" width="200" height="138" class="alignnone size-full wp-image-8104" /></a></p>
<p>Scroll this uncredibly creative website to understand the underlying logic of the movie &#8220;Inception&#8221;. A wonderful creation by Matt Dempsey that will blow your socks off!</p>
<p>	   <a class="ct-coll-link" href="http://www.inception-explained.com/">Dive in</a><br />
   </article>
</div>
<div class="ct-coll-item">
<article>
<h2>For a Future-Friendly Web</h2>
<p>Brad Frost encourages us in his article to realize how important it is to move forward and become more future friendly when creating content for the rapidly changing web.</p>
<p>	   <a class="ct-coll-link" href="http://www.alistapart.com/articles/for-a-future-friendly-web/">Read it</a><br />
   </article>
</div>
]]></content:encoded>
			<wfw:commentRss>http://tympanus.net/codrops/collective/collective-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- This Quick Cache file was built for (  tympanus.net/codrops/tag/jquery/feed/ ) in 0.34008 seconds, on May 23rd, 2012 at 2:42 pm UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on May 23rd, 2012 at 3:42 pm UTC -->
