<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Media Milan</title>
	<atom:link href="http://mediamilan.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://mediamilan.com</link>
	<description>Mujhe Thoda aur chahiye</description>
	<lastBuildDate>Wed, 11 Jan 2012 18:56:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Fading tabs with Jquery and CSS</title>
		<link>http://mediamilan.com/fading-tabs-with-jquery-and-css/</link>
		<comments>http://mediamilan.com/fading-tabs-with-jquery-and-css/#comments</comments>
		<pubDate>Wed, 11 Jan 2012 18:47:19 +0000</pubDate>
		<dc:creator>Mr. JCRP</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jquery freebie]]></category>

		<guid isPermaLink="false">http://mediamilan.com/?p=1113</guid>
		<description><![CDATA[I welcome you to another useful tutorial. This time it’s about how to create tabs with jquery. Just like any other tutorial this also comes from one of my project. I had a requirement to create tabbed content and this &#8230; <a href="http://mediamilan.com/fading-tabs-with-jquery-and-css/">Continue reading <span class="meta-nav">&#8594;</span></a>


Related posts:<ol><li><a href='http://mediamilan.com/animated-default-text-for-text-fields-using-jquery/' rel='bookmark' title='Permanent Link: How to give animated default text for text fields using Jquery?'>How to give animated default text for text fields using Jquery?</a></li>
<li><a href='http://mediamilan.com/simple-image-hover-gallery-using-jquery/' rel='bookmark' title='Permanent Link: Create a simple image hover gallery using jquery'>Create a simple image hover gallery using jquery</a></li>
<li><a href='http://mediamilan.com/how-to-create-simple-and-sleek-jquery-carousel-gallery/' rel='bookmark' title='Permanent Link: How to create Simple and sleek Jquery Carousel Gallery'>How to create Simple and sleek Jquery Carousel Gallery</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img src="http://mediamilan.com/wp-content/uploads/2012/01/Fading-tabs-with-Jquery-and-CSS.jpg" alt="" title="Fading-tabs-with-Jquery-and-CSS" width="638" height="347" class="alignnone size-full wp-image-1116" /></p>
<p>I welcome you to another useful tutorial. This time it’s about how to create <code>tabs</code> with <code>jquery</code>. Just like any other tutorial this also comes from one of my project. I had a requirement to create tabbed content and this is what I came out with. It is on production and good to start using in your websites.</p>
<p>Please take a look at the demo below before we proceed on to how we can do it using this tutorial.</p>
<p><span id="more-1113"></span></p>
<div class="single-downloadAndDemo">
<p><a class="ziplink" href="http://examples.mediamilan.com/Fading-tabs-with-Jquery-and-CSS/Fading-tabs-with-Jquery-and-CSS.zip" target="_blank">Get Code</a></p>
<p><a class="demolink" href="http://examples.mediamilan.com/Fading-tabs-with-Jquery-and-CSS/" target="_blank">Test Drive</a></p>
</div>
<h3>First we write the HTML code.</h3>
<p>Take a look at the code below.</p>
<pre class="html">
<span class="htmlOtherTag">&lt;div class=<span class="htmlAttributeValue">&quot;tabwrapper&quot;</span>&gt;</span>
			<span class="htmlOtherTag">&lt;div class=<span class="htmlAttributeValue">&quot;tabs_links&quot;</span>&gt;</span>
				<span class="htmlOtherTag">&lt;ul&gt;</span>
					<span class="htmlOtherTag">&lt;li&gt;</span><span class="htmlAnchorTag">&lt;a href=<span class="htmlAttributeValue">&quot;#tab1&quot;</span>&gt;</span>Events<span class="htmlAnchorTag">&lt;/a&gt;</span><span class="htmlOtherTag">&lt;/li&gt;</span>
					<span class="htmlOtherTag">&lt;li&gt;</span><span class="htmlAnchorTag">&lt;a  href=<span class="htmlAttributeValue">&quot;#tab2&quot;</span>&gt;</span>News<span class="htmlAnchorTag">&lt;/a&gt;</span><span class="htmlOtherTag">&lt;/li&gt;</span>
				<span class="htmlOtherTag">&lt;/ul&gt;</span>
			<span class="htmlOtherTag">&lt;/div&gt;</span>
			<span class="htmlOtherTag">&lt;div class=<span class="htmlAttributeValue">&quot;tab_content&quot;</span> id=<span class="htmlAttributeValue">&quot;tab1&quot;</span> style=<span class="htmlAttributeValue">&quot;display:none&quot;</span> &gt;</span>
				<span class="htmlOtherTag">&lt;ul&gt;</span>
					<span class="htmlOtherTag">&lt;li&gt;</span>
						<span class="htmlOtherTag">&lt;div class=<span class="htmlAttributeValue">&quot;thumb&quot;</span>&gt;</span>
							<span class="htmlAnchorTag">&lt;a href=<span class="htmlAttributeValue">&quot;#&quot;</span>&gt;</span><span class="htmlImageTag">&lt;img width=<span class="htmlAttributeValue">&quot;53&quot;</span> height=<span class="htmlAttributeValue">&quot;53&quot;</span> src=<span class="htmlAttributeValue">&quot;http://69.175.109.74/~fcsga/wp-content/uploads/2012/01/untitled-1-of-1-25-53x53.jpg&quot;</span> class=<span class="htmlAttributeValue">&quot;attachment-news-thumb wp-post-image&quot;</span> alt=<span class="htmlAttributeValue">&quot;untitled (1 of 1)-25&quot;</span> title=<span class="htmlAttributeValue">&quot;untitled (1 of 1)-25&quot;</span> /&gt;</span><span class="htmlAnchorTag">&lt;/a&gt;</span>
						 <span class="htmlOtherTag">&lt;/div&gt;</span>
						 <span class="htmlOtherTag">&lt;div class=<span class="htmlAttributeValue">&quot;descripton&quot;</span>&gt;</span>
							<span class="htmlOtherTag">&lt;h6&gt;</span><span class="htmlAnchorTag">&lt;a href=<span class="htmlAttributeValue">&quot;#&quot;</span>&gt;</span>Pre-School Registration Info for 2012-13<span class="htmlAnchorTag">&lt;/a&gt;</span><span class="htmlOtherTag">&lt;/h6&gt;</span>
							<span class="htmlOtherTag">&lt;em&gt;</span>(Posted on Tue, 03/01/2012)<span class="htmlOtherTag">&lt;/em&gt;</span>
							Classes are assigned based on the child’s age on September &raquo;
						<span class="htmlOtherTag">&lt;/div&gt;</span>
					<span class="htmlOtherTag">&lt;/li&gt;</span>
					<span class="htmlOtherTag">&lt;li&gt;</span>
						<span class="htmlOtherTag">&lt;div class=<span class="htmlAttributeValue">&quot;thumb&quot;</span>&gt;</span>
							<span class="htmlAnchorTag">&lt;a href=<span class="htmlAttributeValue">&quot;#&quot;</span>&quot;&gt;</span><span class="htmlImageTag">&lt;img width=<span class="htmlAttributeValue">&quot;53&quot;</span> height=<span class="htmlAttributeValue">&quot;53&quot;</span> src=<span class="htmlAttributeValue">&quot;http://69.175.109.74/~fcsga/wp-content/uploads/2012/01/new-year-2012-53x53.gif&quot;</span> class=<span class="htmlAttributeValue">&quot;attachment-news-thumb wp-post-image&quot;</span> alt=<span class="htmlAttributeValue">&quot;new-year-2012&quot;</span> title=<span class="htmlAttributeValue">&quot;new-year-2012&quot;</span> /&gt;</span><span class="htmlAnchorTag">&lt;/a&gt;</span>
						 <span class="htmlOtherTag">&lt;/div&gt;</span>
						 <span class="htmlOtherTag">&lt;div class=<span class="htmlAttributeValue">&quot;descripton&quot;</span>&gt;</span>
							<span class="htmlOtherTag">&lt;h6&gt;</span><span class="htmlAnchorTag">&lt;a href=<span class="htmlAttributeValue">&quot;#&quot;</span>&quot;&gt;</span>School Starts on the 5th of January<span class="htmlAnchorTag">&lt;/a&gt;</span><span class="htmlOtherTag">&lt;/h6&gt;</span>
							<span class="htmlOtherTag">&lt;em&gt;</span>(Posted on Tue, 03/01/2012)<span class="htmlOtherTag">&lt;/em&gt;</span>
							Happy New Year to you and like you we are &raquo;
						<span class="htmlOtherTag">&lt;/div&gt;</span>
					<span class="htmlOtherTag">&lt;/li&gt;</span>
					<span class="htmlOtherTag">&lt;li&gt;</span>
						<span class="htmlOtherTag">&lt;div class=<span class="htmlAttributeValue">&quot;thumb&quot;</span>&gt;</span>
							<span class="htmlAnchorTag">&lt;a href=<span class="htmlAttributeValue">&quot;#&quot;</span>&gt;</span><span class="htmlImageTag">&lt;img width=<span class="htmlAttributeValue">&quot;53&quot;</span> height=<span class="htmlAttributeValue">&quot;53&quot;</span> src=<span class="htmlAttributeValue">&quot;http://69.175.109.74/~fcsga/wp-content/uploads/2012/01/untitled-1-of-1-36-53x53.jpg&quot;</span> class=<span class="htmlAttributeValue">&quot;attachment-news-thumb wp-post-image&quot;</span> alt=<span class="htmlAttributeValue">&quot;untitled (1 of 1)-36&quot;</span> title=<span class="htmlAttributeValue">&quot;untitled (1 of 1)-36&quot;</span> /&gt;</span><span class="htmlAnchorTag">&lt;/a&gt;</span>
						 <span class="htmlOtherTag">&lt;/div&gt;</span>
						 <span class="htmlOtherTag">&lt;div class=<span class="htmlAttributeValue">&quot;descripton&quot;</span>&gt;</span>
							<span class="htmlOtherTag">&lt;h6&gt;</span><span class="htmlAnchorTag">&lt;a href=<span class="htmlAttributeValue">&quot;#&quot;</span>&gt;</span>New Website for FCS<span class="htmlAnchorTag">&lt;/a&gt;</span><span class="htmlOtherTag">&lt;/h6&gt;</span>
							<span class="htmlOtherTag">&lt;em&gt;</span>(Posted on Tue, 03/01/2012)<span class="htmlOtherTag">&lt;/em&gt;</span>
							New Year brings lots of new things in life, and &raquo;
						<span class="htmlOtherTag">&lt;/div&gt;</span>
					<span class="htmlOtherTag">&lt;/li&gt;</span>
				<span class="htmlOtherTag">&lt;/ul&gt;</span>
				<span class="htmlOtherTag">&lt;div class=<span class="htmlAttributeValue">&quot;clear&quot;</span>&gt;</span><span class="htmlOtherTag">&lt;/div&gt;</span>
			<span class="htmlOtherTag">&lt;/div&gt;</span>
			<span class="htmlOtherTag">&lt;div class=<span class="htmlAttributeValue">&quot;tab_content&quot;</span> id=<span class="htmlAttributeValue">&quot;tab2&quot;</span> style=<span class="htmlAttributeValue">&quot;display:none&quot;</span> &gt;</span>
				<span class="htmlOtherTag">&lt;ul&gt;</span>
					<span class="htmlOtherTag">&lt;li&gt;</span>
						<span class="htmlOtherTag">&lt;div class=<span class="htmlAttributeValue">&quot;thumb&quot;</span>&gt;</span>
							<span class="htmlAnchorTag">&lt;a href=<span class="htmlAttributeValue">&quot;#&quot;</span>&gt;</span><span class="htmlImageTag">&lt;img width=<span class="htmlAttributeValue">&quot;53&quot;</span> height=<span class="htmlAttributeValue">&quot;53&quot;</span> src=<span class="htmlAttributeValue">&quot;http://69.175.109.74/~fcsga/wp-content/uploads/2012/01/untitled-1-of-1-25-53x53.jpg&quot;</span> class=<span class="htmlAttributeValue">&quot;attachment-news-thumb wp-post-image&quot;</span> alt=<span class="htmlAttributeValue">&quot;untitled (1 of 1)-25&quot;</span> title=<span class="htmlAttributeValue">&quot;untitled (1 of 1)-25&quot;</span> /&gt;</span><span class="htmlAnchorTag">&lt;/a&gt;</span>
						 <span class="htmlOtherTag">&lt;/div&gt;</span>
						 <span class="htmlOtherTag">&lt;div class=<span class="htmlAttributeValue">&quot;descripton&quot;</span>&gt;</span>
							<span class="htmlOtherTag">&lt;h6&gt;</span><span class="htmlAnchorTag">&lt;a href=<span class="htmlAttributeValue">&quot;#&quot;</span>&gt;</span>Pre-School Registration Info for 2012-13<span class="htmlAnchorTag">&lt;/a&gt;</span><span class="htmlOtherTag">&lt;/h6&gt;</span>
							<span class="htmlOtherTag">&lt;em&gt;</span>(Posted on Tue, 03/01/2012)<span class="htmlOtherTag">&lt;/em&gt;</span>
							Classes are assigned based on the child’s age on September &raquo;
						<span class="htmlOtherTag">&lt;/div&gt;</span>
					<span class="htmlOtherTag">&lt;/li&gt;</span>
				<span class="htmlOtherTag">&lt;/ul&gt;</span>
				<span class="htmlOtherTag">&lt;div class=<span class="htmlAttributeValue">&quot;clear&quot;</span>&gt;</span><span class="htmlOtherTag">&lt;/div&gt;</span>
			<span class="htmlOtherTag">&lt;/div&gt;</span>
		<span class="htmlOtherTag">&lt;/div&gt;</span> 
</pre>
<p>We first create a div with class <code>tabs_links</code>. This has two <code>anchor</code> elements which on clicking will link us to <code>#tabs</code>. We have mentioned this in the <code>href</code> attribute. The first tab is given an ID as <code>tab1</code> and the second as <code>tab2</code>. You can keep going on in this manner to how many ever tabs you want. We be using the tab IDs in jquery later.</p>
<p>Next we will create two divs with class <code>tab_content</code> and give them their IDs. You put one div after the other and close them. Now remember the <code>anchor</code> tags which had their hyperlink href value as <code>#tab</code> IDs . So here you gotta give the divs <code>tab_content</code> with their specific IDs. This is how we will link the <code>anchor</code> tags with their respective <code>tab_content</code> divs.  What you put inside the <code>tab_content</code> div is upto you. For this example I have created a list item according to my requirement. Also if you have noticed I have put an inline styling and changed the <code>display to none</code>. I know that this is not the best method. I’ll be hiding them using jquery also. But this inline styling is just a fallback incase the jquery doesn’t work because of some reason. We don’t wanna see a broken page do we?</p>
<h3>Next comes the styling.</h3>
<p>Just to make things prettier I have used the following CSS. This tutorial is focused on how to create the tabs and not styling them. So I’ll be explaining the jquery part in detail which is coming next.</p>
<pre class="css">
<span class="cssSelector">.tabwrapper {</span>
    <span class="cssProperty">float</span><span class="cssRest">:</span><span class="cssValue"> left</span><span class="cssRest">;</span>
    <span class="cssProperty">width</span><span class="cssRest">:</span><span class="cssValue"> 350px</span><span class="cssRest">;</span>
	<span class="cssProperty">margin</span><span class="cssRest">:</span><span class="cssValue"> 20px 0 0 0</span><span class="cssRest">;</span>
<span class="cssSelector">}</span>
.tabs_links {
    <span class="cssProperty">height</span><span class="cssRest">:</span><span class="cssValue"> 34px</span><span class="cssRest">;</span>
    <span class="cssProperty">padding-bottom</span><span class="cssRest">:</span><span class="cssValue"> 2px</span><span class="cssRest">;</span>
    <span class="cssProperty">width</span><span class="cssRest">:</span><span class="cssValue"> 350px</span><span class="cssRest">;</span>
<span class="cssMedia">}</span>
.tabs_links ul {
    <span class="cssProperty">float</span><span class="cssRest">:</span><span class="cssValue"> left</span><span class="cssRest">;</span>
    <span class="cssProperty">margin-left</span><span class="cssRest">:</span><span class="cssValue"> 1px</span><span class="cssRest">;</span>
<span class="cssMedia">}</span>
.tabs_links ul li {
    <span class="cssProperty">float</span><span class="cssRest">:</span><span class="cssValue"> left</span><span class="cssRest">;</span>
    <span class="cssProperty">margin-top</span><span class="cssRest">:</span><span class="cssValue"> 2px</span><span class="cssRest">;</span>
<span class="cssMedia">}</span>
.tabs_links ul li a, .tabs_links_two ul li a {
    <span class="cssProperty">background-image</span><span class="cssRest">:</span><span class="cssValue"> url(<span class="cssString">"images/tabsep.jpg"</span>)</span><span class="cssRest">;</span>
    <span class="cssProperty">background-position</span><span class="cssRest">:</span><span class="cssValue"> right center</span><span class="cssRest">;</span>
    <span class="cssProperty">background-repeat</span><span class="cssRest">:</span><span class="cssValue"> no-repeat</span><span class="cssRest">;</span>
    <span class="cssProperty">color</span><span class="cssRest">:</span><span class="cssValue"> #222427</span><span class="cssRest">;</span>
    <span class="cssProperty">display</span><span class="cssRest">:</span><span class="cssValue"> inline-block</span><span class="cssRest">;</span>
    <span class="cssProperty">font-family</span><span class="cssRest">:</span><span class="cssValue"> Arial,Helvetica,sans-serif</span><span class="cssRest">;</span>
    <span class="cssProperty">font-size</span><span class="cssRest">:</span><span class="cssValue"> 14px</span><span class="cssRest">;</span>
    <span class="cssProperty">font-weight</span><span class="cssRest">:</span><span class="cssValue"> bold</span><span class="cssRest">;</span>
    <span class="cssProperty">line-height</span><span class="cssRest">:</span><span class="cssValue"> 33px</span><span class="cssRest">;</span>
    <span class="cssProperty">margin-top</span><span class="cssRest">:</span><span class="cssValue"> 2px</span><span class="cssRest">;</span>
    <span class="cssProperty">padding</span><span class="cssRest">:</span><span class="cssValue"> 0 22px</span><span class="cssRest">;</span>
<span class="cssMedia">}</span>
.tabs_links ul li a:hover, .tabs_links ul li.active a {
    <span class="cssProperty">background</span><span class="cssRest">:</span><span class="cssValue"> rgba(247,247,247,0.5)</span><span class="cssRest">;</span>
    <span class="cssProperty">border-left</span><span class="cssRest">:</span><span class="cssValue"> 1px solid #D5D5D5</span><span class="cssRest">;</span>
    <span class="cssProperty">border-right</span><span class="cssRest">:</span><span class="cssValue"> 1px solid #D5D5D5</span><span class="cssRest">;</span>
    <span class="cssProperty">border-top</span><span class="cssRest">:</span><span class="cssValue"> 1px solid #D5D5D5</span><span class="cssRest">;</span>
    <span class="cssProperty">color</span><span class="cssRest">:</span><span class="cssValue"> #FFFFFF</span><span class="cssRest">;</span>
    <span class="cssProperty">left</span><span class="cssRest">:</span><span class="cssValue"> -1px</span><span class="cssRest">;</span>
    <span class="cssProperty">line-height</span><span class="cssRest">:</span><span class="cssValue"> 32px</span><span class="cssRest">;</span>
    <span class="cssProperty">padding</span><span class="cssRest">:</span><span class="cssValue"> 0 20px 0 22px</span><span class="cssRest">;</span>
    <span class="cssProperty">position</span><span class="cssRest">:</span><span class="cssValue"> relative</span><span class="cssRest">;</span>
<span class="cssMedia">}</span>
.tab_content {
    <span class="cssProperty">background</span><span class="cssRest">:</span><span class="cssValue"> rgba(247,247,247,0.5)</span><span class="cssRest">;</span>
    <span class="cssProperty">border</span><span class="cssRest">:</span><span class="cssValue"> 1px solid #D5D5D5</span><span class="cssRest">;</span>
    <span class="cssProperty">padding-bottom</span><span class="cssRest">:</span><span class="cssValue"> 16px</span><span class="cssRest">;</span>
    <span class="cssProperty">width</span><span class="cssRest">:</span><span class="cssValue"> 348px</span><span class="cssRest">;</span>
<span class="cssMedia">}</span>
.tab_content ul {
    <span class="cssProperty">float</span><span class="cssRest">:</span><span class="cssValue"> left</span><span class="cssRest">;</span>
    <span class="cssProperty">padding</span><span class="cssRest">:</span><span class="cssValue"> 10px 0 0 15px</span><span class="cssRest">;</span>
<span class="cssMedia">}</span>
.tab_content li {
    <span class="cssProperty">border-bottom</span><span class="cssRest">:</span><span class="cssValue"> 1px solid #E1E1E1</span><span class="cssRest">;</span>
    <span class="cssProperty">float</span><span class="cssRest">:</span><span class="cssValue"> left</span><span class="cssRest">;</span>
    <span class="cssProperty">padding</span><span class="cssRest">:</span><span class="cssValue"> 12px 0 4px 1px</span><span class="cssRest">;</span>
    <span class="cssProperty">width</span><span class="cssRest">:</span><span class="cssValue"> 322px</span><span class="cssRest">;</span>
<span class="cssMedia">}</span>
.tab_content li .thumb img {
    <span class="cssProperty">border</span><span class="cssRest">:</span><span class="cssValue"> 1px solid #D5D5D5</span><span class="cssRest">;</span>
<span class="cssMedia">}</span>
.tab_content li .thumb {
    <span class="cssProperty">float</span><span class="cssRest">:</span><span class="cssValue"> left</span><span class="cssRest">;</span>
    <span class="cssProperty">padding-top</span><span class="cssRest">:</span><span class="cssValue"> 7px</span><span class="cssRest">;</span>
    <span class="cssProperty">width</span><span class="cssRest">:</span><span class="cssValue"> 55px</span><span class="cssRest">;</span>
<span class="cssMedia">}</span>
.tab_content li .descripton {
    <span class="cssProperty">float</span><span class="cssRest">:</span><span class="cssValue"> right</span><span class="cssRest">;</span>
    <span class="cssProperty">width</span><span class="cssRest">:</span><span class="cssValue"> 253px</span><span class="cssRest">;</span>
	<span class="cssProperty">font-size</span><span class="cssRest">:</span><span class="cssValue"> 12px</span><span class="cssRest">;</span>
<span class="cssMedia">}</span>
.tab_content li .descripton h6{
	<span class="cssProperty">margin</span><span class="cssRest">:</span><span class="cssValue"> 0 0 5px 0</span><span class="cssRest">;</span>
<span class="cssMedia">}</span>
.tab_content li .descripton a{
	<span class="cssProperty">font-size</span><span class="cssRest">:</span><span class="cssValue"> 13px</span><span class="cssRest">;</span>
	<span class="cssProperty">color</span><span class="cssRest">:</span><span class="cssValue"> #333333</span><span class="cssRest">;</span>
<span class="cssMedia">}</span>
.tab_content li .descripton em{
	<span class="cssProperty">display</span><span class="cssRest">:</span><span class="cssValue"> block</span><span class="cssRest">;</span>
	<span class="cssProperty">opacity</span><span class="cssRest">:</span><span class="cssValue">0.5</span><span class="cssRest">;</span>
	<span class="cssProperty">margin</span><span class="cssRest">:</span><span class="cssValue"> 0 0 3px 0</span><span class="cssRest">;</span>
<span class="cssMedia">}</span>
</pre>
<h3>We do the Magic here!</h3>
<p>Now to hide and display the tabs when the respective <code>anchor</code> tags are clicked we will be using Jquery. First take a look at the jquery code below, after which I’ll be explaining one line at a time in detail.</p>
<pre class="jquery">
$(document).ready(function() {
	$(".tab_content").hide(); //Hide all content
	$(".tabs_links ul li:first").addClass("active").show(); //Activate first tab
	$(".tab_content:first").show(); //Show first tab content
	//On Click Event
	$(".tabs_links ul li").click(function() {
		$(".tabs_links ul li").removeClass("active"); //Remove any "active" class
		$(this).addClass("active"); //Add "active" class to selected tab
		$(".tab_content").hide(); //Hide all tab content
		var activeTab = $(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
		$(activeTab).fadeIn(); //Fade in the active content
		return false;
	});
});
</pre>
<p>While writing the html code I told I’ll be hiding the divs with class <code>tab_content</code> using jquery though there is an inline styling. That’s what the first line is doing. We find all the divs with <code>tab_content</code> class and hide them.</p>
<pre class="jquery">
$(".tab_content").hide(); //Hide all content
</pre>
<p>In the second line we are setting the first anchor tag to active. Because we have styled the <code>li</code> element in CSS I am finding the first <code>li</code> element which has the first <code>anchor</code> tag and add a class named <code>active</code>, so that it looks highlighted. Next we show it using the <code>show</code> jquery function just in case. </p>
<pre class="jquery">
$(".tabs_links ul li:first").addClass("active").show(); //Activate first tab
</pre>
<p>In the third line we are selecting the first <code>tab_content</code> and showing it. We do it with the <code>:first</code> pseudo code. This will override the inline CSS we wrote earlier. </p>
<pre class="jquery">
$(".tab_content:first").show(); //Show first tab content
</pre>
<p><strong>Now for some action.</strong><br />
Now when any of the <code>li</code> element is clicked we need some function to be executed. And that is what we do here by creating a <code>click</code> function for the <code>li</code> elements under <code>tabs_links</code> div. Inside this <code>function</code> we can put all the codes we want to execute when the <code>li</code> element is clicked. </p>
<pre class="jquery">
$(".tabs_links ul li").click(function() {
});
</pre>
<p>First we remove the <code>active</code> class  from the <code>li</code> element. </p>
<pre class="jquery">
$(".tabs_links ul li").removeClass("active"); //Remove any "active" class
</pre>
<p>Then to the <code>li</code> element that was clicked we add the <code>active</code> class. That is why we use <code>this</code> jquery selector to find the <code>li</code> element here. <code>this</code> selector refers to the element to which function is associated with.</p>
<pre class="jquery">
$(this).addClass("active"); //Add "active" class to selected tab
</pre>
<p>Then we hide all the <code>tab_content</code> divs. So that in the next step we can find which <code>li</code> element was clicked and show the relative <code>tab_content</code>.</p>
<pre class="jquery">
$(".tab_content").hide(); //Hide all tab content
</pre>
<p>Now we simply create a variable named <code>activeTab</code>. This will hold the <code>href</code> attribute value of the <code>anchor</code> element whose parent &#8211; <code>li</code> element was clicked. We again use <code>this</code> jquery selector to find the <code>li</code> element which was clicked.  Then we find the <code>anchor</code> element inside it with the <code>find</code> jquery function. We further reach the <code>href</code> attribute by using the <code>attr</code> jquery function. </p>
<p>Now the variable <code>activeTab</code> holds <code>href</code> attribure value (which would be an ID).</p>
<pre class="jquery">
var activeTab = $(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
</pre>
<p>Next step is to simply find the <code>ID</code> stored in <code>activeTab</code> variable and fade in using the <code>fadeIn</code> jquery function.</p>
<pre class="jquery">
$(activeTab).fadeIn(); //Fade in the active content
</pre>
<p>All in all with just 14 lines of code we are able to create the most simple and elegant tabs using jquery. If you could further squeeze down the lines and give better results please let me know in the comments. </p>
<p>Hope this tutorial was useful as other. Do let me know that too. Thanks! See ya!</p>


<p>Related posts:<ol><li><a href='http://mediamilan.com/animated-default-text-for-text-fields-using-jquery/' rel='bookmark' title='Permanent Link: How to give animated default text for text fields using Jquery?'>How to give animated default text for text fields using Jquery?</a></li>
<li><a href='http://mediamilan.com/simple-image-hover-gallery-using-jquery/' rel='bookmark' title='Permanent Link: Create a simple image hover gallery using jquery'>Create a simple image hover gallery using jquery</a></li>
<li><a href='http://mediamilan.com/how-to-create-simple-and-sleek-jquery-carousel-gallery/' rel='bookmark' title='Permanent Link: How to create Simple and sleek Jquery Carousel Gallery'>How to create Simple and sleek Jquery Carousel Gallery</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://mediamilan.com/fading-tabs-with-jquery-and-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Animated buttons in CSS that makes sense</title>
		<link>http://mediamilan.com/animated-buttons-in-css-that-makes-sense/</link>
		<comments>http://mediamilan.com/animated-buttons-in-css-that-makes-sense/#comments</comments>
		<pubDate>Sun, 18 Dec 2011 15:27:22 +0000</pubDate>
		<dc:creator>Mr. JCRP</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://mediamilan.com/?p=1104</guid>
		<description><![CDATA[Last month when I was working with my new venture www.pixomania.in I accidently found this animation when I was fiddling with CSS Transition. Yes by now you would have guessed that the magic here is the CSS Transition property. But &#8230; <a href="http://mediamilan.com/animated-buttons-in-css-that-makes-sense/">Continue reading <span class="meta-nav">&#8594;</span></a>


No related posts.]]></description>
			<content:encoded><![CDATA[<p><img src="http://mediamilan.com/wp-content/uploads/2011/12/animated-css-button-that-make-sense.jpg" alt="" title="animated-css-button-that-make-sense" width="638" height="400" class="alignnone size-full wp-image-1105" /></p>
<p>Last month when I was working with my new venture <a href="http://pixomania.in/" target="_blank">www.pixomania.in</a> I accidently found this animation when I was fiddling with CSS  <code>Transition</code>. Yes by now you would have guessed that the magic here is the CSS <code>Transition</code> property. But there is also another ingredient which is <code>CSS Sprites</code>. And the way we mix these two is using the CSS <code>Background</code> property. Let’s have a look at the demo.</p>
<p><span id="more-1104"></span></p>
<div class="single-downloadAndDemo">
<p><a class="ziplink" href="http://examples.mediamilan.com/animated-button-that-makes-sense.zip" target="_blank">Get Code</a></p>
<p><a class="demolink" href="http://pixomania.in" target="_blank">Test Drive</a></p>
</div>
<p>Did you see the magic in the demo? Make sure that you have hover on all the text links buttons to see how the magic works. Now lets see the HTML and CSS mark up.</p>
<h3>HTML Markup</h3>
<p>Just write a link the normal way you do. This technique can be used with buttons too but for this example ill show you with a link.</p>
<pre class="html">
<span class="htmlAnchorTag">&lt;a class=<span class="htmlAttributeValue">&quot;nextpostslink&quot;</span> href=<span class="htmlAttributeValue">&quot;http://pixomania.in/pixio-series-collections/&quot;</span> title=<span class="htmlAttributeValue">&quot;Pixio Photo Series&quot;</span> &gt;</span>Pixo Series<span class="htmlAnchorTag">&lt;/a&gt;</span>
</pre>
<h3>CSS markup</h3>
<p>Before you do this make sure you have the sprite image ready. Something like this as shown below.</p>
<p><img src="http://mediamilan.com/wp-content/uploads/2011/12/pixomania-css-sprite.jpg" alt="Pixo Mania css sprite" /></p>
<p><strong>Now the CSS markup.</strong></p>
<pre class="css">
<span class="cssSelector">a.nextpostslink {</span>
    <span class="cssProperty">background</span><span class="cssRest">:</span><span class="cssValue"> url(<span class="cssString">"images/sprite_img.png"</span>) no-repeat scroll -271px -279px transparent</span><span class="cssRest">;</span>
    <span class="cssProperty">height</span><span class="cssRest">:</span><span class="cssValue"> 40px</span><span class="cssRest">;</span>
    <span class="cssProperty">margin</span><span class="cssRest">:</span><span class="cssValue"> 0 0 0 15px</span><span class="cssRest">;</span>
    <span class="cssProperty">text-indent</span><span class="cssRest">:</span><span class="cssValue"> -9999px</span><span class="cssRest">;</span>
    <span class="cssProperty">width</span><span class="cssRest">:</span><span class="cssValue"> 40px</span><span class="cssRest">;</span>
	<span class="cssProperty">-moz-transition</span><span class="cssRest">:</span><span class="cssValue"> all 0.4s ease-in-out 0s</span><span class="cssRest">;</span>
	<span class="cssProperty">-webkit-transition</span><span class="cssRest">:</span><span class="cssValue"> all 0.4s ease-in-out 0s</span><span class="cssRest">;</span>
	<span class="cssProperty">transition</span><span class="cssRest">:</span><span class="cssValue"> all 0.4s ease-in-out 0s</span><span class="cssRest">;</span>
<span class="cssSelector">}</span>
<span class="cssSelector">a.nextpostslink:hover {</span>
    <span class="cssProperty">background</span><span class="cssRest">:</span><span class="cssValue"> url(<span class="cssString">"images/sprite_img.png"</span>) no-repeat scroll -243px -279px transparent</span><span class="cssRest">;</span>
<span class="cssSelector">}</span>
</pre>
<h3>Explanation:</h3>
<p>First we write some rules using the <code>background</code> property to set the <code>sprite image</code> to the link. Then on <code>hover</code> we use the <code>background position</code> property or in this case the short code of <code>background position</code> inside <code>background</code> property to move the sprite image when the link is hovered on. I guess till thisyou would already be familiar with it.</p>
<p><img src="http://mediamilan.com/wp-content/uploads/2011/12/background-position-shortcode.jpg" alt="Background position shortcode" /></p>
<p>To this now we add the magic line “Transition” property. Since not all browsers support this property unanimously we have to use their hacks to make it work. And hence we use </p>
<pre class="css">
<span class="cssProperty">transition</span><span class="cssRest">:</span><span class="cssValue"> all 0.4s ease-in-out 0s</span><span class="cssRest">;</span>
<span class="cssProperty">-moz-transition</span><span class="cssRest">:</span><span class="cssValue"> all 0.4s ease-in-out 0s</span><span class="cssRest">;</span>
<span class="cssProperty">-webkit-transition</span><span class="cssRest">:</span><span class="cssValue"> all 0.4s ease-in-out 0s</span><span class="cssRest">;</span>
</pre>
<p>The ‘all’ value refers to all the property to which css3 <code>transition</code> can be applied to. In this case change only the background property on hover and hence only that will be animated. But if you like to change the color of the font or adjust padding and margin you could do so and see the effects that happen.</p>
<p><img src="http://mediamilan.com/wp-content/uploads/2011/12/transition-property-explanantion.jpg" alt="Transition property explanation" /></p>
<p>The ease in and ease out function help the animation happen smoothly. You can read more on this <a href="http://www.w3schools.com/cssref/css3_pr_transition-timing-function.asp">here</a>. </p>
<p>Hope this was useful and you can use this in your production website. Kindly share in the comments your suggestions and the website in which you have used this technique.</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://mediamilan.com/animated-buttons-in-css-that-makes-sense/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Rum Diary</title>
		<link>http://mediamilan.com/the-rum-diary-movie-trailer/</link>
		<comments>http://mediamilan.com/the-rum-diary-movie-trailer/#comments</comments>
		<pubDate>Tue, 30 Aug 2011 15:10:40 +0000</pubDate>
		<dc:creator>Mr. JCRP</dc:creator>
				<category><![CDATA[Trailers]]></category>
		<category><![CDATA[Comedy]]></category>
		<category><![CDATA[Romance]]></category>

		<guid isPermaLink="false">http://mediamilan.com/?p=1100</guid>
		<description><![CDATA[The Rum Diary Director: Bruce Robinson Writers: Bruce Robinson (screenplay), Hunter S. Thompson (novel) Stars: Johnny Depp, Amber Heard and Aaron Eckhart IMDB: http://www.imdb.com/title/tt0376136/ Movie Website: Facebook Page Synopsis Based on the debut novel by Hunter S. Thompson, &#8220;The Rum &#8230; <a href="http://mediamilan.com/the-rum-diary-movie-trailer/">Continue reading <span class="meta-nav">&#8594;</span></a>


Related posts:<ol><li><a href='http://mediamilan.com/diary-of-a-wimpy-kid-rodrick-rules-movie-trailer/' rel='bookmark' title='Permanent Link: Diary of a Wimpy Kid: Rodrick Rules'>Diary of a Wimpy Kid: Rodrick Rules</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="left innerPosterImg curvedBG">
<p>	<img src="http://mediamilan.com/wp-content/uploads/2011/08/The-Rum-Diary-movie-poster.jpg" alt="" title="The-Rum-Diary-movie-poster" width="135" height="195" class="alignnone size-full wp-image-1101" /></p>
</div>
<div class="left trailerDetails curvedBG">
<h1 class="chunkfive">The Rum Diary</h1>
<p>	<strong>Director:</strong> Bruce Robinson<br />
	<strong>Writers:</strong> Bruce Robinson (screenplay), Hunter S. Thompson (novel)<br />
	<strong>Stars:</strong> Johnny Depp, Amber Heard and Aaron Eckhart<br />
	<strong>IMDB:</strong> <a href="http://www.imdb.com/title/tt0376136/">http://www.imdb.com/title/tt0376136/</a><br />
        <strong>Movie Website:</strong> <a href="http://www.facebook.com/TheRumDiaryFilm">Facebook Page</a></p>
</div>
<div class="clear"></div>
<p>	<iframe width="640" height="400" src="http://www.youtube.com/embed/R8KblG1S0_A" frameborder="0" allowfullscreen></iframe></p>
<h3>Synopsis</h3>
<p>Based on the debut novel by Hunter S. Thompson, &#8220;The Rum Diary&#8221; tells the increasingly unhinged story of itinerant journalist Paul Kemp (Johnny Depp). Tiring of the noise and madness of New York and the crushing conventions of late Eisenhower-era America, Kemp travels to the pristine island of Puerto Rico to write for a local newspaper, The San Juan Star, run by downtrodden editor Lotterman (Richard Jenkins). Adopting the rum-soaked life of the island, Paul soon becomes obsessed with Chenault (Amber Heard), the wildly attractive Connecticut-born fiancée of Sanderson (Aaron Eckhart). Sanderson, a businessman involved in shady property development deals, is one of a growing number of American entrepreneurs who are determined to convert Puerto Rico into a capitalist paradise in service of the wealthy. When Kemp is recruited by Sanderson to write favorably about his latest unsavory scheme, the journalist is presented with a choice: to use his words for the corrupt businessmen&#8217;s financial benefit, or use them to take the bastards down.</p>


<p>Related posts:<ol><li><a href='http://mediamilan.com/diary-of-a-wimpy-kid-rodrick-rules-movie-trailer/' rel='bookmark' title='Permanent Link: Diary of a Wimpy Kid: Rodrick Rules'>Diary of a Wimpy Kid: Rodrick Rules</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://mediamilan.com/the-rum-diary-movie-trailer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shark Night 3D</title>
		<link>http://mediamilan.com/shark-night-3d-movie-trailer/</link>
		<comments>http://mediamilan.com/shark-night-3d-movie-trailer/#comments</comments>
		<pubDate>Tue, 30 Aug 2011 15:04:58 +0000</pubDate>
		<dc:creator>Mr. JCRP</dc:creator>
				<category><![CDATA[Trailers]]></category>
		<category><![CDATA[Thriller]]></category>

		<guid isPermaLink="false">http://mediamilan.com/?p=1097</guid>
		<description><![CDATA[Shark Night 3D Director: David R. Ellis Writers: Will Hayes (screenplay), Jesse Studenberg (screenplay) Stars: Sara Paxton, Dustin Milligan and Chris Carmack IMDB: http://www.imdb.com/title/tt1633356/ Movie Website: Facebook Page Synopsis A sexy summer weekend turns into a blood-soaked nightmare for a &#8230; <a href="http://mediamilan.com/shark-night-3d-movie-trailer/">Continue reading <span class="meta-nav">&#8594;</span></a>


Related posts:<ol><li><a href='http://mediamilan.com/tucker-and-dale-vs-evil-movie-trailer/' rel='bookmark' title='Permanent Link: Tucker and Dale vs Evil'>Tucker and Dale vs Evil</a></li>
<li><a href='http://mediamilan.com/fright-night-movie-trailer/' rel='bookmark' title='Permanent Link: Fright Night'>Fright Night</a></li>
<li><a href='http://mediamilan.com/dylan-dog-dead-of-the-night-movie-trailer/' rel='bookmark' title='Permanent Link: Dylan Dog: Dead of the Night'>Dylan Dog: Dead of the Night</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="left innerPosterImg curvedBG">
<p>	<img src="http://mediamilan.com/wp-content/uploads/2011/08/Shark-Night-3D-movie-poster.jpg" alt="" title="Shark-Night-3D-movie-poster" width="135" height="195" class="alignnone size-full wp-image-1098" /></p>
</div>
<div class="left trailerDetails curvedBG">
<h1 class="chunkfive">Shark Night 3D</h1>
<p>	<strong>Director:</strong> David R. Ellis<br />
	<strong>Writers:</strong> Will Hayes (screenplay), Jesse Studenberg (screenplay)<br />
	<strong>Stars:</strong> Sara Paxton, Dustin Milligan and Chris Carmack<br />
	<strong>IMDB:</strong> <a href="http://www.imdb.com/title/tt1633356/">http://www.imdb.com/title/tt1633356/</a><br />
        <strong>Movie Website:</strong> <a href="http://www.facebook.com/SharkNight3D">Facebook Page</a></p>
</div>
<div class="clear"></div>
<p>	<iframe width="640" height="400" src="http://www.youtube.com/embed/_zWvV7OB2kE" frameborder="0" allowfullscreen></iframe></p>
<h3>Synopsis</h3>
<p>A sexy summer weekend turns into a blood-soaked nightmare for a group of college students trapped on an island surrounded by voracious underwater predators in Shark Night 3D, a terrifying thrill ride from director David Ellis (The Final Destination, Snakes On a Plane), featuring a red-hot young cast including Sara Paxton (Superhero Movie, Last House on the Left), Dustin Milligan (&#8220;90210,&#8221; Slither), Chris Carmack (&#8220;The O.C.&#8221;), Joel David Moore (Avatar), Chris Zylka (The Amazing Spider Man) and Katharine McPhee (The House Bunny). Arriving by boat at her family&#8217;s Louisiana lake island cabin, Sara (Sara Paxton) and her friends quickly strip down to their swimsuits for a weekend of fun in the sun. But when star football player Malik (Sinqua Walls) stumbles from the salt-water lake with his arm torn off, the party mood quickly evaporates. Assuming the injury was caused by a freak wake-boarding accident, the group realizes they have to get Malik to a hospital on the other side of the lake, and fast. But as they set out in a tiny speedboat, the college friends discover the lake has been stocked with hundreds of massive, flesh-eating sharks! As they face one grisly death after another, Sara and the others struggle desperately to fend off the sharks, get help and stay alive long enough to reach the safety of dry land.</p>


<p>Related posts:<ol><li><a href='http://mediamilan.com/tucker-and-dale-vs-evil-movie-trailer/' rel='bookmark' title='Permanent Link: Tucker and Dale vs Evil'>Tucker and Dale vs Evil</a></li>
<li><a href='http://mediamilan.com/fright-night-movie-trailer/' rel='bookmark' title='Permanent Link: Fright Night'>Fright Night</a></li>
<li><a href='http://mediamilan.com/dylan-dog-dead-of-the-night-movie-trailer/' rel='bookmark' title='Permanent Link: Dylan Dog: Dead of the Night'>Dylan Dog: Dead of the Night</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://mediamilan.com/shark-night-3d-movie-trailer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Artist</title>
		<link>http://mediamilan.com/the-artist-movie-trailer/</link>
		<comments>http://mediamilan.com/the-artist-movie-trailer/#comments</comments>
		<pubDate>Tue, 30 Aug 2011 14:56:09 +0000</pubDate>
		<dc:creator>Mr. JCRP</dc:creator>
				<category><![CDATA[Trailers]]></category>
		<category><![CDATA[Drama Movie]]></category>
		<category><![CDATA[Romance]]></category>

		<guid isPermaLink="false">http://mediamilan.com/?p=1094</guid>
		<description><![CDATA[The Artist Director: Michel Hazanavicius Writers: Michel Hazanavicius (scenario and dialogue) Stars: Malcolm McDowell, John Goodman and Missi Pyle IMDB: http://www.imdb.com/title/tt1655442/ Movie Website: Not Available Synopsis Hollywood 1927. George Valentin is a very successful silent movie star. The arrival of &#8230; <a href="http://mediamilan.com/the-artist-movie-trailer/">Continue reading <span class="meta-nav">&#8594;</span></a>


Related posts:<ol><li><a href='http://mediamilan.com/certified-copy-movie-trailer/' rel='bookmark' title='Permanent Link: Certified Copy'>Certified Copy</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="left innerPosterImg curvedBG">
<p>	<img src="http://mediamilan.com/wp-content/uploads/2011/08/The-Artist-movie-poster.jpg" alt="" title="The-Artist-movie-poster" width="135" height="195" class="alignnone size-full wp-image-1095" /></p>
</div>
<div class="left trailerDetails curvedBG">
<h1 class="chunkfive">The Artist</h1>
<p>	<strong>Director:</strong> Michel Hazanavicius<br />
	<strong>Writers:</strong> Michel Hazanavicius (scenario and dialogue)<br />
	<strong>Stars:</strong> Malcolm McDowell, John Goodman and Missi Pyle<br />
	<strong>IMDB:</strong> <a href="http://www.imdb.com/title/tt1655442/">http://www.imdb.com/title/tt1655442/</a><br />
        <strong>Movie Website:</strong> <a href="#">Not Available</a></p>
</div>
<div class="clear"></div>
<p>	<iframe width="640" height="400" src="http://www.youtube.com/embed/AMRU-S4mBPo" frameborder="0" allowfullscreen></iframe></p>
<h3>Synopsis</h3>
<p>Hollywood 1927. George Valentin is a very successful silent movie star. The arrival of talking pictures will mark the end of his career. Peppy Miller, a young woman extra, becomes a major movie star.</p>
<p>The Artist is a 2011 French romance film directed by Michel Hazanavicius, starring Jean Dujardin and Bérénice Bejo. The story takes place in Hollywood between 1927 and 1931 and focuses on a declining male film star and a rising actress, as silent cinema grows out of fashion and is replaced by the talkies. The film is itself a silent film and in black-and-white. Dujardin won the Best Actor Award at the 2011 Cannes Film Festival, where the film premiered.</p>
<p>Director Michel Hazanavicius had been fantasizing about making a silent film for many years, both because many filmmakers he admires emerged in the silent era, and because of the image-driven nature of the format. According to Hazanavicius his wish to make a silent film was at first not taken seriously, but after the financial success of his spy-film pastiches OSS 117: Cairo, Nest of Spies and OSS 117: Lost in Rio, producers started to express interest. The forming of the film&#8217;s narrative started with Hazanavicius&#8217; desire to work again with actors Jean Dujardin and Bérénice Bejo, Hazanivicius&#8217;s wife, who had starred in the OSS 117 films. Hazanavicius chose the form of the melodrama, much because he thought many of the films from the silent era which have aged best are melodramas. He did extensive research about 1920s Hollywood, and studied silent films to find the right techniques to make the story comprehensible without having to use too many intertitles. The screenplay took four months to write.</p>
<p>The film was produced by La Petite Reine and ARP Sélection for 13.47 million euro, including co-production support from Studio 37 and France 3 Cinéma, and pre-sales investment from Canal+ and CinéCinéma. Both the cast and crew were mixed French and American. Filming took place during seven weeks on location in Hollywood. Throughout the shoot Hazanavicius played music from classic Hollywood films while the actors performed.</p>


<p>Related posts:<ol><li><a href='http://mediamilan.com/certified-copy-movie-trailer/' rel='bookmark' title='Permanent Link: Certified Copy'>Certified Copy</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://mediamilan.com/the-artist-movie-trailer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I Don&#8217;t Know How She Does It</title>
		<link>http://mediamilan.com/i-dont-know-how-she-does-it-movie-trailer/</link>
		<comments>http://mediamilan.com/i-dont-know-how-she-does-it-movie-trailer/#comments</comments>
		<pubDate>Tue, 30 Aug 2011 14:50:11 +0000</pubDate>
		<dc:creator>Mr. JCRP</dc:creator>
				<category><![CDATA[Trailers]]></category>
		<category><![CDATA[Drama Movie]]></category>

		<guid isPermaLink="false">http://mediamilan.com/?p=1090</guid>
		<description><![CDATA[I Don&#8217;t Know How She Does It Director: Douglas McGrath Writers: Aline Brosh McKenna (screenplay), Allison Pearson (novel) Stars: Sarah Jessica Parker, Pierce Brosnan and Kelsey Grammer IMDB: http://www.imdb.com/title/tt1742650/ Movie Website: Visit Movie Website Synopsis A comedy centered on the &#8230; <a href="http://mediamilan.com/i-dont-know-how-she-does-it-movie-trailer/">Continue reading <span class="meta-nav">&#8594;</span></a>


Related posts:<ol><li><a href='http://mediamilan.com/the-sitter-movie-trailer/' rel='bookmark' title='Permanent Link: The Sitter'>The Sitter</a></li>
<li><a href='http://mediamilan.com/the-odd-life-of-timothy-green-movie-trailer/' rel='bookmark' title='Permanent Link: The Odd Life Of Timothy Green'>The Odd Life Of Timothy Green</a></li>
<li><a href='http://mediamilan.com/we-need-to-talk-about-kevin-movie-trailer/' rel='bookmark' title='Permanent Link: We Need To Talk About Kevin'>We Need To Talk About Kevin</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="left innerPosterImg curvedBG">
<p>	<img src="http://mediamilan.com/wp-content/uploads/2011/08/I-Dont-Know-How-She-Does-It-movie-poster.jpg" alt="" title="I-Dont-Know-How-She-Does-It-movie-poster" width="135" height="195" class="alignnone size-full wp-image-1091" /></p>
</div>
<div class="left trailerDetails curvedBG">
<h1 class="chunkfive">I Don&#8217;t Know How She Does It</h1>
<p>	<strong>Director:</strong> Douglas McGrath<br />
	<strong>Writers:</strong> Aline Brosh McKenna (screenplay), Allison Pearson (novel)<br />
	<strong>Stars:</strong> Sarah Jessica Parker, Pierce Brosnan and Kelsey Grammer<br />
	<strong>IMDB:</strong> <a href="http://www.imdb.com/title/tt1742650/">http://www.imdb.com/title/tt1742650/</a><br />
        <strong>Movie Website:</strong> <a href="http://howshedoesitmovie.com/">Visit Movie Website</a></p>
</div>
<div class="clear"></div>
<p>	<iframe width="640" height="400" src="http://www.youtube.com/embed/Uv1QsQN78Hk" frameborder="0" allowfullscreen></iframe></p>
<h3>Synopsis</h3>
<p>A comedy centered on the life of Kate Reddy, a finance executive who is the breadwinner for her husband and two kids.</p>


<p>Related posts:<ol><li><a href='http://mediamilan.com/the-sitter-movie-trailer/' rel='bookmark' title='Permanent Link: The Sitter'>The Sitter</a></li>
<li><a href='http://mediamilan.com/the-odd-life-of-timothy-green-movie-trailer/' rel='bookmark' title='Permanent Link: The Odd Life Of Timothy Green'>The Odd Life Of Timothy Green</a></li>
<li><a href='http://mediamilan.com/we-need-to-talk-about-kevin-movie-trailer/' rel='bookmark' title='Permanent Link: We Need To Talk About Kevin'>We Need To Talk About Kevin</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://mediamilan.com/i-dont-know-how-she-does-it-movie-trailer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Faces In The Crowd</title>
		<link>http://mediamilan.com/faces-in-the-crowd-movie-trailer/</link>
		<comments>http://mediamilan.com/faces-in-the-crowd-movie-trailer/#comments</comments>
		<pubDate>Tue, 30 Aug 2011 14:44:32 +0000</pubDate>
		<dc:creator>Mr. JCRP</dc:creator>
				<category><![CDATA[Trailers]]></category>
		<category><![CDATA[Thriller]]></category>

		<guid isPermaLink="false">http://mediamilan.com/?p=1086</guid>
		<description><![CDATA[Faces In The Crowd Director: Julien Magnat Writers: Julien Magnat (screenplay) Stars: Milla Jovovich, Sarah Wayne Callies and Julian McMahon IMDB: http://www.imdb.com/title/tt1536410/ Movie Website: Not Available Synopsis A horror-thriller centered on a woman living with &#8220;face-blindness&#8221; after surviving a serial &#8230; <a href="http://mediamilan.com/faces-in-the-crowd-movie-trailer/">Continue reading <span class="meta-nav">&#8594;</span></a>


Related posts:<ol><li><a href='http://mediamilan.com/the-adjustment-bureau-movie-trailer/' rel='bookmark' title='Permanent Link: The Adjustment Bureau'>The Adjustment Bureau</a></li>
<li><a href='http://mediamilan.com/dylan-dog-dead-of-the-night-movie-trailer/' rel='bookmark' title='Permanent Link: Dylan Dog: Dead of the Night'>Dylan Dog: Dead of the Night</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="left innerPosterImg curvedBG">
<p>	<img src="http://mediamilan.com/wp-content/uploads/2011/08/Faces-In-The-Crowd-movie-poster.jpg" alt="" title="Faces-In-The-Crowd-movie-poster" width="135" height="195" class="alignnone size-full wp-image-1087" /></p>
</div>
<div class="left trailerDetails curvedBG">
<h1 class="chunkfive">Faces In The Crowd</h1>
<p>	<strong>Director:</strong> Julien Magnat<br />
	<strong>Writers:</strong> Julien Magnat (screenplay)<br />
	<strong>Stars:</strong> Milla Jovovich, Sarah Wayne Callies and Julian McMahon<br />
	<strong>IMDB:</strong> <a href="http://www.imdb.com/title/tt1536410/">http://www.imdb.com/title/tt1536410/</a><br />
        <strong>Movie Website:</strong> <a href="#">Not Available</a></p>
</div>
<div class="clear"></div>
<p>	<iframe width="640" height="400" src="http://www.youtube.com/embed/eqU6xlD6fbA" frameborder="0" allowfullscreen></iframe></p>
<h3>Synopsis</h3>
<p>A horror-thriller centered on a woman living with &#8220;face-blindness&#8221; after surviving a serial killer&#8217;s attack. As she lives with her condition, one in which facial features change each time she loses sight of them, the killer closes in.</p>


<p>Related posts:<ol><li><a href='http://mediamilan.com/the-adjustment-bureau-movie-trailer/' rel='bookmark' title='Permanent Link: The Adjustment Bureau'>The Adjustment Bureau</a></li>
<li><a href='http://mediamilan.com/dylan-dog-dead-of-the-night-movie-trailer/' rel='bookmark' title='Permanent Link: Dylan Dog: Dead of the Night'>Dylan Dog: Dead of the Night</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://mediamilan.com/faces-in-the-crowd-movie-trailer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Real Steel</title>
		<link>http://mediamilan.com/real-steel-movie-trailer/</link>
		<comments>http://mediamilan.com/real-steel-movie-trailer/#comments</comments>
		<pubDate>Tue, 30 Aug 2011 14:35:24 +0000</pubDate>
		<dc:creator>Mr. JCRP</dc:creator>
				<category><![CDATA[Trailers]]></category>
		<category><![CDATA[Action Movie]]></category>
		<category><![CDATA[Sci Fi Trailer]]></category>

		<guid isPermaLink="false">http://mediamilan.com/?p=1083</guid>
		<description><![CDATA[Real Steel Director: Shawn Levy Writers: John Gatins (screenplay), Dan Gilroy (story), Jeremy Leven (story) Stars: Hugh Jackman, Evangeline Lilly and Kevin Durand IMDB: http://www.imdb.com/title/tt0433035/ Movie Website: Visit Movie Site Synopsis A boxing drama set in the near-future where 2,000-pound &#8230; <a href="http://mediamilan.com/real-steel-movie-trailer/">Continue reading <span class="meta-nav">&#8594;</span></a>


Related posts:<ol><li><a href='http://mediamilan.com/battle-los-angeles-movie-trailer/' rel='bookmark' title='Permanent Link: Battle: Los Angeles'>Battle: Los Angeles</a></li>
<li><a href='http://mediamilan.com/rise-of-planet-of-the-apes-movie-trailer/' rel='bookmark' title='Permanent Link: Rise Of Planet Of the Apes'>Rise Of Planet Of the Apes</a></li>
<li><a href='http://mediamilan.com/ghost-rider-spirit-of-vengeance/' rel='bookmark' title='Permanent Link: Ghost Rider: Spirit of Vengeance'>Ghost Rider: Spirit of Vengeance</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="left innerPosterImg curvedBG">
<p>	<img src="http://mediamilan.com/wp-content/uploads/2011/08/Real-Steel-movie-poster.jpg" alt="" title="Real-Steel-movie-poster" width="135" height="195" class="alignnone size-full wp-image-1084" /></p>
</div>
<div class="left trailerDetails curvedBG">
<h1 class="chunkfive">Real Steel</h1>
<p>	<strong>Director:</strong> Shawn Levy<br />
	<strong>Writers:</strong> John Gatins (screenplay), Dan Gilroy (story), Jeremy Leven (story)<br />
	<strong>Stars:</strong> Hugh Jackman, Evangeline Lilly and Kevin Durand<br />
	<strong>IMDB:</strong> <a href="http://www.imdb.com/title/tt0433035/">http://www.imdb.com/title/tt0433035/</a><br />
        <strong>Movie Website:</strong> <a href="http://www.steelgetsreal.com/">Visit Movie Site</a></p>
</div>
<div class="clear"></div>
<p>	<iframe width="640" height="400" src="http://www.youtube.com/embed/AeG5q5q3sV8" frameborder="0" allowfullscreen></iframe></p>
<h3>Synopsis</h3>
<p>A boxing drama set in the near-future where 2,000-pound robots that look like humans do battle.</p>


<p>Related posts:<ol><li><a href='http://mediamilan.com/battle-los-angeles-movie-trailer/' rel='bookmark' title='Permanent Link: Battle: Los Angeles'>Battle: Los Angeles</a></li>
<li><a href='http://mediamilan.com/rise-of-planet-of-the-apes-movie-trailer/' rel='bookmark' title='Permanent Link: Rise Of Planet Of the Apes'>Rise Of Planet Of the Apes</a></li>
<li><a href='http://mediamilan.com/ghost-rider-spirit-of-vengeance/' rel='bookmark' title='Permanent Link: Ghost Rider: Spirit of Vengeance'>Ghost Rider: Spirit of Vengeance</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://mediamilan.com/real-steel-movie-trailer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Underwater Love &#8211; A Pink Musical</title>
		<link>http://mediamilan.com/underwater-love-a-pink-musical-movie-trailer/</link>
		<comments>http://mediamilan.com/underwater-love-a-pink-musical-movie-trailer/#comments</comments>
		<pubDate>Tue, 30 Aug 2011 14:26:00 +0000</pubDate>
		<dc:creator>Mr. JCRP</dc:creator>
				<category><![CDATA[Trailers]]></category>
		<category><![CDATA[Comedy]]></category>

		<guid isPermaLink="false">http://mediamilan.com/?p=1078</guid>
		<description><![CDATA[DeadHeads Director: Shinji Imaoka Writers: Tom Mes (screenplay), Shinji Imaoka (screenplay), Fumio Moriya (screenplay) Stars: Mutsuo Yoshioka, Emi Nishimura and Fumio Moriya IMDB: http://www.imdb.com/title/tt1678054/ Movie Website: Visit Movie Site Synopsis Underwater Love (Japanese: Onna no kappa) is a Japanese-German co-production. &#8230; <a href="http://mediamilan.com/underwater-love-a-pink-musical-movie-trailer/">Continue reading <span class="meta-nav">&#8594;</span></a>


Related posts:<ol><li><a href='http://mediamilan.com/arthur-movie-trailer/' rel='bookmark' title='Permanent Link: Arthur'>Arthur</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="left innerPosterImg curvedBG">
<p>	<img src="http://mediamilan.com/wp-content/uploads/2011/08/Underwater-Love-movie-poster.jpg" alt="" title="Underwater-Love-movie-poster" width="135" height="195" class="alignnone size-full wp-image-1079" /></p>
</div>
<div class="left trailerDetails curvedBG">
<h1 class="chunkfive">DeadHeads</h1>
<p>	<strong>Director:</strong> Shinji Imaoka<br />
	<strong>Writers:</strong> Tom Mes (screenplay), Shinji Imaoka (screenplay), Fumio Moriya (screenplay)<br />
	<strong>Stars:</strong> Mutsuo Yoshioka, Emi Nishimura and Fumio Moriya<br />
	<strong>IMDB:</strong> <a href="http://www.imdb.com/title/tt1678054/">http://www.imdb.com/title/tt1678054/</a><br />
        <strong>Movie Website:</strong> <a href="http://uwl-kappa.com/">Visit Movie Site</a></p>
</div>
<div class="clear"></div>
<p>	<iframe width="640" height="400" src="http://www.youtube.com/embed/cjiX4JIyA4c" frameborder="0" allowfullscreen></iframe></p>
<h3>Synopsis</h3>
<p>Underwater Love (Japanese: Onna no kappa) is a Japanese-German co-production. Germany&#8217;s Rapid Eye Movies and Japan&#8217;s Kokuei Company have created a whimsical pink film musical about a woman and a sea creature. It was directed by pink-film veteran Shinji Imaoka (Lunch Box, Frog Song), shot by famed cinematographer Christopher Doyle (Hero and countless films by Wong Kar Wai) and offers music by Germany&#8217;s Stereo Total. Underwater Love was shot in 5 ½ days, one take only.</p>
<p><strong>Plot</strong><br />
Asuka, a woman in her thirties, works in a lakeside fish factory. She&#8217;s about to be married to her boss, Taki. But one day, she encounters a kappa &#8212; a water sprite found in Japanese folklore &#8212; and learns that the creature is in fact the reborn form of Aoki, an old crush who&#8217;d drowned to death when they were 17.</p>


<p>Related posts:<ol><li><a href='http://mediamilan.com/arthur-movie-trailer/' rel='bookmark' title='Permanent Link: Arthur'>Arthur</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://mediamilan.com/underwater-love-a-pink-musical-movie-trailer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DeadHeads</title>
		<link>http://mediamilan.com/deadheads-movie-trailer/</link>
		<comments>http://mediamilan.com/deadheads-movie-trailer/#comments</comments>
		<pubDate>Tue, 30 Aug 2011 14:08:24 +0000</pubDate>
		<dc:creator>Mr. JCRP</dc:creator>
				<category><![CDATA[Trailers]]></category>
		<category><![CDATA[Comedy]]></category>
		<category><![CDATA[Thriller]]></category>

		<guid isPermaLink="false">http://mediamilan.com/?p=1075</guid>
		<description><![CDATA[DeadHeads Director:Brett Pierce, Drew T. Pierce Writers: Brett Pierce, Drew T. Pierce Stars: Michael McKiddy, Ross Kidder and Markus Taylor IMDB: http://www.imdb.com/title/tt1273207/ Movie Website: Visit Movie Site Synopsis DEADHEADS is a &#8220;zombedy&#8221; that is sure to impress&#8211;pleasing both horror and &#8230; <a href="http://mediamilan.com/deadheads-movie-trailer/">Continue reading <span class="meta-nav">&#8594;</span></a>


Related posts:<ol><li><a href='http://mediamilan.com/rubber-movie-trailer/' rel='bookmark' title='Permanent Link: Rubber'>Rubber</a></li>
<li><a href='http://mediamilan.com/the-adjustment-bureau-movie-trailer/' rel='bookmark' title='Permanent Link: The Adjustment Bureau'>The Adjustment Bureau</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="left innerPosterImg curvedBG">
<p>	<img src="http://mediamilan.com/wp-content/uploads/2011/08/DeadHeads-movie-poster.jpg" alt="" title="DeadHeads-movie-poster" width="135" height="195" class="alignnone size-full wp-image-1076" /></p>
</div>
<div class="left trailerDetails curvedBG">
<h1 class="chunkfive">DeadHeads</h1>
<p>	<strong>Director:</strong>Brett Pierce, Drew T. Pierce<br />
	<strong>Writers:</strong> Brett Pierce, Drew T. Pierce<br />
	<strong>Stars:</strong> Michael McKiddy, Ross Kidder and Markus Taylor<br />
	<strong>IMDB:</strong> <a href="http://www.imdb.com/title/tt1273207/">http://www.imdb.com/title/tt1273207/</a><br />
        <strong>Movie Website:</strong> <a href="http://www.deadheadsthemovie.com/">Visit Movie Site</a></p>
</div>
<div class="clear"></div>
<p>	<iframe width="640" height="400" src="http://www.youtube.com/embed/HZK6gZn38yQ" frameborder="0" allowfullscreen></iframe></p>
<h3>Synopsis</h3>
<p>DEADHEADS is a &#8220;zombedy&#8221; that is sure to impress&#8211;pleasing both horror and action-adventure fans alike. Yup, you heard it first. Horror, meets comedy, meets action adventure!</p>
<p>DEADHEADS is a return to the great comedy/adventure films of the 80′s like &#8220;Back to the Future&#8221; and the &#8220;Goonies&#8221;. The story follows two zombie slackers, Mike and Brent, who find themselves surprisingly reborn from the dead amid a disastrous zombie outbreak. After discovering an engagement ring in his coat pocket, Mike enlists his new found zombie pal, Brent, to embark on a quest in search of his lost love.</p>
<p>What ensues is a hilarious cross country road trip as these two reformed flesh-eating pals hitchhike cross country as they are pursued by a team of zombie killin&#8217; bounty hunters!</p>


<p>Related posts:<ol><li><a href='http://mediamilan.com/rubber-movie-trailer/' rel='bookmark' title='Permanent Link: Rubber'>Rubber</a></li>
<li><a href='http://mediamilan.com/the-adjustment-bureau-movie-trailer/' rel='bookmark' title='Permanent Link: The Adjustment Bureau'>The Adjustment Bureau</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://mediamilan.com/deadheads-movie-trailer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

