<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>Codrops</title>
	
	<link>http://tympanus.net/codrops</link>
	<description>useful drops of code</description>
	<lastBuildDate>Wed, 28 Jul 2010 22:26:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Codrops" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="codrops" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">Codrops</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Thumbnails Navigation Gallery with jQuery</title>
		<link>http://tympanus.net/codrops/2010/07/29/thumbnails-navigation-gallery/</link>
		<comments>http://tympanus.net/codrops/2010/07/29/thumbnails-navigation-gallery/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 22:26:17 +0000</pubDate>
		<dc:creator>Mary Lou</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[gallery]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[Navigation]]></category>
		<category><![CDATA[scrollable]]></category>
		<category><![CDATA[sliding]]></category>
		<category><![CDATA[thumbnails]]></category>

		<guid isPermaLink="false">http://tympanus.net/codrops/?p=2668</guid>
		<description><![CDATA[
			
				
			
		

View demoDownload source
In this tutorial we are going to create an extraordinary gallery with scrollable thumbnails that slide out from a navigation. We are going to use jQuery and some CSS3 properties for the style. The main idea is to have a menu of albums where each item will reveal a horizontal bar with thumbnails [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="position:relative; margin-top:-32px; float:right;z-index:999; margin-right:-10px">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Ftympanus.net%2Fcodrops%2F2010%2F07%2F29%2Fthumbnails-navigation-gallery%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Ftympanus.net%2Fcodrops%2F2010%2F07%2F29%2Fthumbnails-navigation-gallery%2F&amp;source=codrops&amp;style=compact" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="http://tympanus.net/Tutorials/ThumbnailsNavigationGallery/" target="_blank"><img class="aligncenter size-full wp-image-2683" title="thumbnailsnavigation" src="http://tympanus.net/codrops/wp-content/uploads/2010/07/thumbnailsnavigation.jpg" alt="" width="580" height="315" /></a><br />
<a class="demo" href="http://tympanus.net/Tutorials/ThumbnailsNavigationGallery/" target="_blank">View demo</a><a class="download" href="http://tympanus.net/Tutorials/ThumbnailsNavigationGallery/ThumbnailsNavigationGallery.zip">Download source</a></p>
<p>In this tutorial we are going to create an extraordinary gallery with scrollable thumbnails that slide out from a navigation. We are going to use jQuery and some CSS3 properties for the style. The main idea is to have a menu of albums where each item will reveal a horizontal bar with thumbnails when clicked. The thumbnails container will scroll automatically when the user moves the mouse to the left or right.</p>
<p>When a thumbnail is clicked it will be loaded as a full image preview in the background of the page. We will also have a text container for one of the menu items.</p>
<p>The beautiful photos are from <a href="http://www.flickr.com/photos/markjsebastian/">Mark Sebastian&#8217;s photostream on Flickr</a>. You can find all the images used in the demo in the set <a href="http://www.flickr.com/photos/markjsebastian/sets/72157594223783465/">The &#8220;IT&#8221; Factor</a>. Please review the Creative Commons license that is included in the demo.</p>
<p>So, let&#8217;s get started!</p>
<h3>The Markup</h3>
<p>Our HTML is mainly going to consist of a wrapper and the menu list. We will have some other elements, like the full image, the loading div and the halftone overlay. First, let&#8217;s create the wrapper:</p>
<pre class="brush:xml">&lt;div id="st_main" class="st_main"&gt;

&lt;/div&gt;
</pre>
<p>Inside of our wrapper we will add the following:</p>
<pre class="brush:xml">&lt;img src="images/album/1.jpg" alt="" class="st_preview" style="display:none;"/&gt;

&lt;div class="st_overlay"&gt;&lt;/div&gt;

&lt;h1&gt;Mark Sebastian&lt;/h1&gt;

&lt;div id="st_loading" class="st_loading"&gt;
	&lt;span&gt;Loading...&lt;/span&gt;
&lt;/div&gt;
</pre>
<p>The first element is our full preview image. The overlay is going to be a fixed div which will stretch over the whole screen repeating a halftone pattern to create a fancy overlay effect on the image. We also add a title and a loading div.</p>
<p>We then add an unordered list where each li element is going to contain a span for its title and the thumbnails wrapper. The last li element is going to contain some wrapper for text, that&#8217;s why we will not give it the class &#8220;album&#8221;. Later, in the jQuery function we will need to distinguish that.</p>
<pre class="brush:xml">&lt;ul id="st_nav" class="st_navigation"&gt;
	&lt;li class="album"&gt;
		&lt;span class="st_link"&gt;
			Newest Collection
			&lt;span class="st_arrow_down"&gt;&lt;/span&gt;
		&lt;/span&gt;
		&lt;div class="st_wrapper st_thumbs_wrapper"&gt;
			&lt;div class="st_thumbs"&gt;
				&lt;img src="images/album/thumbs/1.jpg" alt="images/album/1.jpg"/&gt;
				&lt;img src="images/album/thumbs/2.jpg" alt="images/album/2.jpg"/&gt;
				...
			&lt;/div&gt;
		&lt;/div&gt;
	&lt;/li&gt;
	...
	&lt;li&gt;
		&lt;span class="st_link"&gt;
			About
			&lt;span class="st_arrow_down"&gt;&lt;/span&gt;
		&lt;/span&gt;
		&lt;div class="st_about st_thumbs_wrapper"&gt;
			&lt;div class="st_subcontent"&gt;
				&lt;p&gt;
					Some description
				&lt;/p&gt;
			&lt;/div&gt;
		&lt;/div&gt;
	&lt;/li&gt;
&lt;/ul&gt;
</pre>
<p>The thumbnail images get the alt value of the path to the full size image. That might not be the proper use of the alt attribute, but it&#8217;s just so convenient for our functionality that we will use it this way.</p>
<p>Let&#8217;s take a look at the style.</p>
<h3>The CSS</h3>
<p>First, let&#8217;s reset the paddings and margins for all elements and define the general styles:</p>
<pre class="brush:css">*{
	margin:0;
	padding:0;
}
body{
	font-family:"Myriad Pro","Trebuchet MS", Helvetica, sans-serif;
	font-size:16px;
	color:#fff;
	background-color:#000;
	overflow:hidden;
}
h1{
	margin:20px;
	font-size:40px;
}
</pre>
<p>Making the body overflow hidden we avoid any scroll bar appearing, but you can adapt that to your needs. I.e. if it is important that the full sized image is completely viewable by the user, you might want to remove the overflow:hidden property.</p>
<p>Next, we will define the style for the full size image, the overlay and the loading div:</p>
<pre class="brush:css">.st_main img.st_preview{
	position:absolute;
	left:0px;
	top:0px;
	width:100%;
}
.st_overlay{
	width:100%;
	height:100%;
	position:fixed;
	top:0px;
	left:0px;
	background:transparent url(../images/pattern.png) repeat-x bottom left;
	opacity:0.3;
}
.st_loading{
	position:fixed;
	top:10px;
	right:0px;
	background:#000 url(../images/icons/loader.gif) no-repeat 10px 50%;
	padding:15px 40px 15px 60px;
	-moz-box-shadow:0px 0px 2px #000;
	-webkit-box-shadow:0px 0px 2px #000;
	box-shadow:0px 0px 2px #000;
	opacity:0.6;
}
</pre>
<p>By setting the image width to be always 100%, we make sure that it occupies all the horizontal space on the page. For very large screens the image might look pixelated which can, of course, be avoided by using gigantic images. In our demo we use a maximum width of 1600 pixel to make the loading time bearable. The halftone pattern on top of the image helps a little to disguise a pixelated effect.</p>
<p>Please note that whenever opacity is used, the IE filter property needs to be used if you want to achieve semi-transparent effects in IE. The overlay looks like crap if you use the filter property, though. Check out the ZIP file, I added the IE DXImageTransform filter to the respective styles.</p>
<p>The navigation will be positioned absolutely:</p>
<pre class="brush:css">ul.st_navigation{
	position:absolute;
	width:100%;
	top:140px;
	left:-300px;
	list-style:none;
}
</pre>
<p>The initial left value is set to -300 pixel because we want to slide it in only after our full image is loaded. If you use longer titles in the list items, you might need to adapt this value.</p>
<p>Our list elements are going to have the following style:</p>
<pre class="brush:css">ul.st_navigation li {
	float:left;
	clear:both;
	margin-bottom:8px;
	position:relative;
	width:100%;
}
</pre>
<p>The span for the title will be styled as follows:</p>
<pre class="brush:css">ul.st_navigation li span.st_link{
	background-color:#000;
	float:left;
	position:relative;
	line-height:50px;
	padding:0px 20px;
	-moz-box-shadow:0px 0px 2px #000;
	-webkit-box-shadow:0px 0px 2px #000;
	box-shadow:0px 0px 2px #000;
}
</pre>
<p>Next, we define the style for the spans with the up/down arrow for opening and closing the thumbnail container:</p>
<pre class="brush:css">
ul.st_navigation li span.st_arrow_down,
ul.st_navigation li span.st_arrow_up{
	position:absolute;
	margin-left:15px;
	width:40px;
	height:50px;
	cursor:pointer;
	-moz-box-shadow:0px 0px 2px #000;
	-webkit-box-shadow:0px 0px 2px #000;
	box-shadow:0px 0px 2px #000;
}
ul.st_navigation li span.st_arrow_down{
	background:#000 url(../images/icons/down.png) no-repeat center center;
}
ul.st_navigation li span.st_arrow_up{
	background:#000 url(../images/icons/up.png) no-repeat center center;
}
</pre>
<p>The wrapper for the thumbnail container will be positioned absolutely and we want to hide any vertical overflow:</p>
<pre class="brush:css">.st_wrapper{
	display:none;
	position: absolute;
    width:100%;
    height:126px;
    overflow-y:hidden;
	top:50px;
    left:0px;
}
</pre>
<p>Although the thumbs are only 120 pixels high, we want to leave some space so that the box shadow of the images inside will not be cut away.<br />
The thumbnails container will simply be styled as follows:</p>
<pre class="brush:css">.st_thumbs{
    height:126px;
    margin: 0;
}
</pre>
<p>The thumbnails will have a neat box shadow and some spacing:</p>
<pre class="brush:css">.st_thumbs img{
    float:left;
    margin:3px 3px 0px 0px;
    cursor:pointer;
	-moz-box-shadow:1px 1px 5px #000;
	-webkit-box-shadow:1px 1px 5px #000;
	box-shadow:1px 1px 5px #000;
	opacity:0.7;
}
</pre>
<p>The st_about class is the wrapper class for the text container:</p>
<pre class="brush:css">.st_about{
	display:none;
	position:absolute;
	top:50px;
    left:0px;
	opacity:0.6;
}
</pre>
<p>And, finally the text container itself:</p>
<pre class="brush:css">.st_subcontent{
	background:#000;
	padding:30px;
	-moz-box-shadow:0px 0px 10px #000;
	-webkit-box-shadow:0px 0px 10px #000;
	box-shadow:0px 0px 10px #000;
}
</pre>
<p>And that&#8217;s all the style! Let&#8217;s make some magic!</p>
<h3>The JavaScript</h3>
<p>In our jQuery function we will first define some variables:</p>
<pre class="brush:js">//the loading image
var $loader		= $('#st_loading');
//the ul element
var $list		= $('#st_nav');
//the current image being shown
var $currImage 	= $('#st_main').children('img:first');
</pre>
<p>The first thing that we want to do is to load the current full size image. After it&#8217;s loaded, we want the navigation to appear:</p>
<pre class="brush:js">$('&lt;img&gt;').load(function(){
	$loader.hide();
	$currImage.fadeIn(3000);
	//slide out the menu
	setTimeout(function(){
		$list.animate({'left':'0px'},500);
	},
	1000);
}).attr('src',$currImage.attr('src'));
</pre>
<p>The buildThumbs() function calculates the widths of all the thumbnail containers. We need that value for the automatic scrolling function later on:</p>
<pre class="brush:js">buildThumbs();

function buildThumbs(){
	$list.children('li.album').each(function(){
		var $elem 			= $(this);
		var $thumbs_wrapper = $elem.find('.st_thumbs_wrapper');
		var $thumbs 		= $thumbs_wrapper.children(':first');
		//each thumb has 180px and we add 3 of margin
		var finalW 			= $thumbs.find('img').length * 183;
		$thumbs.css('width',finalW + 'px');
		//make this element scrollable
		makeScrollable($thumbs_wrapper,$thumbs);
	});
}
</pre>
<p>Next, we define the behavior of clicking on the arrows. If it&#8217;s down, we will expand the thumbnail container and hide any other. If it&#8217;s up, we will make the current container hide again.</p>
<pre class="brush:js">$list.find('.st_arrow_down').live('click',function(){
	var $this = $(this);
	hideThumbs();
	$this.addClass('st_arrow_up').removeClass('st_arrow_down');
	var $elem = $this.closest('li');
	$elem.addClass('current').animate({'height':'170px'},200);
	var $thumbs_wrapper = $this.parent().next();
	$thumbs_wrapper.show(200);
});
$list.find('.st_arrow_up').live('click',function(){
	var $this = $(this);
	$this.addClass('st_arrow_down').removeClass('st_arrow_up');
	hideThumbs();
});
</pre>
<p>Before we define the hideThumbs() function, we specify what happens when clicking on a thumb. The full size image will show and while it&#8217;s loading we will make the loading div appear. Then we animate the opacity and fade the image in:</p>
<pre class="brush:js">$list.find('.st_thumbs img').bind('click',function(){
	var $this = $(this);
	$loader.show();
	$('&lt;img class="st_preview"/&gt;').load(function(){
		var $this = $(this);
		var $currImage = $('#st_main').children('img:first');
		$this.insertBefore($currImage);
		$loader.hide();
		$currImage.fadeOut(2000,function(){
			$(this).remove();
		});
	}).attr('src',$this.attr('alt'));
}).bind('mouseenter',function(){
	$(this).stop().animate({'opacity':'1'});
}).bind('mouseleave',function(){
	$(this).stop().animate({'opacity':'0.7'});
});
</pre>
<p>The function to hide the thumbnails looks as follows:</p>
<pre class="brush:js">function hideThumbs(){
	$list.find('li.current')
		 .animate({'height':'50px'},400,function(){
			$(this).removeClass('current');
		 })
		 .find('.st_thumbs_wrapper')
		 .hide(200)
		 .andSelf()
		 .find('.st_link span')
		 .addClass('st_arrow_down')
		 .removeClass('st_arrow_up');
}
</pre>
<p>We animate the height of the li and make the thumbnails container disappear like that. We also need to set the class for the arrow span correctly.</p>
<p>And finally, we will define the makeScrollable() function that automatically scrolls the thumbnails div horizontally on mouse move:</p>
<pre class="brush:js">function makeScrollable($outer, $inner){
	var extra 			= 800;
	//Get menu width
	var divWidth = $outer.width();
	//Remove scrollbars
	$outer.css({
		overflow: 'hidden'
	});
	//Find last image in container
	var lastElem = $inner.find('img:last');
	$outer.scrollLeft(0);
	//When user move mouse over menu
	$outer.unbind('mousemove').bind('mousemove',function(e){
		var containerWidth = lastElem[0].offsetLeft + lastElem.outerWidth() + 2*extra;
		var left = (e.pageX - $outer.offset().left) * (containerWidth-divWidth) / divWidth - extra;
		$outer.scrollLeft(left);
	});
}
</pre>
<p>For cufonizing the titles and adding some decent shadow, we will include the following into the head of our html document:</p>
<pre class="brush:xml">&lt;script src="js/cufon-yui.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;script src="js/Quicksand_Book_400.font.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;script type="text/javascript"&gt;
	Cufon.replace('span,p,h1',{
		textShadow: '0px 0px 1px #ffffff'
	});
&lt;/script&gt;
</pre>
<p>And that&#8217;s it! We hope you enjoyed the tutorial and find it useful!</p>
<p><a class="demo" href="http://tympanus.net/Tutorials/ThumbnailsNavigationGallery/" target="_blank">View demo</a><a class="download" href="http://tympanus.net/Tutorials/ThumbnailsNavigationGallery/ThumbnailsNavigationGallery.zip">Download source</a></p>
<div class="googlead"> <script type="text/javascript"><!--
google_ad_client = "pub-8092681487200304";
/* 468x60, created 10/17/09 */
google_ad_slot = "5129482204";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>


<div class="shr-bookmarks shr-bookmarks-center">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Thumbnails+Navigation+Gallery+with+jQuery+-+http://tinyurl.com/2fx92g6+via+%40codrops&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-dzone">
			<a href="http://www.dzone.com/links/add.html?url=http://tympanus.net/codrops/2010/07/29/thumbnails-navigation-gallery/&amp;title=Thumbnails+Navigation+Gallery+with+jQuery&amp;description=%0D%0AView%20demoDownload%20source%0D%0A%0D%0AIn%20this%20tutorial%20we%20are%20going%20to%20create%20an%20extraordinary%20gallery%20with%20scrollable%20thumbnails%20that%20slide%20out%20from%20a%20navigation.%20We%20are%20going%20to%20use%20jQuery%20and%20some%20CSS3%20properties%20for%20the%20style.%20The%20main%20idea%20is%20to%20have%20a%20menu%20of%20albums%20where%20each%20item%20will%20reveal%20a%20horiz" rel="nofollow" class="external" title="Add this to DZone">Add this to DZone</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://tympanus.net/codrops/2010/07/29/thumbnails-navigation-gallery/&amp;title=Thumbnails+Navigation+Gallery+with+jQuery" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://tympanus.net/codrops/2010/07/29/thumbnails-navigation-gallery/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-googlereader">
			<a href="http://www.google.com/reader/link?url=http://tympanus.net/codrops/2010/07/29/thumbnails-navigation-gallery/&amp;title=Thumbnails+Navigation+Gallery+with+jQuery&amp;srcUrl=http://tympanus.net/codrops/2010/07/29/thumbnails-navigation-gallery/&amp;srcTitle=Thumbnails+Navigation+Gallery+with+jQuery&amp;snippet=%0D%0AView%20demoDownload%20source%0D%0A%0D%0AIn%20this%20tutorial%20we%20are%20going%20to%20create%20an%20extraordinary%20gallery%20with%20scrollable%20thumbnails%20that%20slide%20out%20from%20a%20navigation.%20We%20are%20going%20to%20use%20jQuery%20and%20some%20CSS3%20properties%20for%20the%20style.%20The%20main%20idea%20is%20to%20have%20a%20menu%20of%20albums%20where%20each%20item%20will%20reveal%20a%20horiz" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="shr-gmail">
			<a href="https://mail.google.com/mail/?ui=2&amp;view=cm&amp;fs=1&amp;tf=1&amp;su=Thumbnails+Navigation+Gallery+with+jQuery&amp;body=Link: http://tympanus.net/codrops/2010/07/29/thumbnails-navigation-gallery/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A %0D%0AView%20demoDownload%20source%0D%0A%0D%0AIn%20this%20tutorial%20we%20are%20going%20to%20create%20an%20extraordinary%20gallery%20with%20scrollable%20thumbnails%20that%20slide%20out%20from%20a%20navigation.%20We%20are%20going%20to%20use%20jQuery%20and%20some%20CSS3%20properties%20for%20the%20style.%20The%20main%20idea%20is%20to%20have%20a%20menu%20of%20albums%20where%20each%20item%20will%20reveal%20a%20horiz" rel="nofollow" class="external" title="Email this via Gmail">Email this via Gmail</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://tympanus.net/codrops/2010/07/29/thumbnails-navigation-gallery/&amp;title=Thumbnails+Navigation+Gallery+with+jQuery" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://tympanus.net/codrops/2010/07/29/thumbnails-navigation-gallery/&amp;t=Thumbnails+Navigation+Gallery+with+jQuery" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://tympanus.net/codrops/2010/07/29/thumbnails-navigation-gallery/&amp;title=Thumbnails+Navigation+Gallery+with+jQuery&amp;summary=%0D%0AView%20demoDownload%20source%0D%0A%0D%0AIn%20this%20tutorial%20we%20are%20going%20to%20create%20an%20extraordinary%20gallery%20with%20scrollable%20thumbnails%20that%20slide%20out%20from%20a%20navigation.%20We%20are%20going%20to%20use%20jQuery%20and%20some%20CSS3%20properties%20for%20the%20style.%20The%20main%20idea%20is%20to%20have%20a%20menu%20of%20albums%20where%20each%20item%20will%20reveal%20a%20horiz&amp;source=Codrops" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-designbump">
			<a href="http://designbump.com/submit?url=http://tympanus.net/codrops/2010/07/29/thumbnails-navigation-gallery/&amp;title=Thumbnails+Navigation+Gallery+with+jQuery&amp;body=%0D%0AView%20demoDownload%20source%0D%0A%0D%0AIn%20this%20tutorial%20we%20are%20going%20to%20create%20an%20extraordinary%20gallery%20with%20scrollable%20thumbnails%20that%20slide%20out%20from%20a%20navigation.%20We%20are%20going%20to%20use%20jQuery%20and%20some%20CSS3%20properties%20for%20the%20style.%20The%20main%20idea%20is%20to%20have%20a%20menu%20of%20albums%20where%20each%20item%20will%20reveal%20a%20horiz" rel="nofollow" class="external" title="Bump this on DesignBump">Bump this on DesignBump</a>
		</li>
		<li class="shr-zabox">
			<a href="http://www.zabox.net/submit.php?url=http://tympanus.net/codrops/2010/07/29/thumbnails-navigation-gallery/" rel="nofollow" class="external" title="Box this on Zabox">Box this on Zabox</a>
		</li>
		<li class="shr-scriptstyle">
			<a href="http://scriptandstyle.com/submit?url=http://tympanus.net/codrops/2010/07/29/thumbnails-navigation-gallery/&amp;title=Thumbnails+Navigation+Gallery+with+jQuery" rel="nofollow" class="external" title="Submit this to Script &amp; Style">Submit this to Script &amp; Style</a>
		</li>
		<li class="shr-webblend">
			<a href="http://thewebblend.com/submit?url=http://tympanus.net/codrops/2010/07/29/thumbnails-navigation-gallery/&amp;title=Thumbnails+Navigation+Gallery+with+jQuery&amp;body=%0D%0AView%20demoDownload%20source%0D%0A%0D%0AIn%20this%20tutorial%20we%20are%20going%20to%20create%20an%20extraordinary%20gallery%20with%20scrollable%20thumbnails%20that%20slide%20out%20from%20a%20navigation.%20We%20are%20going%20to%20use%20jQuery%20and%20some%20CSS3%20properties%20for%20the%20style.%20The%20main%20idea%20is%20to%20have%20a%20menu%20of%20albums%20where%20each%20item%20will%20reveal%20a%20horiz" rel="nofollow" class="external" title="Blend this!">Blend this!</a>
		</li>
		<li class="shr-designfloat">
			<a href="http://www.designfloat.com/submit.php?url=http://tympanus.net/codrops/2010/07/29/thumbnails-navigation-gallery/&amp;title=Thumbnails+Navigation+Gallery+with+jQuery" rel="nofollow" class="external" title="Submit this to DesignFloat">Submit this to DesignFloat</a>
		</li>
		<li class="shr-faqpal">
			<a href="http://www.faqpal.com/submit?url=http://tympanus.net/codrops/2010/07/29/thumbnails-navigation-gallery/" rel="nofollow" class="external" title="Submit this to FAQpal">Submit this to FAQpal</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://tympanus.net/codrops/2010/07/29/thumbnails-navigation-gallery/&amp;title=Thumbnails+Navigation+Gallery+with+jQuery&amp;desc=%0D%0AView%20demoDownload%20source%0D%0A%0D%0AIn%20this%20tutorial%20we%20are%20going%20to%20create%20an%20extraordinary%20gallery%20with%20scrollable%20thumbnails%20that%20slide%20out%20from%20a%20navigation.%20We%20are%20going%20to%20use%20jQuery%20and%20some%20CSS3%20properties%20for%20the%20style.%20The%20main%20idea%20is%20to%20have%20a%20menu%20of%20albums%20where%20each%20item%20will%20reveal%20a%20horiz" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-friendfeed">
			<a href="http://www.friendfeed.com/share?title=Thumbnails+Navigation+Gallery+with+jQuery&amp;link=http://tympanus.net/codrops/2010/07/29/thumbnails-navigation-gallery/" rel="nofollow" class="external" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="shr-boxnet">
			<a href="https://www.box.net/api/1.0/import?url=http://tympanus.net/codrops/2010/07/29/thumbnails-navigation-gallery/&amp;name=Thumbnails+Navigation+Gallery+with+jQuery&amp;description=%0D%0AView%20demoDownload%20source%0D%0A%0D%0AIn%20this%20tutorial%20we%20are%20going%20to%20create%20an%20extraordinary%20gallery%20with%20scrollable%20thumbnails%20that%20slide%20out%20from%20a%20navigation.%20We%20are%20going%20to%20use%20jQuery%20and%20some%20CSS3%20properties%20for%20the%20style.%20The%20main%20idea%20is%20to%20have%20a%20menu%20of%20albums%20where%20each%20item%20will%20reveal%20a%20horiz&amp;import_as=link" rel="nofollow" class="external" title="Add this link to Box.net">Add this link to Box.net</a>
		</li>
		<li class="shr-identica">
			<a href="http://identi.ca//index.php?action=newnotice&amp;status_textarea=Reading:+&quot;Thumbnails+Navigation+Gallery+with+jQuery&quot;+-+from+http://tinyurl.com/2fx92g6" rel="nofollow" class="external" title="Post this to Identica">Post this to Identica</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://tympanus.net/codrops/2010/07/29/thumbnails-navigation-gallery/&amp;bm_description=Thumbnails+Navigation+Gallery+with+jQuery&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://tympanus.net/codrops/2010/07/29/thumbnails-navigation-gallery/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://tympanus.net/codrops/2010/07/29/thumbnails-navigation-gallery/&amp;title=Thumbnails+Navigation+Gallery+with+jQuery" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-plurk">
			<a href="http://www.plurk.com/m?content=Thumbnails+Navigation+Gallery+with+jQuery+-+http://tympanus.net/codrops/2010/07/29/thumbnails-navigation-gallery/&amp;qualifier=shares" rel="nofollow" class="external" title="Share this on Plurk">Share this on Plurk</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://tympanus.net/codrops/2010/07/29/thumbnails-navigation-gallery/&amp;title=Thumbnails+Navigation+Gallery+with+jQuery" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://tympanus.net/codrops/2010/07/29/thumbnails-navigation-gallery/&amp;title=Thumbnails+Navigation+Gallery+with+jQuery" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://tympanus.net/codrops/2010/07/29/thumbnails-navigation-gallery/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Ftympanus.net%2Fcodrops%2F2010%2F07%2F29%2Fthumbnails-navigation-gallery%2F&amp;t=Thumbnails+Navigation+Gallery+with+jQuery" rel="nofollow" class="external" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://tympanus.net/codrops/2010/07/29/thumbnails-navigation-gallery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Music Portfolio Template with HTML5 and jQuery</title>
		<link>http://tympanus.net/codrops/2010/07/26/music-portfolio-template/</link>
		<comments>http://tympanus.net/codrops/2010/07/26/music-portfolio-template/#comments</comments>
		<pubDate>Mon, 26 Jul 2010 13:30:41 +0000</pubDate>
		<dc:creator>Mary Lou</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[carousel]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[draggable]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[portfolio]]></category>
		<category><![CDATA[template]]></category>

		<guid isPermaLink="false">http://tympanus.net/codrops/?p=2659</guid>
		<description><![CDATA[
			
				
			
		

Today we want to share a music portfolio template with you. The idea is to create an artist portfolio with a discography line up and HTML5 audio player jPlayer. The artist albums are shown using the jCarousel plugin and the user can add song samples to the play list and reorder the songs by dragging [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="position:relative; margin-top:-32px; float:right;z-index:999; margin-right:-10px">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Ftympanus.net%2Fcodrops%2F2010%2F07%2F26%2Fmusic-portfolio-template%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Ftympanus.net%2Fcodrops%2F2010%2F07%2F26%2Fmusic-portfolio-template%2F&amp;source=codrops&amp;style=compact" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="http://tympanus.net/Development/MusicPortfolioTemplate/" target="_blank"><img class="aligncenter size-full wp-image-2661" title="musicportfoliotemplate" src="http://tympanus.net/codrops/wp-content/uploads/2010/07/musicportfoliotemplate.jpg" alt="" width="580" height="315" /></a></p>
<p>Today we want to share a music portfolio template with you. The idea is to create an artist portfolio with a discography line up and HTML5 audio player <a href="http://www.happyworm.com/jquery/jplayer/">jPlayer</a>. The artist albums are shown using the <a href="http://sorgalla.com/jcarousel/">jCarousel plugin</a> and the user can add song samples to the play list and reorder the songs by dragging them.</p>
<p>The samples used are from the talented Ivan Chew at <a href="http://ccmixter.org/people/ramblinglibrarian/profile">ccmixter.org</a>. The original images come from <a href="http://www.flickr.com/photos/rickharris/">Rick Harris at Flickr</a>. All the albums are fictitious and are only shown for demonstration purposes. Any resemblance to existing bands or artists are unintended. </p>
<p>We hope you like this template and find it useful!</p>
<p><a class="demo" href="http://tympanus.net/Development/MusicPortfolioTemplate/" target="_blank">View demo</a><a class="download" href="http://tympanus.net/Development/MusicPortfolioTemplate/MusicPortfolioTemplate.zip">Download source</a></p>
<div class="googlead"> <script type="text/javascript"><!--
google_ad_client = "pub-8092681487200304";
/* 468x60, created 10/17/09 */
google_ad_slot = "5129482204";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>


<div class="shr-bookmarks shr-bookmarks-center">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Music+Portfolio+Template+with+HTML5+and+jQuery+-+http://tinyurl.com/26r7le5+via+%40codrops&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-dzone">
			<a href="http://www.dzone.com/links/add.html?url=http://tympanus.net/codrops/2010/07/26/music-portfolio-template/&amp;title=Music+Portfolio+Template+with+HTML5+and+jQuery&amp;description=%0D%0A%0D%0AToday%20we%20want%20to%20share%20a%20music%20portfolio%20template%20with%20you.%20The%20idea%20is%20to%20create%20an%20artist%20portfolio%20with%20a%20discography%20line%20up%20and%20HTML5%20audio%20player%20jPlayer.%20The%20artist%20albums%20are%20shown%20using%20the%20jCarousel%20plugin%20and%20the%20user%20can%20add%20song%20samples%20to%20the%20play%20list%20and%20reorder%20the%20songs%20by%20drag" rel="nofollow" class="external" title="Add this to DZone">Add this to DZone</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://tympanus.net/codrops/2010/07/26/music-portfolio-template/&amp;title=Music+Portfolio+Template+with+HTML5+and+jQuery" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://tympanus.net/codrops/2010/07/26/music-portfolio-template/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-googlereader">
			<a href="http://www.google.com/reader/link?url=http://tympanus.net/codrops/2010/07/26/music-portfolio-template/&amp;title=Music+Portfolio+Template+with+HTML5+and+jQuery&amp;srcUrl=http://tympanus.net/codrops/2010/07/26/music-portfolio-template/&amp;srcTitle=Music+Portfolio+Template+with+HTML5+and+jQuery&amp;snippet=%0D%0A%0D%0AToday%20we%20want%20to%20share%20a%20music%20portfolio%20template%20with%20you.%20The%20idea%20is%20to%20create%20an%20artist%20portfolio%20with%20a%20discography%20line%20up%20and%20HTML5%20audio%20player%20jPlayer.%20The%20artist%20albums%20are%20shown%20using%20the%20jCarousel%20plugin%20and%20the%20user%20can%20add%20song%20samples%20to%20the%20play%20list%20and%20reorder%20the%20songs%20by%20drag" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="shr-gmail">
			<a href="https://mail.google.com/mail/?ui=2&amp;view=cm&amp;fs=1&amp;tf=1&amp;su=Music+Portfolio+Template+with+HTML5+and+jQuery&amp;body=Link: http://tympanus.net/codrops/2010/07/26/music-portfolio-template/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A %0D%0A%0D%0AToday%20we%20want%20to%20share%20a%20music%20portfolio%20template%20with%20you.%20The%20idea%20is%20to%20create%20an%20artist%20portfolio%20with%20a%20discography%20line%20up%20and%20HTML5%20audio%20player%20jPlayer.%20The%20artist%20albums%20are%20shown%20using%20the%20jCarousel%20plugin%20and%20the%20user%20can%20add%20song%20samples%20to%20the%20play%20list%20and%20reorder%20the%20songs%20by%20drag" rel="nofollow" class="external" title="Email this via Gmail">Email this via Gmail</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://tympanus.net/codrops/2010/07/26/music-portfolio-template/&amp;title=Music+Portfolio+Template+with+HTML5+and+jQuery" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://tympanus.net/codrops/2010/07/26/music-portfolio-template/&amp;t=Music+Portfolio+Template+with+HTML5+and+jQuery" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://tympanus.net/codrops/2010/07/26/music-portfolio-template/&amp;title=Music+Portfolio+Template+with+HTML5+and+jQuery&amp;summary=%0D%0A%0D%0AToday%20we%20want%20to%20share%20a%20music%20portfolio%20template%20with%20you.%20The%20idea%20is%20to%20create%20an%20artist%20portfolio%20with%20a%20discography%20line%20up%20and%20HTML5%20audio%20player%20jPlayer.%20The%20artist%20albums%20are%20shown%20using%20the%20jCarousel%20plugin%20and%20the%20user%20can%20add%20song%20samples%20to%20the%20play%20list%20and%20reorder%20the%20songs%20by%20drag&amp;source=Codrops" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-designbump">
			<a href="http://designbump.com/submit?url=http://tympanus.net/codrops/2010/07/26/music-portfolio-template/&amp;title=Music+Portfolio+Template+with+HTML5+and+jQuery&amp;body=%0D%0A%0D%0AToday%20we%20want%20to%20share%20a%20music%20portfolio%20template%20with%20you.%20The%20idea%20is%20to%20create%20an%20artist%20portfolio%20with%20a%20discography%20line%20up%20and%20HTML5%20audio%20player%20jPlayer.%20The%20artist%20albums%20are%20shown%20using%20the%20jCarousel%20plugin%20and%20the%20user%20can%20add%20song%20samples%20to%20the%20play%20list%20and%20reorder%20the%20songs%20by%20drag" rel="nofollow" class="external" title="Bump this on DesignBump">Bump this on DesignBump</a>
		</li>
		<li class="shr-zabox">
			<a href="http://www.zabox.net/submit.php?url=http://tympanus.net/codrops/2010/07/26/music-portfolio-template/" rel="nofollow" class="external" title="Box this on Zabox">Box this on Zabox</a>
		</li>
		<li class="shr-scriptstyle">
			<a href="http://scriptandstyle.com/submit?url=http://tympanus.net/codrops/2010/07/26/music-portfolio-template/&amp;title=Music+Portfolio+Template+with+HTML5+and+jQuery" rel="nofollow" class="external" title="Submit this to Script &amp; Style">Submit this to Script &amp; Style</a>
		</li>
		<li class="shr-webblend">
			<a href="http://thewebblend.com/submit?url=http://tympanus.net/codrops/2010/07/26/music-portfolio-template/&amp;title=Music+Portfolio+Template+with+HTML5+and+jQuery&amp;body=%0D%0A%0D%0AToday%20we%20want%20to%20share%20a%20music%20portfolio%20template%20with%20you.%20The%20idea%20is%20to%20create%20an%20artist%20portfolio%20with%20a%20discography%20line%20up%20and%20HTML5%20audio%20player%20jPlayer.%20The%20artist%20albums%20are%20shown%20using%20the%20jCarousel%20plugin%20and%20the%20user%20can%20add%20song%20samples%20to%20the%20play%20list%20and%20reorder%20the%20songs%20by%20drag" rel="nofollow" class="external" title="Blend this!">Blend this!</a>
		</li>
		<li class="shr-designfloat">
			<a href="http://www.designfloat.com/submit.php?url=http://tympanus.net/codrops/2010/07/26/music-portfolio-template/&amp;title=Music+Portfolio+Template+with+HTML5+and+jQuery" rel="nofollow" class="external" title="Submit this to DesignFloat">Submit this to DesignFloat</a>
		</li>
		<li class="shr-faqpal">
			<a href="http://www.faqpal.com/submit?url=http://tympanus.net/codrops/2010/07/26/music-portfolio-template/" rel="nofollow" class="external" title="Submit this to FAQpal">Submit this to FAQpal</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://tympanus.net/codrops/2010/07/26/music-portfolio-template/&amp;title=Music+Portfolio+Template+with+HTML5+and+jQuery&amp;desc=%0D%0A%0D%0AToday%20we%20want%20to%20share%20a%20music%20portfolio%20template%20with%20you.%20The%20idea%20is%20to%20create%20an%20artist%20portfolio%20with%20a%20discography%20line%20up%20and%20HTML5%20audio%20player%20jPlayer.%20The%20artist%20albums%20are%20shown%20using%20the%20jCarousel%20plugin%20and%20the%20user%20can%20add%20song%20samples%20to%20the%20play%20list%20and%20reorder%20the%20songs%20by%20drag" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-friendfeed">
			<a href="http://www.friendfeed.com/share?title=Music+Portfolio+Template+with+HTML5+and+jQuery&amp;link=http://tympanus.net/codrops/2010/07/26/music-portfolio-template/" rel="nofollow" class="external" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="shr-boxnet">
			<a href="https://www.box.net/api/1.0/import?url=http://tympanus.net/codrops/2010/07/26/music-portfolio-template/&amp;name=Music+Portfolio+Template+with+HTML5+and+jQuery&amp;description=%0D%0A%0D%0AToday%20we%20want%20to%20share%20a%20music%20portfolio%20template%20with%20you.%20The%20idea%20is%20to%20create%20an%20artist%20portfolio%20with%20a%20discography%20line%20up%20and%20HTML5%20audio%20player%20jPlayer.%20The%20artist%20albums%20are%20shown%20using%20the%20jCarousel%20plugin%20and%20the%20user%20can%20add%20song%20samples%20to%20the%20play%20list%20and%20reorder%20the%20songs%20by%20drag&amp;import_as=link" rel="nofollow" class="external" title="Add this link to Box.net">Add this link to Box.net</a>
		</li>
		<li class="shr-identica">
			<a href="http://identi.ca//index.php?action=newnotice&amp;status_textarea=Reading:+&quot;Music+Portfolio+Template+with+HTML5+and+jQuery&quot;+-+from+http://tinyurl.com/26r7le5" rel="nofollow" class="external" title="Post this to Identica">Post this to Identica</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://tympanus.net/codrops/2010/07/26/music-portfolio-template/&amp;bm_description=Music+Portfolio+Template+with+HTML5+and+jQuery&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://tympanus.net/codrops/2010/07/26/music-portfolio-template/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://tympanus.net/codrops/2010/07/26/music-portfolio-template/&amp;title=Music+Portfolio+Template+with+HTML5+and+jQuery" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-plurk">
			<a href="http://www.plurk.com/m?content=Music+Portfolio+Template+with+HTML5+and+jQuery+-+http://tympanus.net/codrops/2010/07/26/music-portfolio-template/&amp;qualifier=shares" rel="nofollow" class="external" title="Share this on Plurk">Share this on Plurk</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://tympanus.net/codrops/2010/07/26/music-portfolio-template/&amp;title=Music+Portfolio+Template+with+HTML5+and+jQuery" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://tympanus.net/codrops/2010/07/26/music-portfolio-template/&amp;title=Music+Portfolio+Template+with+HTML5+and+jQuery" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://tympanus.net/codrops/2010/07/26/music-portfolio-template/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Ftympanus.net%2Fcodrops%2F2010%2F07%2F26%2Fmusic-portfolio-template%2F&amp;t=Music+Portfolio+Template+with+HTML5+and+jQuery" rel="nofollow" class="external" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://tympanus.net/codrops/2010/07/26/music-portfolio-template/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Related Posts Slide Out Boxes with jQuery and CSS3</title>
		<link>http://tympanus.net/codrops/2010/07/21/related-posts-slide-out-boxes/</link>
		<comments>http://tympanus.net/codrops/2010/07/21/related-posts-slide-out-boxes/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 10:37:16 +0000</pubDate>
		<dc:creator>Mary Lou</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[fixed]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[random]]></category>
		<category><![CDATA[slide out]]></category>

		<guid isPermaLink="false">http://tympanus.net/codrops/?p=2647</guid>
		<description><![CDATA[
			
				
			
		

View demoDownload source
The other day we were wondering how we could show our visitors more of our works. It&#8217;s normal that in a blog older posts get forgotten and even if something might still be very interesting and relevant, it get&#8217;s lost under the pile of new stuff. So we decided to create something like [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="position:relative; margin-top:-32px; float:right;z-index:999; margin-right:-10px">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Ftympanus.net%2Fcodrops%2F2010%2F07%2F21%2Frelated-posts-slide-out-boxes%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Ftympanus.net%2Fcodrops%2F2010%2F07%2F21%2Frelated-posts-slide-out-boxes%2F&amp;source=codrops&amp;style=compact" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="http://tympanus.net/Tutorials/RelatedPostsSlideOuts/" target="_blank"><img class="aligncenter size-full wp-image-2653" title="relatedpostsslideouts" src="http://tympanus.net/codrops/wp-content/uploads/2010/07/relatedpostsslideouts.jpg" alt="" width="580" height="315" /></a></p>
<p><a class="demo" href="http://tympanus.net/Tutorials/RelatedPostsSlideOuts/" target="_blank">View demo</a><a class="download" href="http://tympanus.net/Tutorials/RelatedPostsSlideOuts/RelatedPostsSlideOuts.zip">Download source</a></p>
<p>The other day we were wondering how we could show our visitors more of our works. It&#8217;s normal that in a blog older posts get forgotten and even if something might still be very interesting and relevant, it get&#8217;s lost under the pile of new stuff. So we decided to create something like a little widget that can be used to show related posts in any page. The main idea is to show a fixed list at the right side of the screen with some thumbnails sticking out. When the user hovers over the items, they slide out, revealing the title and two links, one for the related article itself and one for the demo. Additionally, we will have a shuffle button under the list. When pressed, the list gets randomly refreshed with related posts.</p>
<p>Before we use this, we of course, want to share it with you :)</p>
<p>So, let&#8217;s get started!</p>
<h3>The Markup</h3>
<p>The HTML structure is going to be a list with some nested elements inside: the main div with the thumbnail, the span for the title and the span with the two links:</p>
<pre class="brush:xml">&lt;div id="rp_list" class="rp_list"&gt;
	&lt;ul&gt;
		&lt;li&gt;
			&lt;div&gt;
				&lt;img src="images/1.jpg" alt=""/&gt;
				&lt;span class="rp_title"&gt;Post Title&lt;/span&gt;
				&lt;span class="rp_links"&gt;
					&lt;a target="_blank" href="#"&gt;Article&lt;/a&gt;
					&lt;a target="_blank" href="#"&gt;Demo&lt;/a&gt;
				&lt;/span&gt;
			&lt;/div&gt;
		&lt;/li&gt;
		...
	&lt;/ul&gt;
	&lt;span id="rp_shuffle" class="rp_shuffle"&gt;&lt;/span&gt;
&lt;/div&gt;
</pre>
<p>All related posts are going to be listed in our structure. In the JavaScript we will define that we only show 5 posts at a time. Of course, you need to replace the # with your links.<br />
The shuffle span will be positioned after the list.</p>
<p>Let&#8217;s take a look at the style.</p>
<h3>The CSS</h3>
<p>We will start by the general style attributes:</p>
<pre class="brush:css">.rp_list {
	font-family:Verdana, Helvetica, sans-serif;
	position:fixed;
	right:-220px;
	top:40px;
	margin:0;
	padding:0;
}
</pre>
<p>As you can see, the list will have a fixed position, always staying in the same place when the user scrolls the page. We are going to set the right to a negative value, hiding the whole list.</p>
<p>Next, let&#8217;s define the shuffle span style:</p>
<pre class="brush:css">span.rp_shuffle{
	background:#222 url(../images/shuffle.png) no-repeat 10px 50%;
	width:28px;
	height:14px;
	display:block;
	margin:10px 0px 0px 20px;
	cursor:pointer;
	padding:4px;
	border:1px solid #000;
	-moz-border-radius:5px 0px 0px 5px;
	-webkit-border-bottom-left-radius: 5px;
	-webkit-border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
	border-top-left-radius: 5px;
}
</pre>
<p>The list is going to have the following style:</p>
<pre class="brush:css">.rp_list ul{
	margin:0;
	padding:0;
	list-style:none;
}
</pre>
<p>The list items will not be shown initially:</p>
<pre class="brush:css">.rp_list ul li{
	width: 240px;
	margin-bottom:5px;
	display:none;
}
</pre>
<p>Our main elements will have the following style:</p>
<pre class="brush:css">.rp_list ul li div{
	display: block;
	line-height:15px;
	width: 240px;
	height: 80px;
	background:#333;
	border:1px solid #000;
	-moz-border-radius:5px 0px 0px 5px;
	-webkit-border-bottom-left-radius: 5px;
	-webkit-border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
	border-top-left-radius: 5px;
}
</pre>
<p>The thumbnail will be of the size 70&#215;70 pixel and we will add a box shadow to it:</p>
<pre class="brush:css">.rp_list ul li div img{
	width:70px;
	border:none;
	float:left;
	margin:4px 10px 0px 4px;
	border:1px solid #111;
	-moz-box-shadow:1px 1px 3px #000;
	-webkit-box-shadow:1px 1px 3px #000;
	box-shadow:1px 1px 3px #000;
}
</pre>
<p>The title span is going to have a inset shadow:</p>
<pre class="brush:css">span.rp_title{
	font-size:11px;
	color:#ddd;
	height:46px;
	margin:4px 0px 0px 20px;
	display:block;
	text-shadow:1px 1px 1px #000;
	padding-top:3px;
	background:#222;
	-moz-box-shadow:0px 0px 5px #000 inset;
	-webkit-box-shadow:0px 0px 5px #000 inset;
	box-shadow:0px 0px 5px #000 inset;
}
</pre>
<p>The span for the links and the buttons will have the following style:</p>
<pre class="brush:css">span.rp_links{
	width:195px;
	height:8px;
	padding-top:2px;
	display:block;
	margin-left:42px;
}
span.rp_links a{
	background: #222 url(../images/bgbutton.png) repeat-x;
	padding: 2px 18px;
	font-size:10px;
	color: #fff;
	text-decoration: none;
	line-height: 1;
	-moz-box-shadow: 0 1px 3px #000;
	-webkit-box-shadow: 0 1px 3px #000;
	box-shadow:0 1px 3px #000;
	text-shadow: 0 -1px 1px #222;
	cursor: pointer;
	outline:none;
}
span.rp_links a:hover{
	background-color:#000;
	color:#fff;
}
</pre>
<p>And that&#8217;s all the style. Let&#8217;s add some magic!</p>
<h3>The JavaScript</h3>
<p>The main idea is to first show 5 items with their whole width and to quickly slide them in until one can only see the thumbnail. That should happen when we load the page. It is a neat effect to show the user that there is something going on and that he can interact with this element.</p>
<p>When we hover over an item, we will make it slide out until its full width, revealing the title and the links.</p>
<p>The shuffle function will make 5 posts appear randomly. As you noticed, we added all our related posts to the HTML structure and from those items, we will randomly choose 5. This method does not guarantee us that the next set of items shown are not repeated, but it&#8217;s a simple solution.</p>
<p>We will add the following jQuery function:</p>
<pre class="brush:js">$(function() {
	/**
	* the list of posts
	*/
	var $list 		= $('#rp_list ul');
	/**
	* number of related posts
	*/
	var elems_cnt 		= $list.children().length;

	/**
	* show the first set of posts.
	* 200 is the initial left margin for the list elements
	*/
	load(200);

	function load(initial){
		$list.find('li').hide().andSelf().find('div').css('margin-left',-initial+'px');
		var loaded	= 0;
		//show 5 random posts from all the ones in the list.
		//Make sure not to repeat
		while(loaded &lt; 5){
			var r 		= Math.floor(Math.random()*elems_cnt);
			var $elem	= $list.find('li:nth-child('+ (r+1) +')');
			if($elem.is(':visible'))
				continue;
			else
				$elem.show();
			++loaded;
		}
		//animate them
		var d = 200;
		$list.find('li:visible div').each(function(){
			$(this).stop().animate({
				'marginLeft':'-50px'
			},d += 100);
		});
	}

	/**
	* hovering over the list elements makes them slide out
	*/
	$list.find('li:visible').live('mouseenter',function () {
		$(this).find('div').stop().animate({
			'marginLeft':'-220px'
		},200);
	}).live('mouseleave',function () {
		$(this).find('div').stop().animate({
			'marginLeft':'-50px'
		},200);
	});

	/**
	* when clicking the shuffle button,
	* show 5 random posts
	*/
	$('#rp_shuffle').unbind('click')
					.bind('click',shuffle)
					.stop()
					.animate({'margin-left':'-18px'},700);

	function shuffle(){
		$list.find('li:visible div').stop().animate({
			'marginLeft':'60px'
		},200,function(){
			load(-60);
		});
	}
});
</pre>
<p>And that&#8217;s all!</p>
<p>We hope you enjoyed this tutorial and found it useful!</p>
<p><a class="demo" href="http://tympanus.net/Tutorials/RelatedPostsSlideOuts/" target="_blank">View demo</a><a class="download" href="http://tympanus.net/Tutorials/RelatedPostsSlideOuts/RelatedPostsSlideOuts.zip">Download source</a></p>
<div class="googlead"> <script type="text/javascript"><!--
google_ad_client = "pub-8092681487200304";
/* 468x60, created 10/17/09 */
google_ad_slot = "5129482204";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>


<div class="shr-bookmarks shr-bookmarks-center">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Related+Posts+Slide+Out+Boxes+with+jQuery+and+CSS3+-+http://tinyurl.com/2fbmkko+via+%40codrops&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-dzone">
			<a href="http://www.dzone.com/links/add.html?url=http://tympanus.net/codrops/2010/07/21/related-posts-slide-out-boxes/&amp;title=Related+Posts+Slide+Out+Boxes+with+jQuery+and+CSS3&amp;description=%0D%0A%0D%0AView%20demoDownload%20source%0D%0A%0D%0AThe%20other%20day%20we%20were%20wondering%20how%20we%20could%20show%20our%20visitors%20more%20of%20our%20works.%20It%27s%20normal%20that%20in%20a%20blog%20older%20posts%20get%20forgotten%20and%20even%20if%20something%20might%20still%20be%20very%20interesting%20and%20relevant%2C%20it%20get%27s%20lost%20under%20the%20pile%20of%20new%20stuff.%20So%20we%20decided%20to%20creat" rel="nofollow" class="external" title="Add this to DZone">Add this to DZone</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://tympanus.net/codrops/2010/07/21/related-posts-slide-out-boxes/&amp;title=Related+Posts+Slide+Out+Boxes+with+jQuery+and+CSS3" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://tympanus.net/codrops/2010/07/21/related-posts-slide-out-boxes/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-googlereader">
			<a href="http://www.google.com/reader/link?url=http://tympanus.net/codrops/2010/07/21/related-posts-slide-out-boxes/&amp;title=Related+Posts+Slide+Out+Boxes+with+jQuery+and+CSS3&amp;srcUrl=http://tympanus.net/codrops/2010/07/21/related-posts-slide-out-boxes/&amp;srcTitle=Related+Posts+Slide+Out+Boxes+with+jQuery+and+CSS3&amp;snippet=%0D%0A%0D%0AView%20demoDownload%20source%0D%0A%0D%0AThe%20other%20day%20we%20were%20wondering%20how%20we%20could%20show%20our%20visitors%20more%20of%20our%20works.%20It%27s%20normal%20that%20in%20a%20blog%20older%20posts%20get%20forgotten%20and%20even%20if%20something%20might%20still%20be%20very%20interesting%20and%20relevant%2C%20it%20get%27s%20lost%20under%20the%20pile%20of%20new%20stuff.%20So%20we%20decided%20to%20creat" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="shr-gmail">
			<a href="https://mail.google.com/mail/?ui=2&amp;view=cm&amp;fs=1&amp;tf=1&amp;su=Related+Posts+Slide+Out+Boxes+with+jQuery+and+CSS3&amp;body=Link: http://tympanus.net/codrops/2010/07/21/related-posts-slide-out-boxes/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A %0D%0A%0D%0AView%20demoDownload%20source%0D%0A%0D%0AThe%20other%20day%20we%20were%20wondering%20how%20we%20could%20show%20our%20visitors%20more%20of%20our%20works.%20It%27s%20normal%20that%20in%20a%20blog%20older%20posts%20get%20forgotten%20and%20even%20if%20something%20might%20still%20be%20very%20interesting%20and%20relevant%2C%20it%20get%27s%20lost%20under%20the%20pile%20of%20new%20stuff.%20So%20we%20decided%20to%20creat" rel="nofollow" class="external" title="Email this via Gmail">Email this via Gmail</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://tympanus.net/codrops/2010/07/21/related-posts-slide-out-boxes/&amp;title=Related+Posts+Slide+Out+Boxes+with+jQuery+and+CSS3" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://tympanus.net/codrops/2010/07/21/related-posts-slide-out-boxes/&amp;t=Related+Posts+Slide+Out+Boxes+with+jQuery+and+CSS3" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://tympanus.net/codrops/2010/07/21/related-posts-slide-out-boxes/&amp;title=Related+Posts+Slide+Out+Boxes+with+jQuery+and+CSS3&amp;summary=%0D%0A%0D%0AView%20demoDownload%20source%0D%0A%0D%0AThe%20other%20day%20we%20were%20wondering%20how%20we%20could%20show%20our%20visitors%20more%20of%20our%20works.%20It%27s%20normal%20that%20in%20a%20blog%20older%20posts%20get%20forgotten%20and%20even%20if%20something%20might%20still%20be%20very%20interesting%20and%20relevant%2C%20it%20get%27s%20lost%20under%20the%20pile%20of%20new%20stuff.%20So%20we%20decided%20to%20creat&amp;source=Codrops" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-designbump">
			<a href="http://designbump.com/submit?url=http://tympanus.net/codrops/2010/07/21/related-posts-slide-out-boxes/&amp;title=Related+Posts+Slide+Out+Boxes+with+jQuery+and+CSS3&amp;body=%0D%0A%0D%0AView%20demoDownload%20source%0D%0A%0D%0AThe%20other%20day%20we%20were%20wondering%20how%20we%20could%20show%20our%20visitors%20more%20of%20our%20works.%20It%27s%20normal%20that%20in%20a%20blog%20older%20posts%20get%20forgotten%20and%20even%20if%20something%20might%20still%20be%20very%20interesting%20and%20relevant%2C%20it%20get%27s%20lost%20under%20the%20pile%20of%20new%20stuff.%20So%20we%20decided%20to%20creat" rel="nofollow" class="external" title="Bump this on DesignBump">Bump this on DesignBump</a>
		</li>
		<li class="shr-zabox">
			<a href="http://www.zabox.net/submit.php?url=http://tympanus.net/codrops/2010/07/21/related-posts-slide-out-boxes/" rel="nofollow" class="external" title="Box this on Zabox">Box this on Zabox</a>
		</li>
		<li class="shr-scriptstyle">
			<a href="http://scriptandstyle.com/submit?url=http://tympanus.net/codrops/2010/07/21/related-posts-slide-out-boxes/&amp;title=Related+Posts+Slide+Out+Boxes+with+jQuery+and+CSS3" rel="nofollow" class="external" title="Submit this to Script &amp; Style">Submit this to Script &amp; Style</a>
		</li>
		<li class="shr-webblend">
			<a href="http://thewebblend.com/submit?url=http://tympanus.net/codrops/2010/07/21/related-posts-slide-out-boxes/&amp;title=Related+Posts+Slide+Out+Boxes+with+jQuery+and+CSS3&amp;body=%0D%0A%0D%0AView%20demoDownload%20source%0D%0A%0D%0AThe%20other%20day%20we%20were%20wondering%20how%20we%20could%20show%20our%20visitors%20more%20of%20our%20works.%20It%27s%20normal%20that%20in%20a%20blog%20older%20posts%20get%20forgotten%20and%20even%20if%20something%20might%20still%20be%20very%20interesting%20and%20relevant%2C%20it%20get%27s%20lost%20under%20the%20pile%20of%20new%20stuff.%20So%20we%20decided%20to%20creat" rel="nofollow" class="external" title="Blend this!">Blend this!</a>
		</li>
		<li class="shr-designfloat">
			<a href="http://www.designfloat.com/submit.php?url=http://tympanus.net/codrops/2010/07/21/related-posts-slide-out-boxes/&amp;title=Related+Posts+Slide+Out+Boxes+with+jQuery+and+CSS3" rel="nofollow" class="external" title="Submit this to DesignFloat">Submit this to DesignFloat</a>
		</li>
		<li class="shr-faqpal">
			<a href="http://www.faqpal.com/submit?url=http://tympanus.net/codrops/2010/07/21/related-posts-slide-out-boxes/" rel="nofollow" class="external" title="Submit this to FAQpal">Submit this to FAQpal</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://tympanus.net/codrops/2010/07/21/related-posts-slide-out-boxes/&amp;title=Related+Posts+Slide+Out+Boxes+with+jQuery+and+CSS3&amp;desc=%0D%0A%0D%0AView%20demoDownload%20source%0D%0A%0D%0AThe%20other%20day%20we%20were%20wondering%20how%20we%20could%20show%20our%20visitors%20more%20of%20our%20works.%20It%27s%20normal%20that%20in%20a%20blog%20older%20posts%20get%20forgotten%20and%20even%20if%20something%20might%20still%20be%20very%20interesting%20and%20relevant%2C%20it%20get%27s%20lost%20under%20the%20pile%20of%20new%20stuff.%20So%20we%20decided%20to%20creat" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-friendfeed">
			<a href="http://www.friendfeed.com/share?title=Related+Posts+Slide+Out+Boxes+with+jQuery+and+CSS3&amp;link=http://tympanus.net/codrops/2010/07/21/related-posts-slide-out-boxes/" rel="nofollow" class="external" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="shr-boxnet">
			<a href="https://www.box.net/api/1.0/import?url=http://tympanus.net/codrops/2010/07/21/related-posts-slide-out-boxes/&amp;name=Related+Posts+Slide+Out+Boxes+with+jQuery+and+CSS3&amp;description=%0D%0A%0D%0AView%20demoDownload%20source%0D%0A%0D%0AThe%20other%20day%20we%20were%20wondering%20how%20we%20could%20show%20our%20visitors%20more%20of%20our%20works.%20It%27s%20normal%20that%20in%20a%20blog%20older%20posts%20get%20forgotten%20and%20even%20if%20something%20might%20still%20be%20very%20interesting%20and%20relevant%2C%20it%20get%27s%20lost%20under%20the%20pile%20of%20new%20stuff.%20So%20we%20decided%20to%20creat&amp;import_as=link" rel="nofollow" class="external" title="Add this link to Box.net">Add this link to Box.net</a>
		</li>
		<li class="shr-identica">
			<a href="http://identi.ca//index.php?action=newnotice&amp;status_textarea=Reading:+&quot;Related+Posts+Slide+Out+Boxes+with+jQuery+and+CSS3&quot;+-+from+http://tinyurl.com/2fbmkko" rel="nofollow" class="external" title="Post this to Identica">Post this to Identica</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://tympanus.net/codrops/2010/07/21/related-posts-slide-out-boxes/&amp;bm_description=Related+Posts+Slide+Out+Boxes+with+jQuery+and+CSS3&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://tympanus.net/codrops/2010/07/21/related-posts-slide-out-boxes/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://tympanus.net/codrops/2010/07/21/related-posts-slide-out-boxes/&amp;title=Related+Posts+Slide+Out+Boxes+with+jQuery+and+CSS3" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-plurk">
			<a href="http://www.plurk.com/m?content=Related+Posts+Slide+Out+Boxes+with+jQuery+and+CSS3+-+http://tympanus.net/codrops/2010/07/21/related-posts-slide-out-boxes/&amp;qualifier=shares" rel="nofollow" class="external" title="Share this on Plurk">Share this on Plurk</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://tympanus.net/codrops/2010/07/21/related-posts-slide-out-boxes/&amp;title=Related+Posts+Slide+Out+Boxes+with+jQuery+and+CSS3" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://tympanus.net/codrops/2010/07/21/related-posts-slide-out-boxes/&amp;title=Related+Posts+Slide+Out+Boxes+with+jQuery+and+CSS3" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://tympanus.net/codrops/2010/07/21/related-posts-slide-out-boxes/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Ftympanus.net%2Fcodrops%2F2010%2F07%2F21%2Frelated-posts-slide-out-boxes%2F&amp;t=Related+Posts+Slide+Out+Boxes+with+jQuery+and+CSS3" rel="nofollow" class="external" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://tympanus.net/codrops/2010/07/21/related-posts-slide-out-boxes/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Latest Tweets Tooltip with jQuery</title>
		<link>http://tympanus.net/codrops/2010/07/20/latest-tweets-tooltip/</link>
		<comments>http://tympanus.net/codrops/2010/07/20/latest-tweets-tooltip/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 16:48:47 +0000</pubDate>
		<dc:creator>cody</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[draggable]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[tooltip]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://tympanus.net/codrops/?p=2636</guid>
		<description><![CDATA[
			
				
			
		

If you have a news website, it might be interesting for you to allow your users to see the latests tweets about a topic. Here is a jQuery plugin for showing the latest tweets about a certain word or phrase. 
For this plugin we are using the jQuery Twitter Search Plugin.
Words or phrases that you [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="position:relative; margin-top:-32px; float:right;z-index:999; margin-right:-10px">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Ftympanus.net%2Fcodrops%2F2010%2F07%2F20%2Flatest-tweets-tooltip%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Ftympanus.net%2Fcodrops%2F2010%2F07%2F20%2Flatest-tweets-tooltip%2F&amp;source=codrops&amp;style=compact" height="61" width="50" /><br />
			</a>
		</div>
<p style="text-align: center;"><a href="http://tympanus.net/Development/LatestTweetsTooltip/" target="_blank"><img class="size-full wp-image-2641 aligncenter" title="LatestTweetsTooltip" src="http://tympanus.net/codrops/wp-content/uploads/2010/07/LatestTweetsTooltip.jpg" alt="" width="580" height="315" /></a></p>
<p>If you have a news website, it might be interesting for you to allow your users to see the latests tweets about a topic. Here is a jQuery plugin for showing the latest tweets about a certain word or phrase. </p>
<p>For this plugin we are using the <a href="http://jquery.malsup.com/twitter/">jQuery Twitter Search Plugin</a>.</p>
<p>Words or phrases that you want to be searched for in Twitter, are wrapped with the following span:</p>
<pre class="brush:xml">&lt;span class="twitter_search"&gt;Some search term&lt;/span&gt;</pre>
<p>The popup box that appears can be dragged and resized. Clicking on the cross will make it disappear. The tweets are constantly being loaded in a predefined time span. This loading stops when the user hovers over the tooltip box.</p>
<p>If you want to configure and restyle the tooltip, you will need to have a look at the configurations of the Twitter Search Plugin. Many parameters can be set here, from style to timings.</p>
<p>You can call the plugin like this:</p>
<pre class="brush:js">$(function() {
	$('#article').find('.twitter_search').twitterpopup();
});</pre>
<p>where #article should be replaced by the ID of your container.</p>
<p><a class="demo" href="http://tympanus.net/Development/LatestTweetsTooltip/" target="_blank">View demo</a><a class="download" href="http://tympanus.net/Development/LatestTweetsTooltip/LatestTweetsTooltip.zip">Download source</a></p>
<div class="googlead"> <script type="text/javascript"><!--
google_ad_client = "pub-8092681487200304";
/* 468x60, created 10/17/09 */
google_ad_slot = "5129482204";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>


<div class="shr-bookmarks shr-bookmarks-center">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Latest+Tweets+Tooltip+with+jQuery+-+http://tinyurl.com/23eeukv+via+%40codrops&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-dzone">
			<a href="http://www.dzone.com/links/add.html?url=http://tympanus.net/codrops/2010/07/20/latest-tweets-tooltip/&amp;title=Latest+Tweets+Tooltip+with+jQuery&amp;description=%0D%0AIf%20you%20have%20a%20news%20website%2C%20it%20might%20be%20interesting%20for%20you%20to%20allow%20your%20users%20to%20see%20the%20latests%20tweets%20about%20a%20topic.%20Here%20is%20a%20jQuery%20plugin%20for%20showing%20the%20latest%20tweets%20about%20a%20certain%20word%20or%20phrase.%20%0D%0A%0D%0AFor%20this%20plugin%20we%20are%20using%20the%20jQuery%20Twitter%20Search%20Plugin.%0D%0A%0D%0AWords%20or%20phrases%20that" rel="nofollow" class="external" title="Add this to DZone">Add this to DZone</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://tympanus.net/codrops/2010/07/20/latest-tweets-tooltip/&amp;title=Latest+Tweets+Tooltip+with+jQuery" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://tympanus.net/codrops/2010/07/20/latest-tweets-tooltip/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-googlereader">
			<a href="http://www.google.com/reader/link?url=http://tympanus.net/codrops/2010/07/20/latest-tweets-tooltip/&amp;title=Latest+Tweets+Tooltip+with+jQuery&amp;srcUrl=http://tympanus.net/codrops/2010/07/20/latest-tweets-tooltip/&amp;srcTitle=Latest+Tweets+Tooltip+with+jQuery&amp;snippet=%0D%0AIf%20you%20have%20a%20news%20website%2C%20it%20might%20be%20interesting%20for%20you%20to%20allow%20your%20users%20to%20see%20the%20latests%20tweets%20about%20a%20topic.%20Here%20is%20a%20jQuery%20plugin%20for%20showing%20the%20latest%20tweets%20about%20a%20certain%20word%20or%20phrase.%20%0D%0A%0D%0AFor%20this%20plugin%20we%20are%20using%20the%20jQuery%20Twitter%20Search%20Plugin.%0D%0A%0D%0AWords%20or%20phrases%20that" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="shr-gmail">
			<a href="https://mail.google.com/mail/?ui=2&amp;view=cm&amp;fs=1&amp;tf=1&amp;su=Latest+Tweets+Tooltip+with+jQuery&amp;body=Link: http://tympanus.net/codrops/2010/07/20/latest-tweets-tooltip/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A %0D%0AIf%20you%20have%20a%20news%20website%2C%20it%20might%20be%20interesting%20for%20you%20to%20allow%20your%20users%20to%20see%20the%20latests%20tweets%20about%20a%20topic.%20Here%20is%20a%20jQuery%20plugin%20for%20showing%20the%20latest%20tweets%20about%20a%20certain%20word%20or%20phrase.%20%0D%0A%0D%0AFor%20this%20plugin%20we%20are%20using%20the%20jQuery%20Twitter%20Search%20Plugin.%0D%0A%0D%0AWords%20or%20phrases%20that" rel="nofollow" class="external" title="Email this via Gmail">Email this via Gmail</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://tympanus.net/codrops/2010/07/20/latest-tweets-tooltip/&amp;title=Latest+Tweets+Tooltip+with+jQuery" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://tympanus.net/codrops/2010/07/20/latest-tweets-tooltip/&amp;t=Latest+Tweets+Tooltip+with+jQuery" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://tympanus.net/codrops/2010/07/20/latest-tweets-tooltip/&amp;title=Latest+Tweets+Tooltip+with+jQuery&amp;summary=%0D%0AIf%20you%20have%20a%20news%20website%2C%20it%20might%20be%20interesting%20for%20you%20to%20allow%20your%20users%20to%20see%20the%20latests%20tweets%20about%20a%20topic.%20Here%20is%20a%20jQuery%20plugin%20for%20showing%20the%20latest%20tweets%20about%20a%20certain%20word%20or%20phrase.%20%0D%0A%0D%0AFor%20this%20plugin%20we%20are%20using%20the%20jQuery%20Twitter%20Search%20Plugin.%0D%0A%0D%0AWords%20or%20phrases%20that&amp;source=Codrops" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-designbump">
			<a href="http://designbump.com/submit?url=http://tympanus.net/codrops/2010/07/20/latest-tweets-tooltip/&amp;title=Latest+Tweets+Tooltip+with+jQuery&amp;body=%0D%0AIf%20you%20have%20a%20news%20website%2C%20it%20might%20be%20interesting%20for%20you%20to%20allow%20your%20users%20to%20see%20the%20latests%20tweets%20about%20a%20topic.%20Here%20is%20a%20jQuery%20plugin%20for%20showing%20the%20latest%20tweets%20about%20a%20certain%20word%20or%20phrase.%20%0D%0A%0D%0AFor%20this%20plugin%20we%20are%20using%20the%20jQuery%20Twitter%20Search%20Plugin.%0D%0A%0D%0AWords%20or%20phrases%20that" rel="nofollow" class="external" title="Bump this on DesignBump">Bump this on DesignBump</a>
		</li>
		<li class="shr-zabox">
			<a href="http://www.zabox.net/submit.php?url=http://tympanus.net/codrops/2010/07/20/latest-tweets-tooltip/" rel="nofollow" class="external" title="Box this on Zabox">Box this on Zabox</a>
		</li>
		<li class="shr-scriptstyle">
			<a href="http://scriptandstyle.com/submit?url=http://tympanus.net/codrops/2010/07/20/latest-tweets-tooltip/&amp;title=Latest+Tweets+Tooltip+with+jQuery" rel="nofollow" class="external" title="Submit this to Script &amp; Style">Submit this to Script &amp; Style</a>
		</li>
		<li class="shr-webblend">
			<a href="http://thewebblend.com/submit?url=http://tympanus.net/codrops/2010/07/20/latest-tweets-tooltip/&amp;title=Latest+Tweets+Tooltip+with+jQuery&amp;body=%0D%0AIf%20you%20have%20a%20news%20website%2C%20it%20might%20be%20interesting%20for%20you%20to%20allow%20your%20users%20to%20see%20the%20latests%20tweets%20about%20a%20topic.%20Here%20is%20a%20jQuery%20plugin%20for%20showing%20the%20latest%20tweets%20about%20a%20certain%20word%20or%20phrase.%20%0D%0A%0D%0AFor%20this%20plugin%20we%20are%20using%20the%20jQuery%20Twitter%20Search%20Plugin.%0D%0A%0D%0AWords%20or%20phrases%20that" rel="nofollow" class="external" title="Blend this!">Blend this!</a>
		</li>
		<li class="shr-designfloat">
			<a href="http://www.designfloat.com/submit.php?url=http://tympanus.net/codrops/2010/07/20/latest-tweets-tooltip/&amp;title=Latest+Tweets+Tooltip+with+jQuery" rel="nofollow" class="external" title="Submit this to DesignFloat">Submit this to DesignFloat</a>
		</li>
		<li class="shr-faqpal">
			<a href="http://www.faqpal.com/submit?url=http://tympanus.net/codrops/2010/07/20/latest-tweets-tooltip/" rel="nofollow" class="external" title="Submit this to FAQpal">Submit this to FAQpal</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://tympanus.net/codrops/2010/07/20/latest-tweets-tooltip/&amp;title=Latest+Tweets+Tooltip+with+jQuery&amp;desc=%0D%0AIf%20you%20have%20a%20news%20website%2C%20it%20might%20be%20interesting%20for%20you%20to%20allow%20your%20users%20to%20see%20the%20latests%20tweets%20about%20a%20topic.%20Here%20is%20a%20jQuery%20plugin%20for%20showing%20the%20latest%20tweets%20about%20a%20certain%20word%20or%20phrase.%20%0D%0A%0D%0AFor%20this%20plugin%20we%20are%20using%20the%20jQuery%20Twitter%20Search%20Plugin.%0D%0A%0D%0AWords%20or%20phrases%20that" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-friendfeed">
			<a href="http://www.friendfeed.com/share?title=Latest+Tweets+Tooltip+with+jQuery&amp;link=http://tympanus.net/codrops/2010/07/20/latest-tweets-tooltip/" rel="nofollow" class="external" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="shr-boxnet">
			<a href="https://www.box.net/api/1.0/import?url=http://tympanus.net/codrops/2010/07/20/latest-tweets-tooltip/&amp;name=Latest+Tweets+Tooltip+with+jQuery&amp;description=%0D%0AIf%20you%20have%20a%20news%20website%2C%20it%20might%20be%20interesting%20for%20you%20to%20allow%20your%20users%20to%20see%20the%20latests%20tweets%20about%20a%20topic.%20Here%20is%20a%20jQuery%20plugin%20for%20showing%20the%20latest%20tweets%20about%20a%20certain%20word%20or%20phrase.%20%0D%0A%0D%0AFor%20this%20plugin%20we%20are%20using%20the%20jQuery%20Twitter%20Search%20Plugin.%0D%0A%0D%0AWords%20or%20phrases%20that&amp;import_as=link" rel="nofollow" class="external" title="Add this link to Box.net">Add this link to Box.net</a>
		</li>
		<li class="shr-identica">
			<a href="http://identi.ca//index.php?action=newnotice&amp;status_textarea=Reading:+&quot;Latest+Tweets+Tooltip+with+jQuery&quot;+-+from+http://tinyurl.com/23eeukv" rel="nofollow" class="external" title="Post this to Identica">Post this to Identica</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://tympanus.net/codrops/2010/07/20/latest-tweets-tooltip/&amp;bm_description=Latest+Tweets+Tooltip+with+jQuery&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://tympanus.net/codrops/2010/07/20/latest-tweets-tooltip/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://tympanus.net/codrops/2010/07/20/latest-tweets-tooltip/&amp;title=Latest+Tweets+Tooltip+with+jQuery" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-plurk">
			<a href="http://www.plurk.com/m?content=Latest+Tweets+Tooltip+with+jQuery+-+http://tympanus.net/codrops/2010/07/20/latest-tweets-tooltip/&amp;qualifier=shares" rel="nofollow" class="external" title="Share this on Plurk">Share this on Plurk</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://tympanus.net/codrops/2010/07/20/latest-tweets-tooltip/&amp;title=Latest+Tweets+Tooltip+with+jQuery" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://tympanus.net/codrops/2010/07/20/latest-tweets-tooltip/&amp;title=Latest+Tweets+Tooltip+with+jQuery" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://tympanus.net/codrops/2010/07/20/latest-tweets-tooltip/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Ftympanus.net%2Fcodrops%2F2010%2F07%2F20%2Flatest-tweets-tooltip%2F&amp;t=Latest+Tweets+Tooltip+with+jQuery" rel="nofollow" class="external" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://tympanus.net/codrops/2010/07/20/latest-tweets-tooltip/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Collective: Jquery Photo Tag Plugin</title>
		<link>http://tympanus.net/codrops/2010/07/20/collective-jquery-photo-tag-plugin/</link>
		<comments>http://tympanus.net/codrops/2010/07/20/collective-jquery-photo-tag-plugin/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 08:56:20 +0000</pubDate>
		<dc:creator>Community</dc:creator>
				<category><![CDATA[Collective]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[photo]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[tag]]></category>

		<guid isPermaLink="false">http://tympanus.net/codrops/?p=2632</guid>
		<description><![CDATA[
			
				
			
		


This is a highly configurable photo tagging plugin.It’s primely for tagging people on photos but it can also be used to create notes, but you will need to adapt the form part a little bit. The code is really clean and easy to understand, it follows the jquery plugin recommendations.
Source
http://karlmendes.com/2010/07/jquery-photo-tag-plugin/
Demo
http://karlmendes.com/static/photo-tag/tests/photo_tags/

 



]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="position:relative; margin-top:-32px; float:right;z-index:999; margin-right:-10px">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Ftympanus.net%2Fcodrops%2F2010%2F07%2F20%2Fcollective-jquery-photo-tag-plugin%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Ftympanus.net%2Fcodrops%2F2010%2F07%2F20%2Fcollective-jquery-photo-tag-plugin%2F&amp;source=codrops&amp;style=compact" height="61" width="50" /><br />
			</a>
		</div>
<!-- Digg Digg Disabled -->
<p><a href="http://karlmendes.com/2010/07/jquery-photo-tag-plugin/"><img src="http://tympanus.net/codrops/wp-content/uploads/2010/07/phototag.gif" alt="" title="phototag" width="580" height="381" class="aligncenter size-full wp-image-2633" /></a></p>
<p>This is a highly configurable photo tagging plugin.It’s primely for tagging people on photos but it can also be used to create notes, but you will need to adapt the form part a little bit. The code is really clean and easy to understand, it follows the jquery plugin recommendations.</p>
<h3>Source</h3>
<p><a href="http://karlmendes.com/2010/07/jquery-photo-tag-plugin/" target="_blank">http://karlmendes.com/2010/07/jquery-photo-tag-plugin/</a></p>
<h3>Demo</h3>
<p><a href="http://karlmendes.com/static/photo-tag/tests/photo_tags/" target="_blank">http://karlmendes.com/static/photo-tag/tests/photo_tags/</a></p>
<div style="margin-bottom:100px;"></div>
 <script type="text/javascript"><!--
google_ad_client = "pub-8092681487200304";
/* 468x60, created 10/17/09 */
google_ad_slot = "5129482204";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
]]></content:encoded>
			<wfw:commentRss>http://tympanus.net/codrops/2010/07/20/collective-jquery-photo-tag-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Collective: Youtube Style Share Button With URL Shortening using CURL, jQuery and PHP</title>
		<link>http://tympanus.net/codrops/2010/07/18/collective-youtube-style-share-button-with-url-shortening-using-curl-jquery-and-php/</link>
		<comments>http://tympanus.net/codrops/2010/07/18/collective-youtube-style-share-button-with-url-shortening-using-curl-jquery-and-php/#comments</comments>
		<pubDate>Sun, 18 Jul 2010 11:30:23 +0000</pubDate>
		<dc:creator>Community</dc:creator>
				<category><![CDATA[Collective]]></category>
		<category><![CDATA[curl]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[share button]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://tympanus.net/codrops/?p=2626</guid>
		<description><![CDATA[
			
				
			
		


These days every website must contain a section that is called “Share This”. Youtube style rating and share system is very attractive and nice. So after creating the rating system I have now come to share button. I have created Youtube style share button with a URL shortening script. Try the demo and use this [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="position:relative; margin-top:-32px; float:right;z-index:999; margin-right:-10px">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Ftympanus.net%2Fcodrops%2F2010%2F07%2F18%2Fcollective-youtube-style-share-button-with-url-shortening-using-curl-jquery-and-php%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Ftympanus.net%2Fcodrops%2F2010%2F07%2F18%2Fcollective-youtube-style-share-button-with-url-shortening-using-curl-jquery-and-php%2F&amp;source=codrops&amp;style=compact" height="61" width="50" /><br />
			</a>
		</div>
<!-- Digg Digg Disabled -->
<p><a href="http://www.99points.info/2010/07/youtube-style-share-button-with-url-shortening-using-curl-jquery-and-php/"><img src="http://tympanus.net/codrops/wp-content/uploads/2010/07/sharebutton.gif" alt="" title="sharebutton" width="580" height="232" class="aligncenter size-full wp-image-2629" /></a></p>
<p>These days every website must contain a section that is called “Share This”. Youtube style rating and share system is very attractive and nice. So after creating the rating system I have now come to share button. I have created Youtube style share button with a URL shortening script. Try the demo and use this awesome tutorial on your web pages. Hope you will like this.</p>
<h3>Source</h3>
<p><a href="http://www.99points.info/2010/07/youtube-style-share-button-with-url-shortening-using-curl-jquery-and-php/" target="_blank">http://www.99points.info/2010/07/youtube-style-share-button-with-url-shortening-using-curl-jquery-and-php/</a></p>
<h3>Demo</h3>
<p><a href="http://demos.99points.info/youtube_like_share_button/" target="_blank">http://demos.99points.info/youtube_like_share_button/</a></p>
<div style="margin-bottom:100px;"></div>
 <script type="text/javascript"><!--
google_ad_client = "pub-8092681487200304";
/* 468x60, created 10/17/09 */
google_ad_slot = "5129482204";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
]]></content:encoded>
			<wfw:commentRss>http://tympanus.net/codrops/2010/07/18/collective-youtube-style-share-button-with-url-shortening-using-curl-jquery-and-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Collective: TappGala: the Best in Mobile Interface Design</title>
		<link>http://tympanus.net/codrops/2010/07/18/collective-tappgala-the-best-in-mobile-interface-design/</link>
		<comments>http://tympanus.net/codrops/2010/07/18/collective-tappgala-the-best-in-mobile-interface-design/#comments</comments>
		<pubDate>Sun, 18 Jul 2010 10:05:40 +0000</pubDate>
		<dc:creator>Community</dc:creator>
				<category><![CDATA[Collective]]></category>
		<category><![CDATA[app]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://tympanus.net/codrops/?p=2619</guid>
		<description><![CDATA[
			
				
			
		


Your mobile app will soon be more important to your customers and prospects than your existing web site. TappGala is a new site highlighting the best in mobile interface design. Get some design inspiration or share some of your own work at TappGala.
Source
http://www.tappgala.com/

 



]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="position:relative; margin-top:-32px; float:right;z-index:999; margin-right:-10px">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Ftympanus.net%2Fcodrops%2F2010%2F07%2F18%2Fcollective-tappgala-the-best-in-mobile-interface-design%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Ftympanus.net%2Fcodrops%2F2010%2F07%2F18%2Fcollective-tappgala-the-best-in-mobile-interface-design%2F&amp;source=codrops&amp;style=compact" height="61" width="50" /><br />
			</a>
		</div>
<!-- Digg Digg Disabled -->
<p><a href="http://www.tappgala.com/"><img class="aligncenter size-full wp-image-2624" title="tappgala" src="http://tympanus.net/codrops/wp-content/uploads/2010/07/tappgala1.gif" alt="" width="580" height="346" /></a></p>
<p>Your mobile app will soon be more important to your customers and prospects than your existing web site. TappGala is a new site highlighting the best in mobile interface design. Get some design inspiration or share some of your own work at TappGala.</p>
<h3>Source</h3>
<p><a href="http://www.tappgala.com/" target="_blank">http://www.tappgala.com/</a></p>
<div style="margin-bottom:100px;"></div>
 <script type="text/javascript"><!--
google_ad_client = "pub-8092681487200304";
/* 468x60, created 10/17/09 */
google_ad_slot = "5129482204";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
]]></content:encoded>
			<wfw:commentRss>http://tympanus.net/codrops/2010/07/18/collective-tappgala-the-best-in-mobile-interface-design/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Collective: 9 Best Twitter Jquery Plugins</title>
		<link>http://tympanus.net/codrops/2010/07/18/collective-9-best-twitter-jquery-plugins/</link>
		<comments>http://tympanus.net/codrops/2010/07/18/collective-9-best-twitter-jquery-plugins/#comments</comments>
		<pubDate>Sun, 18 Jul 2010 09:15:52 +0000</pubDate>
		<dc:creator>Community</dc:creator>
				<category><![CDATA[Collective]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://tympanus.net/codrops/?p=2615</guid>
		<description><![CDATA[
			
				
			
		


There are lots of JavaScript libraries out there and many of them are in use on social media sites like twitter. This Twitter plugins uses the popular jQuery library, article contains a sampling of jQuery twitter plugins I’ve found useful.
Source
http://skyje.com/2010/07/twitter-jquery-plugins/

 



]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="position:relative; margin-top:-32px; float:right;z-index:999; margin-right:-10px">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Ftympanus.net%2Fcodrops%2F2010%2F07%2F18%2Fcollective-9-best-twitter-jquery-plugins%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Ftympanus.net%2Fcodrops%2F2010%2F07%2F18%2Fcollective-9-best-twitter-jquery-plugins%2F&amp;source=codrops&amp;style=compact" height="61" width="50" /><br />
			</a>
		</div>
<!-- Digg Digg Disabled -->
<p><a href="http://skyje.com/2010/07/twitter-jquery-plugins/"><img src="http://tympanus.net/codrops/wp-content/uploads/2010/07/twitterPlugins.gif" alt="" title="twitterPlugins" width="580" height="236" class="aligncenter size-full wp-image-2616" /></a></p>
<p>There are lots of JavaScript libraries out there and many of them are in use on social media sites like twitter. This Twitter plugins uses the popular jQuery library, article contains a sampling of jQuery twitter plugins I’ve found useful.</p>
<h3>Source</h3>
<p><a href="http://skyje.com/2010/07/twitter-jquery-plugins/" target="_blank">http://skyje.com/2010/07/twitter-jquery-plugins/</a></p>
<div style="margin-bottom:100px;"></div>
 <script type="text/javascript"><!--
google_ad_client = "pub-8092681487200304";
/* 468x60, created 10/17/09 */
google_ad_slot = "5129482204";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
]]></content:encoded>
			<wfw:commentRss>http://tympanus.net/codrops/2010/07/18/collective-9-best-twitter-jquery-plugins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Slide Down Box Menu with jQuery and CSS3</title>
		<link>http://tympanus.net/codrops/2010/07/16/slide-down-box-menu/</link>
		<comments>http://tympanus.net/codrops/2010/07/16/slide-down-box-menu/#comments</comments>
		<pubDate>Fri, 16 Jul 2010 08:41:19 +0000</pubDate>
		<dc:creator>Mary Lou</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[Navigation]]></category>
		<category><![CDATA[sliding]]></category>
		<category><![CDATA[thumbnails]]></category>

		<guid isPermaLink="false">http://tympanus.net/codrops/?p=2603</guid>
		<description><![CDATA[
			
				
			
		

View demoDownload source
In this tutorial we will create a unique sliding box navigation. The idea is to make a box with the menu item slide out, while a thumbnail pops up. We will also include a submenu box with further links for some of the menu items. The submenu will slide to the left or [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="position:relative; margin-top:-32px; float:right;z-index:999; margin-right:-10px">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Ftympanus.net%2Fcodrops%2F2010%2F07%2F16%2Fslide-down-box-menu%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Ftympanus.net%2Fcodrops%2F2010%2F07%2F16%2Fslide-down-box-menu%2F&amp;source=codrops&amp;style=compact" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="http://tympanus.net/Tutorials/SlideDownBoxMenu/" target="_blank"><img class="aligncenter size-full wp-image-2609" title="slidedownbox" src="http://tympanus.net/codrops/wp-content/uploads/2010/07/slidedownbox.jpg" alt="" width="580" height="315" /></a></p>
<p><a class="demo" href="http://tympanus.net/Tutorials/SlideDownBoxMenu/" target="_blank">View demo</a><a class="download" href="http://tympanus.net/Tutorials/SlideDownBoxMenu/SlideDownBoxMenu.zip">Download source</a></p>
<p>In this tutorial we will create a unique sliding box navigation. The idea is to make a box with the menu item slide out, while a thumbnail pops up. We will also include a submenu box with further links for some of the menu items. The submenu will slide to the left or to the right depending on which menu item we are hovering.</p>
<p>We will be using the <a href="http://gsgd.co.uk/sandbox/jquery/easing/">jQuery Easing Plugin</a> and some beautiful photos by <a href="http://www.flickr.com/photos/arcticpuppy/sets/72157622090180990/">tibchris</a>.</p>
<h3>The Markup</h3>
<p>For the HTML structure we will be using an unordered list where each menu item will contain the main link item and a div element for the submenu:</p>
<pre class="brush:xml">&lt;ul id="sdt_menu" class="sdt_menu"&gt;
	&lt;li&gt;
		&lt;a href="#"&gt;
			&lt;img src="images/1.jpg" alt=""/&gt;
			&lt;span class="sdt_active"&gt;&lt;/span&gt;
			&lt;span class="sdt_wrap"&gt;
				&lt;span class="sdt_link"&gt;Portfolio&lt;/span&gt;
				&lt;span class="sdt_descr"&gt;My work&lt;/span&gt;
			&lt;/span&gt;
		&lt;/a&gt;
		&lt;div class="sdt_box"&gt;
			&lt;a href="#"&gt;Websites&lt;/a&gt;
			&lt;a href="#"&gt;Illustrations&lt;/a&gt;
			&lt;a href="#"&gt;Photography&lt;/a&gt;
		&lt;/div&gt;
	&lt;/li&gt;
	...
&lt;/ul&gt;
</pre>
<p>If there is no submenu, the div can simply be left out. The image will not be shown in the beginning since we will set its width and height to 0 in the CSS.<br />
Let&#8217;s take a look at the style.</p>
<h3>The CSS</h3>
<p>We will start by styling the unordered list:</p>
<pre class="brush:css">ul.sdt_menu{
	margin:0;
	padding:0;
	list-style: none;
	font-family:"Myriad Pro", "Trebuchet MS", sans-serif;
	font-size:14px;
	width:1020px;
}
</pre>
<p>Genrally, we want to remove any default text-decoration and outline for all the link elements in our menu:</p>
<pre class="brush:css">ul.sdt_menu a{
	text-decoration:none;
	outline:none;
}
</pre>
<p>Our list items will be floating left and have the position relative since we will want to use absolute positioning for the elements inside. If we wouldn&#8217;t set that, absolute positioned elements would be relative to the whole page:</p>
<pre class="brush:css">ul.sdt_menu li{
	float:left;
	width:170px;
	height:85px;
	position:relative;
	cursor:pointer;
}
</pre>
<p>The styling for the main link element where we have our two spans for title and description will be styled as follows:</p>
<pre class="brush:css">ul.sdt_menu li &gt; a{
	position:absolute;
	top:0px;
	left:0px;
	width:170px;
	height:85px;
	z-index:12;
	background:transparent url(../images/overlay.png) no-repeat bottom right;
	-moz-box-shadow:0px 0px 2px #000;
	-webkit-box-shadow:0px 0px 2px #000;
	box-shadow:0px 0px 2px #000;
}
</pre>
<p>Notice the z-index: we will be defining a stacking order for all the important elements, so that the right ones stay on top. </p>
<p>We are using a background image that creates a glass like effect with a semi-transparent gradient. When you use some background pattern (like the wood in the demo) it creates a beautiful effect. Make sure to try out different textures &#8211; it just looks amazing! </p>
<p>You can also play with the shadows &#8211; changing the values to <strong>2px 2px 6px #000 inset</strong> will give you a very nice effect.</p>
<p>The image will be styled as follows:</p>
<pre class="brush:css">ul.sdt_menu li a img{
	border:none;
	position:absolute;
	width:0px;
	height:0px;
	bottom:0px;
	left:85px;
	z-index:100;
	-moz-box-shadow:0px 0px 4px #000;
	-webkit-box-shadow:0px 0px 4px #000;
	box-shadow:0px 0px 4px #000;
}
</pre>
<p>We want to animate the image to come up from the bottom, that&#8217;s why we position it absolutely using &#8220;bottom&#8221; as reference point. We also add some neat box shadow. The first two values are zero, making the shadow spread evenly around the image. We used this as well in the link element. This even shadow can be used as a trick, whenever you want to create a light border effect. The advantage is that shadows are not really there &#8211; you don&#8217;t need to consider it in your width or height calculations in elements. The current disadvantage is that CSS3 is not supported in IE.</p>
<p>The wrapper for the title and description spans will have this style:</p>
<pre class="brush:css">ul.sdt_menu li span.sdt_wrap{
	position:absolute;
	top:25px;
	left:0px;
	width:170px;
	height:60px;
	z-index:15;
}
</pre>
<p>If you have some larger texts, you will need to adapt these values. Make sure that the adapted values fit well with the animation values in the JavaScript, too.</p>
<p>Next, we define the style for the gray box that slides down. We give it a height of 0 and position it already in a way that we just need to increase its height in the animation:</p>
<pre class="brush:css">ul.sdt_menu li span.sdt_active{
	position:absolute;
	background:#111;
	top:85px;
	width:170px;
	height:0px;
	left:0px;
	z-index:14;
	-moz-box-shadow:0px 0px 4px #000 inset;
	-webkit-box-shadow:0px 0px 4px #000 inset;
	box-shadow:0px 0px 4px #000 inset;
}
</pre>
<p>The common styles for the spans and links in the boxes will be the following:</p>
<pre class="brush:css">ul.sdt_menu li span span.sdt_link,
ul.sdt_menu li span span.sdt_descr,
ul.sdt_menu li div.sdt_box a{
	margin-left:15px;
	text-transform:uppercase;
	text-shadow:1px 1px 1px #000;
}
</pre>
<p>The title and description will be styled as follows:</p>
<pre class="brush:css">ul.sdt_menu li span span.sdt_link{
	color:#fff;
	font-size:24px;
	float:left;
	clear:both;
}
ul.sdt_menu li span span.sdt_descr{
	color:#0B75AF;
	float:left;
	clear:both;
	width:155px;
	font-size:10px;
	letter-spacing:1px;
}
</pre>
<p>The submenu box will initially be hidden under the gray box. We will then animate it to the right or to the left depending on where we are. If we, for example, hover the last element, we want to animate that submenu box to the left, in all the other cases we want to animate it to the right.</p>
<pre class="brush:css">ul.sdt_menu li div.sdt_box{
	display:block;
	position:absolute;
	width:170px;
	overflow:hidden;
	height:170px;
	top:85px;
	left:0px;
	display:none;
	background:#000;
}
ul.sdt_menu li div.sdt_box a{
	float:left;
	clear:both;
	line-height:30px;
	color:#0B75AF;
}
</pre>
<p>The first link in the submenu should have a top margin:</p>
<pre class="brush:css">ul.sdt_menu li div.sdt_box a:first-child{
	margin-top:15px;
}
ul.sdt_menu li div.sdt_box a:hover{
	color:#fff;
}
</pre>
<p>And that&#8217;s all the style! Let&#8217;s add the magic!</p>
<h3>The JavaScript</h3>
<p>When we enter with the mouse on a list element we enlarge the image, and show both, the sdt_active span and the sdt_wrap span. If the element has a submenu (sdt_box), then we slide it to the side. If the element is the last one in the menu we slide the submenu box to the left, otherwise to the right:</p>
<pre class="brush:js">
$(function() {
	$('#sdt_menu &gt; li').bind('mouseenter',function(){
		var $elem = $(this);
		$elem.find('img')
			 .stop(true)
			 .animate({
				'width':'170px',
				'height':'170px',
				'left':'0px'
			 },400,'easeOutBack')
			 .andSelf()
			 .find('.sdt_wrap')
			 .stop(true)
			 .animate({'top':'140px'},500,'easeOutBack')
			 .andSelf()
			 .find('.sdt_active')
			 .stop(true)
			 .animate({'height':'170px'},300,function(){
			var $sub_menu = $elem.find('.sdt_box');
			if($sub_menu.length){
				var left = '170px';
				if($elem.parent().children().length == $elem.index()+1)
					left = '-170px';
				$sub_menu.show().animate({'left':left},200);
			}
		});
	}).bind('mouseleave',function(){
		var $elem = $(this);
		var $sub_menu = $elem.find('.sdt_box');
		if($sub_menu.length)
			$sub_menu.hide().css('left','0px');

		$elem.find('.sdt_active')
			 .stop(true)
			 .animate({'height':'0px'},300)
			 .andSelf().find('img')
			 .stop(true)
			 .animate({
				'width':'0px',
				'height':'0px',
				'left':'85px'},400)
			 .andSelf()
			 .find('.sdt_wrap')
			 .stop(true)
			 .animate({'top':'25px'},500);
	});
});
</pre>
<p>And that&#8217;s it! We hope you liked this little menu and find it useful!</p>
<p>P.S. It looks very juicy in Google Chrome!</p>
<p><a class="demo" href="http://tympanus.net/Tutorials/SlideDownBoxMenu/" target="_blank">View demo</a><a class="download" href="http://tympanus.net/Tutorials/SlideDownBoxMenu/SlideDownBoxMenu.zip">Download source</a></p>
<div class="googlead"> <script type="text/javascript"><!--
google_ad_client = "pub-8092681487200304";
/* 468x60, created 10/17/09 */
google_ad_slot = "5129482204";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>


<div class="shr-bookmarks shr-bookmarks-center">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Slide+Down+Box+Menu+with+jQuery+and+CSS3+-+http://tinyurl.com/2w9bfn6+via+%40codrops&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-dzone">
			<a href="http://www.dzone.com/links/add.html?url=http://tympanus.net/codrops/2010/07/16/slide-down-box-menu/&amp;title=Slide+Down+Box+Menu+with+jQuery+and+CSS3&amp;description=%0D%0A%0D%0AView%20demoDownload%20source%0D%0A%0D%0AIn%20this%20tutorial%20we%20will%20create%20a%20unique%20sliding%20box%20navigation.%20The%20idea%20is%20to%20make%20a%20box%20with%20the%20menu%20item%20slide%20out%2C%20while%20a%20thumbnail%20pops%20up.%20We%20will%20also%20include%20a%20submenu%20box%20with%20further%20links%20for%20some%20of%20the%20menu%20items.%20The%20submenu%20will%20slide%20to%20the%20left%20or%20" rel="nofollow" class="external" title="Add this to DZone">Add this to DZone</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://tympanus.net/codrops/2010/07/16/slide-down-box-menu/&amp;title=Slide+Down+Box+Menu+with+jQuery+and+CSS3" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://tympanus.net/codrops/2010/07/16/slide-down-box-menu/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-googlereader">
			<a href="http://www.google.com/reader/link?url=http://tympanus.net/codrops/2010/07/16/slide-down-box-menu/&amp;title=Slide+Down+Box+Menu+with+jQuery+and+CSS3&amp;srcUrl=http://tympanus.net/codrops/2010/07/16/slide-down-box-menu/&amp;srcTitle=Slide+Down+Box+Menu+with+jQuery+and+CSS3&amp;snippet=%0D%0A%0D%0AView%20demoDownload%20source%0D%0A%0D%0AIn%20this%20tutorial%20we%20will%20create%20a%20unique%20sliding%20box%20navigation.%20The%20idea%20is%20to%20make%20a%20box%20with%20the%20menu%20item%20slide%20out%2C%20while%20a%20thumbnail%20pops%20up.%20We%20will%20also%20include%20a%20submenu%20box%20with%20further%20links%20for%20some%20of%20the%20menu%20items.%20The%20submenu%20will%20slide%20to%20the%20left%20or%20" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="shr-gmail">
			<a href="https://mail.google.com/mail/?ui=2&amp;view=cm&amp;fs=1&amp;tf=1&amp;su=Slide+Down+Box+Menu+with+jQuery+and+CSS3&amp;body=Link: http://tympanus.net/codrops/2010/07/16/slide-down-box-menu/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A %0D%0A%0D%0AView%20demoDownload%20source%0D%0A%0D%0AIn%20this%20tutorial%20we%20will%20create%20a%20unique%20sliding%20box%20navigation.%20The%20idea%20is%20to%20make%20a%20box%20with%20the%20menu%20item%20slide%20out%2C%20while%20a%20thumbnail%20pops%20up.%20We%20will%20also%20include%20a%20submenu%20box%20with%20further%20links%20for%20some%20of%20the%20menu%20items.%20The%20submenu%20will%20slide%20to%20the%20left%20or%20" rel="nofollow" class="external" title="Email this via Gmail">Email this via Gmail</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://tympanus.net/codrops/2010/07/16/slide-down-box-menu/&amp;title=Slide+Down+Box+Menu+with+jQuery+and+CSS3" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://tympanus.net/codrops/2010/07/16/slide-down-box-menu/&amp;t=Slide+Down+Box+Menu+with+jQuery+and+CSS3" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://tympanus.net/codrops/2010/07/16/slide-down-box-menu/&amp;title=Slide+Down+Box+Menu+with+jQuery+and+CSS3&amp;summary=%0D%0A%0D%0AView%20demoDownload%20source%0D%0A%0D%0AIn%20this%20tutorial%20we%20will%20create%20a%20unique%20sliding%20box%20navigation.%20The%20idea%20is%20to%20make%20a%20box%20with%20the%20menu%20item%20slide%20out%2C%20while%20a%20thumbnail%20pops%20up.%20We%20will%20also%20include%20a%20submenu%20box%20with%20further%20links%20for%20some%20of%20the%20menu%20items.%20The%20submenu%20will%20slide%20to%20the%20left%20or%20&amp;source=Codrops" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-designbump">
			<a href="http://designbump.com/submit?url=http://tympanus.net/codrops/2010/07/16/slide-down-box-menu/&amp;title=Slide+Down+Box+Menu+with+jQuery+and+CSS3&amp;body=%0D%0A%0D%0AView%20demoDownload%20source%0D%0A%0D%0AIn%20this%20tutorial%20we%20will%20create%20a%20unique%20sliding%20box%20navigation.%20The%20idea%20is%20to%20make%20a%20box%20with%20the%20menu%20item%20slide%20out%2C%20while%20a%20thumbnail%20pops%20up.%20We%20will%20also%20include%20a%20submenu%20box%20with%20further%20links%20for%20some%20of%20the%20menu%20items.%20The%20submenu%20will%20slide%20to%20the%20left%20or%20" rel="nofollow" class="external" title="Bump this on DesignBump">Bump this on DesignBump</a>
		</li>
		<li class="shr-zabox">
			<a href="http://www.zabox.net/submit.php?url=http://tympanus.net/codrops/2010/07/16/slide-down-box-menu/" rel="nofollow" class="external" title="Box this on Zabox">Box this on Zabox</a>
		</li>
		<li class="shr-scriptstyle">
			<a href="http://scriptandstyle.com/submit?url=http://tympanus.net/codrops/2010/07/16/slide-down-box-menu/&amp;title=Slide+Down+Box+Menu+with+jQuery+and+CSS3" rel="nofollow" class="external" title="Submit this to Script &amp; Style">Submit this to Script &amp; Style</a>
		</li>
		<li class="shr-webblend">
			<a href="http://thewebblend.com/submit?url=http://tympanus.net/codrops/2010/07/16/slide-down-box-menu/&amp;title=Slide+Down+Box+Menu+with+jQuery+and+CSS3&amp;body=%0D%0A%0D%0AView%20demoDownload%20source%0D%0A%0D%0AIn%20this%20tutorial%20we%20will%20create%20a%20unique%20sliding%20box%20navigation.%20The%20idea%20is%20to%20make%20a%20box%20with%20the%20menu%20item%20slide%20out%2C%20while%20a%20thumbnail%20pops%20up.%20We%20will%20also%20include%20a%20submenu%20box%20with%20further%20links%20for%20some%20of%20the%20menu%20items.%20The%20submenu%20will%20slide%20to%20the%20left%20or%20" rel="nofollow" class="external" title="Blend this!">Blend this!</a>
		</li>
		<li class="shr-designfloat">
			<a href="http://www.designfloat.com/submit.php?url=http://tympanus.net/codrops/2010/07/16/slide-down-box-menu/&amp;title=Slide+Down+Box+Menu+with+jQuery+and+CSS3" rel="nofollow" class="external" title="Submit this to DesignFloat">Submit this to DesignFloat</a>
		</li>
		<li class="shr-faqpal">
			<a href="http://www.faqpal.com/submit?url=http://tympanus.net/codrops/2010/07/16/slide-down-box-menu/" rel="nofollow" class="external" title="Submit this to FAQpal">Submit this to FAQpal</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://tympanus.net/codrops/2010/07/16/slide-down-box-menu/&amp;title=Slide+Down+Box+Menu+with+jQuery+and+CSS3&amp;desc=%0D%0A%0D%0AView%20demoDownload%20source%0D%0A%0D%0AIn%20this%20tutorial%20we%20will%20create%20a%20unique%20sliding%20box%20navigation.%20The%20idea%20is%20to%20make%20a%20box%20with%20the%20menu%20item%20slide%20out%2C%20while%20a%20thumbnail%20pops%20up.%20We%20will%20also%20include%20a%20submenu%20box%20with%20further%20links%20for%20some%20of%20the%20menu%20items.%20The%20submenu%20will%20slide%20to%20the%20left%20or%20" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-friendfeed">
			<a href="http://www.friendfeed.com/share?title=Slide+Down+Box+Menu+with+jQuery+and+CSS3&amp;link=http://tympanus.net/codrops/2010/07/16/slide-down-box-menu/" rel="nofollow" class="external" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="shr-boxnet">
			<a href="https://www.box.net/api/1.0/import?url=http://tympanus.net/codrops/2010/07/16/slide-down-box-menu/&amp;name=Slide+Down+Box+Menu+with+jQuery+and+CSS3&amp;description=%0D%0A%0D%0AView%20demoDownload%20source%0D%0A%0D%0AIn%20this%20tutorial%20we%20will%20create%20a%20unique%20sliding%20box%20navigation.%20The%20idea%20is%20to%20make%20a%20box%20with%20the%20menu%20item%20slide%20out%2C%20while%20a%20thumbnail%20pops%20up.%20We%20will%20also%20include%20a%20submenu%20box%20with%20further%20links%20for%20some%20of%20the%20menu%20items.%20The%20submenu%20will%20slide%20to%20the%20left%20or%20&amp;import_as=link" rel="nofollow" class="external" title="Add this link to Box.net">Add this link to Box.net</a>
		</li>
		<li class="shr-identica">
			<a href="http://identi.ca//index.php?action=newnotice&amp;status_textarea=Reading:+&quot;Slide+Down+Box+Menu+with+jQuery+and+CSS3&quot;+-+from+http://tinyurl.com/2w9bfn6" rel="nofollow" class="external" title="Post this to Identica">Post this to Identica</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://tympanus.net/codrops/2010/07/16/slide-down-box-menu/&amp;bm_description=Slide+Down+Box+Menu+with+jQuery+and+CSS3&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://tympanus.net/codrops/2010/07/16/slide-down-box-menu/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://tympanus.net/codrops/2010/07/16/slide-down-box-menu/&amp;title=Slide+Down+Box+Menu+with+jQuery+and+CSS3" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-plurk">
			<a href="http://www.plurk.com/m?content=Slide+Down+Box+Menu+with+jQuery+and+CSS3+-+http://tympanus.net/codrops/2010/07/16/slide-down-box-menu/&amp;qualifier=shares" rel="nofollow" class="external" title="Share this on Plurk">Share this on Plurk</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://tympanus.net/codrops/2010/07/16/slide-down-box-menu/&amp;title=Slide+Down+Box+Menu+with+jQuery+and+CSS3" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://tympanus.net/codrops/2010/07/16/slide-down-box-menu/&amp;title=Slide+Down+Box+Menu+with+jQuery+and+CSS3" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://tympanus.net/codrops/2010/07/16/slide-down-box-menu/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Ftympanus.net%2Fcodrops%2F2010%2F07%2F16%2Fslide-down-box-menu%2F&amp;t=Slide+Down+Box+Menu+with+jQuery+and+CSS3" rel="nofollow" class="external" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://tympanus.net/codrops/2010/07/16/slide-down-box-menu/feed/</wfw:commentRss>
		<slash:comments>35</slash:comments>
		</item>
		<item>
		<title>Collective: YouTube Style Rating/Voting System using jQuery, Ajax and PHP</title>
		<link>http://tympanus.net/codrops/2010/07/15/collective-youtube-style-ratingvoting-system-using-jquery-ajax-and-php/</link>
		<comments>http://tympanus.net/codrops/2010/07/15/collective-youtube-style-ratingvoting-system-using-jquery-ajax-and-php/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 08:49:40 +0000</pubDate>
		<dc:creator>Community</dc:creator>
				<category><![CDATA[Collective]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[rating]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://tympanus.net/codrops/?p=2599</guid>
		<description><![CDATA[
			
				
			
		


Today I have created Youtube style rating system which is also called thumbs up/down rating. It is 99% identical to the original youtube rating system. I have tried my best to give you a stylish and the same youtube look rating system. I have implemented IP address checks so that a single user can rate [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="position:relative; margin-top:-32px; float:right;z-index:999; margin-right:-10px">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Ftympanus.net%2Fcodrops%2F2010%2F07%2F15%2Fcollective-youtube-style-ratingvoting-system-using-jquery-ajax-and-php%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Ftympanus.net%2Fcodrops%2F2010%2F07%2F15%2Fcollective-youtube-style-ratingvoting-system-using-jquery-ajax-and-php%2F&amp;source=codrops&amp;style=compact" height="61" width="50" /><br />
			</a>
		</div>
<!-- Digg Digg Disabled -->
<p><a href="http://www.99points.info/2010/07/youtube-style-ratingvoting-system-using-jquery-ajax-and-php-ever-best-tutorial/"><img src="http://tympanus.net/codrops/wp-content/uploads/2010/07/rating.gif" alt="" title="rating" width="580" height="246" class="aligncenter size-full wp-image-2600" /></a></p>
<p>Today I have created Youtube style rating system which is also called thumbs up/down rating. It is 99% identical to the original youtube rating system. I have tried my best to give you a stylish and the same youtube look rating system. I have implemented IP address checks so that a single user can rate only once.</p>
<h3>Source</h3>
<p><a href="http://www.99points.info/2010/07/youtube-style-ratingvoting-system-using-jquery-ajax-and-php-ever-best-tutorial/" target="_blank">http://www.99points.info/2010/07/youtube-style-ratingvoting-system-using-jquery-ajax-and-php-ever-best-tutorial/</a></p>
<h3>Demo</h3>
<p><a href="http://demos.99points.info/youtube_style_rating/" target="_blank">http://demos.99points.info/youtube_style_rating/</a></p>
<div style="margin-bottom:100px;"></div>
 <script type="text/javascript"><!--
google_ad_client = "pub-8092681487200304";
/* 468x60, created 10/17/09 */
google_ad_slot = "5129482204";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
]]></content:encoded>
			<wfw:commentRss>http://tympanus.net/codrops/2010/07/15/collective-youtube-style-ratingvoting-system-using-jquery-ajax-and-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss><!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)

Served from: tympanus.net @ 2010-07-28 22:26:27 -->
