<?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>blogfreakz.com &#187; html</title>
	<atom:link href="http://blogfreakz.com/tag/html/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogfreakz.com</link>
	<description>Web Development, Web Trends, open source resources</description>
	<lastBuildDate>Fri, 10 Feb 2012 05:40:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>Create a Heart Shape With Pure CSS3</title>
		<link>http://blogfreakz.com/tutorial/create-a-heart-shape-with-pure-css3/</link>
		<comments>http://blogfreakz.com/tutorial/create-a-heart-shape-with-pure-css3/#comments</comments>
		<pubDate>Fri, 10 Feb 2012 05:40:03 +0000</pubDate>
		<dc:creator>Marvin@Blogfreakz</dc:creator>
				<category><![CDATA[CSS3]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[graphics]]></category>
		<category><![CDATA[heart]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[Valentine's day]]></category>

		<guid isPermaLink="false">http://blogfreakz.com/?p=25062</guid>
		<description><![CDATA[For celebrating Valentine&#8217;s Day, this is a great tutorial from Web Froze where you get to use pure CSS3 to create a nice heart shape for your web design graphics. Below are the following codes to achieve this. CSS .heart-shape { position: relative; width: 100px; height: 90px; margin:10px 0px; } .heart-shape:before, .heart-shape:after { position: absolute; [...]]]></description>
			<content:encoded><![CDATA[<p><strong> </strong></p>
<p>For celebrating Valentine&#8217;s Day, this is a great tutorial from <a href="http://www.webfroze.com" target="_blank"><strong>Web Froze </strong></a> where you get to use pure CSS3 to create a nice heart shape for your web design graphics. Below are the following codes to achieve this.</p>
<p><strong>CSS</strong></p>
<pre><span style="color: #003366;">.heart-shape {</span></pre>
<pre><span style="color: #003366;">position: relative;</span></pre>
<pre><span style="color: #003366;">width: 100px;</span></pre>
<pre><span style="color: #003366;">height: 90px;</span></pre>
<pre><span style="color: #003366;">margin:10px 0px;</span></pre>
<pre><span style="color: #003366;">}</span></pre>
<pre><span style="color: #003366;">.heart-shape:before,</span></pre>
<pre><span style="color: #003366;">.heart-shape:after {</span></pre>
<pre><span style="color: #003366;">position: absolute;</span></pre>
<pre><span style="color: #003366;">content: "";</span></pre>
<pre><span style="color: #003366;">left: 50px;</span></pre>
<pre><span style="color: #003366;">top: 0;</span></pre>
<pre><span style="color: #003366;">width: 50px;</span></pre>
<pre><span style="color: #003366;">height: 80px;</span></pre>
<pre><span style="color: #003366;">background: #fd2d8a;</span></pre>
<pre><span style="color: #003366;">-moz-border-radius: 50px 50px 0 0;</span></pre>
<pre><span style="color: #003366;">border-radius: 50px 50px 0 0;</span></pre>
<pre><span style="color: #003366;">-webkit-transform: rotate(-45deg);</span></pre>
<pre><span style="color: #003366;">-moz-transform: rotate(-45deg);</span></pre>
<pre><span style="color: #003366;">-ms-transform: rotate(-45deg);</span></pre>
<pre><span style="color: #003366;">-o-transform: rotate(-45deg);</span></pre>
<pre><span style="color: #003366;">transform: rotate(-45deg);</span></pre>
<pre><span style="color: #003366;">-webkit-transform-origin: 0 100%;</span></pre>
<pre><span style="color: #003366;">-moz-transform-origin: 0 100%;</span></pre>
<pre><span style="color: #003366;">-ms-transform-origin: 0 100%;</span></pre>
<pre><span style="color: #003366;">-o-transform-origin: 0 100%;</span></pre>
<pre><span style="color: #003366;">transform-origin: 0 100%;</span></pre>
<pre><span style="color: #003366;">}</span></pre>
<pre><span style="color: #003366;">.heart-shape:after {</span></pre>
<pre><span style="color: #003366;">left: 0;</span></pre>
<pre><span style="color: #003366;">-webkit-transform: rotate(45deg);</span></pre>
<pre><span style="color: #003366;">-moz-transform: rotate(45deg);</span></pre>
<pre><span style="color: #003366;">-ms-transform: rotate(45deg);</span></pre>
<pre><span style="color: #003366;">-o-transform: rotate(45deg);</span></pre>
<pre><span style="color: #003366;">transform: rotate(45deg);</span></pre>
<pre><span style="color: #003366;">-webkit-transform-origin: 100% 100%;</span></pre>
<pre><span style="color: #003366;">-moz-transform-origin: 100% 100%;</span></pre>
<pre><span style="color: #003366;">-ms-transform-origin: 100% 100%;</span></pre>
<pre><span style="color: #003366;">-o-transform-origin: 100% 100%;</span></pre>
<pre><span style="color: #003366;">transform-origin :100% 100%;</span></pre>
<pre><span style="color: #003366;">}</span></pre>
<p><strong> </strong></p>
<p><strong>HTML</strong></p>
<pre>
<pre><span style="color: #003366;">&lt;div class ="heart shape"&gt;&lt;/div&gt;</span></pre>
<p><strong> </strong></pre>
<p><strong> </strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blogfreakz.com/tutorial/create-a-heart-shape-with-pure-css3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>turn.js: A jQuery Page Flip Effect For HTML5</title>
		<link>http://blogfreakz.com/web-design/turn-js-a-jquery-page-flip-effect-for-html5/</link>
		<comments>http://blogfreakz.com/web-design/turn-js-a-jquery-page-flip-effect-for-html5/#comments</comments>
		<pubDate>Wed, 08 Feb 2012 06:15:05 +0000</pubDate>
		<dc:creator>Keith@Blogfreakz</dc:creator>
				<category><![CDATA[HTML5]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[free plugin]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[turn.js]]></category>

		<guid isPermaLink="false">http://blogfreakz.com/?p=24947</guid>
		<description><![CDATA[Turn.js is a jQuery plugin that&#8217;s inspired by the effect found in iBooks and Maps for iOS, which simulates the act of flipping through a book&#8217;s pages. As described by creator Emmanuel Garcia, this effect will go well with sites about books, magazines, or any reading material. Click on the image below for the demo. [...]]]></description>
			<content:encoded><![CDATA[<p><strong></strong>Turn.js is a jQuery plugin that&#8217;s inspired by the effect found in iBooks and Maps for iOS, which simulates the act of flipping through a book&#8217;s pages. As described by creator <a href="http://www.turnjs.com/#credits" target="_blank"><strong>Emmanuel Garcia</strong></a>, this effect will go well with sites about books, magazines, or any reading material. Click on the image below for the demo.</p>
<p><a href="http://www.turnjs.com/#home" target="_blank"><img class="aligncenter size-large wp-image-24948" title="turn.js" src="http://blogfreakz.com/wp-content/uploads/2012/02/127-296x250.jpg" alt="127 296x250 turn.js: A jQuery Page Flip Effect For HTML5" width="296" height="250" /></a></p>
<p>You may download a copy of the light version <a href="http://www.turnjs.com/turn.min.js"><strong>here</strong></a> or the full version <a href="https://github.com/blasten/turn.js"><strong>here</strong></a>.</p>
<p>Below are snippets of the plugin:</p>
<p><strong>CSS</strong></p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="638" valign="top">
<pre><span style="color: #003366;">#magazine{</span></pre>
<pre><span style="color: #003366;">width:800px;</span></pre>
<pre><span style="color: #003366;">height:400px;</span></pre>
<pre><span style="color: #003366;">}</span></pre>
<pre><span style="color: #003366;">#magazine .turn-page{</span></pre>
<pre><span style="color: #003366;">width:400px;</span></pre>
<pre><span style="color: #003366;">height:400px;</span></pre>
<pre><span style="color: #003366;">background-color:#ccc;</span></pre>
<pre><span style="color: #003366;">}</span></pre>
</td>
</tr>
</tbody>
</table>
<p><strong>HTML</strong></p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="638" valign="top">
<pre>&lt;<span style="color: #003366;">div id='magazine'&gt;</span></pre>
<pre><span style="color: #003366;">&lt;div&gt; Page   1 &lt;/div&gt;</span></pre>
<pre><span style="color: #003366;">&lt;div&gt; Page   2 &lt;/div&gt;</span></pre>
<pre><span style="color: #003366;">&lt;div&gt; Page   3 &lt;/div&gt;</span></pre>
<pre><span style="color: #003366;">&lt;/div&gt;</span></pre>
</td>
</tr>
</tbody>
</table>
<p><strong>jQuery</strong></p>
<table border="1" cellspacing="0" cellpadding="0" width="639" height="25">
<tbody>
<tr>
<td width="638" valign="top">
<pre><span style="color: #003366;">$('#magazine').turn();</span></pre>
</td>
</tr>
</tbody>
</table>
<p>That’s it! The plugin requires jQuery 1.7 or later and only weighs in at 15K. It also works on tablets and smartphones.<br />
<h4>Incoming search terms for the article:</h4>
<ul>
<li><a href="http://blogfreakz.com/web-design/turn-js-a-jquery-page-flip-effect-for-html5/" title="jquery multi book flip">jquery multi book flip</a></li>
<li><a href="http://blogfreakz.com/web-design/turn-js-a-jquery-page-flip-effect-for-html5/" title="jquery book">jquery book</a></li>
<li><a href="http://blogfreakz.com/web-design/turn-js-a-jquery-page-flip-effect-for-html5/" title="page flip effect html5">page flip effect html5</a></li>
<li><a href="http://blogfreakz.com/web-design/turn-js-a-jquery-page-flip-effect-for-html5/" title="jquery page flip demo">jquery page flip demo</a></li>
<li><a href="http://blogfreakz.com/web-design/turn-js-a-jquery-page-flip-effect-for-html5/" title="jquery book flip">jquery book flip</a></li>
<li><a href="http://blogfreakz.com/web-design/turn-js-a-jquery-page-flip-effect-for-html5/" title="animated page flip demo in jquery">animated page flip demo in jquery</a></li>
<li><a href="http://blogfreakz.com/web-design/turn-js-a-jquery-page-flip-effect-for-html5/" title="jquery">jquery</a></li>
<li><a href="http://blogfreakz.com/web-design/turn-js-a-jquery-page-flip-effect-for-html5/" title="javascript pageflip on ios">javascript pageflip on ios</a></li>
<li><a href="http://blogfreakz.com/web-design/turn-js-a-jquery-page-flip-effect-for-html5/" title="how to use turn js">how to use turn js</a></li>
<li><a href="http://blogfreakz.com/web-design/turn-js-a-jquery-page-flip-effect-for-html5/" title="animated page turns of a book using jquery">animated page turns of a book using jquery</a></li>
</ul>
<p><!-- SEO SearchTerms Tagging 2 Plugin --></p>
]]></content:encoded>
			<wfw:commentRss>http://blogfreakz.com/web-design/turn-js-a-jquery-page-flip-effect-for-html5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery Multi-Node Range and Data Slider</title>
		<link>http://blogfreakz.com/web-design/jquery-multi-node-range-and-data-slider/</link>
		<comments>http://blogfreakz.com/web-design/jquery-multi-node-range-and-data-slider/#comments</comments>
		<pubDate>Wed, 08 Feb 2012 04:35:31 +0000</pubDate>
		<dc:creator>Marvin@Blogfreakz</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Gallery/Carousel/Slider]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[free tutorial]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[slider]]></category>

		<guid isPermaLink="false">http://blogfreakz.com/?p=24940</guid>
		<description><![CDATA[This is another jQuery slider that would amp up your website’s interface. The multi-node range and data slider, created by EGrappler, is extremely simple to use. It is highly customizable and has many functions aside from providing data selection and filtering. Click on the image for the demo. Download the zip file. &#160; CSS .slider.default [...]]]></description>
			<content:encoded><![CDATA[<p>This is another jQuery slider that would amp up your website’s interface. The multi-node range and data slider, created by <a href="http://www.egrappler.com/" target="_blank"><strong>EGrappler</strong></a>, is extremely simple to use. It is highly customizable and has many functions aside from providing data selection and filtering.</p>
<p style="text-align: center;"><a href="http://www.egrappler.com/jqslider/demo.htm" target="_blank"><img class="aligncenter size-full wp-image-24941" title="Multi-Node Slider" src="http://blogfreakz.com/wp-content/uploads/2012/02/Multi-Node-Slider.jpg" alt="Multi Node Slider jQuery Multi Node Range and Data Slider" width="467" height="231" /></a><strong>Click on the image for the demo.</strong></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p>Download the <a href="http://www.egrappler.com/jqslider/jqslider.zip" target="_blank"><strong>zip file</strong></a>.</p>
<p><strong> </strong></p>
<p>&nbsp;</p>
<p><strong>CSS</strong></p>
<pre><span style="color: #003366;">.slider.default</span></pre>
<pre><span style="color: #003366;">{</span></pre>
<pre><span style="color: #003366;">background-color: #D2DBEC;</span></pre>
<pre><span style="color: #003366;">border: 1px solid #299BC9;</span></pre>
<pre><span style="color: #003366;">-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) inset;</span></pre>
<pre><span style="color: #003366;">-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) inset;</span></pre>
<pre><span style="color: #003366;">width: 200px;</span></pre>
<pre><span style="color: #003366;">height: 4px;</span></pre>
<pre><span style="color: #003366;">background-image: -o-linear-gradient(#ADC7EB, #D2DBEC);</span></pre>
<pre><span style="color: #003366;">}</span></pre>
<pre><span style="color: #003366;">.inner.default</span></pre>
<pre><span style="color: #003366;">{</span></pre>
<pre><span style="color: #003366;">background: #299BC9;</span></pre>
<pre><span style="color: #003366;">-moz-box-shadow: 0 1px 2px rgba(17, 35, 45, 0.6) inset;</span></pre>
<pre><span style="color: #003366;">-webkit-box-shadow: 0 1px 2px rgba(17, 35, 45, 0.6) inset;</span></pre>
<pre><span style="color: #003366;">}</span></pre>
<pre><span style="color: #003366;">.draghandle.default</span></pre>
<pre><span style="color: #003366;">{</span></pre>
<pre><span style="color: #003366;">width: 8px;</span></pre>
<pre><span style="color: #003366;">height: 20px;</span></pre>
<pre><span style="color: #003366;">background-color: #299BC9;</span></pre>
<pre><span style="color: #003366;">}</span></pre>
<pre><span style="color: #003366;">.draghandle.default.selected</span></pre>
<pre><span style="color: #003366;">{</span></pre>
<pre><span style="color: #003366;">background-color: #ADC7EB;</span></pre>
<pre><span style="color: #003366;">}</span></pre>
<p><strong><br />
</strong></p>
<p>The above code is for the default theme, and you can change it into your theme name. Aside from the default theme, you can choose from the following theme colors: simple, blue, steel, green, dark-green, orange and red.</p>
<p>When your theme is all set, you can use it like so:</p>
<pre><span style="color: #003366;">$('#my-slider').jqslider({theme:'YOUR THEME NAME HERE'});</span></pre>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
<p>Add the following in the head section of your HTML file</p>
<ol>
<li>Add a reference to latest jQuery script</li>
<li>Add a reference to jqslider.js</li>
<li>Add a reference to jqslider.css</li>
</ol>
<p>Add block element (div) within body of HTML and assign id and call jqslider initialize function.</p>
<pre><span style="color: #003366;">&lt;div id="jqslider"&gt;&lt;/div&gt;</span></pre>
<pre><span style="color: #003366;">&lt;script type="text/javascript"&gt;</span></pre>
<pre><span style="color: #003366;">$(document).ready(function() {</span></pre>
<pre><span style="color: #003366;">$('#jqslider').jqslider({ theme:'steel' });</span></pre>
<pre><span style="color: #003366;">});</span></pre>
<pre><span style="color: #003366;">&lt;/script&gt;</span></pre>
<table border="0" cellspacing="0" cellpadding="0" width="1" height="14">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
<p>&nbsp;<br />
<h4>Incoming search terms for the article:</h4>
<ul>
<li><a href="http://blogfreakz.com/web-design/jquery-multi-node-range-and-data-slider/" title="blogger jQuery">blogger jQuery</a></li>
<li><a href="http://blogfreakz.com/web-design/jquery-multi-node-range-and-data-slider/" title="jquery chart fillcolor">jquery chart fillcolor</a></li>
<li><a href="http://blogfreakz.com/web-design/jquery-multi-node-range-and-data-slider/" title="jquery multi range slider">jquery multi range slider</a></li>
<li><a href="http://blogfreakz.com/web-design/jquery-multi-node-range-and-data-slider/" title="jquery multi slider range">jquery multi slider range</a></li>
</ul>
<p><!-- SEO SearchTerms Tagging 2 Plugin --></p>
]]></content:encoded>
			<wfw:commentRss>http://blogfreakz.com/web-design/jquery-multi-node-range-and-data-slider/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Create YouTube Popup Buttons with CSS</title>
		<link>http://blogfreakz.com/web-design/how-to-create-youtube-popup-buttons-with-css/</link>
		<comments>http://blogfreakz.com/web-design/how-to-create-youtube-popup-buttons-with-css/#comments</comments>
		<pubDate>Fri, 03 Feb 2012 11:53:12 +0000</pubDate>
		<dc:creator>Keith@Blogfreakz</dc:creator>
				<category><![CDATA[Buttons]]></category>
		<category><![CDATA[Software & Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://blogfreakz.com/?p=24819</guid>
		<description><![CDATA[Here&#8217;s  a very cool CSS trick I found that will let you have the same buttons as those in YouTube&#8217;s footer! But first, lots of thanks to the following coders below: Dennis Sa - for the jsbin of the matte buttons http://jsbin.com/efesot/6 Trevor Gerzen – for applying the transitions, and Chris Coyier &#8211; for coming [...]]]></description>
			<content:encoded><![CDATA[<p><strong><span style="text-decoration: underline;"> </span></strong>Here&#8217;s  a very cool CSS trick I found that will let you have the same buttons as those in YouTube&#8217;s footer! But first, lots of thanks to the following coders below:</p>
<ul>
<li><a href="http://forrst.me/mdennisa"><strong>Dennis Sa</strong></a><strong> </strong>- for the jsbin of the matte buttons http://jsbin.com/efesot/6</li>
<li><a href="http://dabblet.com/gist/1590204"><strong>Trevor Gerzen</strong></a><strong> </strong>– for applying the transitions, and</li>
<li><a href="http://chriscoyier.net/"><strong>Chris Coyier</strong></a> &#8211; for coming up with this neat trick and sharing it on the web.</li>
</ul>
<p>&nbsp;</p>
<p><img class="aligncenter size-medium wp-image-24821" title="YouTube buttons" src="http://blogfreakz.com/wp-content/uploads/2012/02/114-285x117.jpg" alt="114 285x117 How to Create YouTube Popup Buttons with CSS" width="285" height="117" /></p>
<p>&nbsp;</p>
<p><strong>HTML</strong></p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="638" valign="top"><span style="color: #003366;">&lt;button role=&#8221;button&#8221;&gt;</span></p>
<p><span style="color: #003366;">Button #1</span></p>
<p><span style="color: #003366;">&lt;/button&gt;</span></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p>As for the base styles for all three states (default, hover, active):</p>
<p><strong>CSS</strong></p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="638" valign="top"><span style="color: #003366;">.button {</span></p>
<p><span style="color: #003366;">border: 1px solid #DDD;</span></p>
<p><span style="color: #003366;">border-radius: 3px;</span></p>
<p><span style="color: #003366;">text-shadow: 0 1px 1px   white;</span></p>
<p><span style="color: #003366;">-webkit-box-shadow: 0 1px   1px #fff;</span></p>
<p><span style="color: #003366;">-moz-box-shadow:    0 1px 1px #fff;</span></p>
<p><span style="color: #003366;">box-shadow:         0 1px 1px #fff;</span></p>
<p><span style="color: #003366;">font: bold 11px Sans-Serif;</span></p>
<p><span style="color: #003366;">padding: 6px 10px;</span></p>
<p><span style="color: #003366;">white-space: nowrap;</span></p>
<p><span style="color: #003366;">vertical-align: middle;</span></p>
<p><span style="color: #003366;">color: #666;</span></p>
<p><span style="color: #003366;">background: transparent;</span></p>
<p><span style="color: #003366;">cursor: pointer;</span></p>
<p><span style="color: #003366;">}</span></p>
<p><span style="color: #003366;">.button:hover, .button:focus {</span></p>
<p><span style="color: #003366;">border-color: #999;</span></p>
<p><span style="color: #003366;">background:   -webkit-linear-gradient(top, white, #E0E0E0);</span></p>
<p><span style="color: #003366;">background:    -moz-linear-gradient(top, white,   #E0E0E0);</span></p>
<p><span style="color: #003366;">background:     -ms-linear-gradient(top, white,   #E0E0E0);</span></p>
<p><span style="color: #003366;">background:      -o-linear-gradient(top, white,   #E0E0E0);</span></p>
<p><span style="color: #003366;">-webkit-box-shadow: 0 1px   2px rgba(0,0,0,0.25), inset 0 0 3px #fff;</span></p>
<p><span style="color: #003366;">-moz-box-shadow:    0 1px 2px rgba(0,0,0,0.25), inset 0 0 3px   #fff;</span></p>
<p><span style="color: #003366;">box-shadow:         0 1px 2px rgba(0,0,0,0.25), inset 0   0 3px #fff;</span></p>
<p><span style="color: #003366;">}</span></p>
<p><span style="color: #003366;">.button:active {</span></p>
<p><span style="color: #003366;">border: 1px solid #AAA;</span></p>
<p><span style="color: #003366;">border-bottom-color: #CCC;</span></p>
<p><span style="color: #003366;">border-top-color: #999;</span></p>
<p><span style="color: #003366;">-webkit-box-shadow: inset 0   1px 2px #aaa;</span></p>
<p><span style="color: #003366;">-moz-box-shadow:    inset 0 1px 2px #aaa;</span></p>
<p><span style="color: #003366;">box-shadow:         inset 0 1px 2px #aaa;</span></p>
<p><span style="color: #003366;">background:   -webkit-linear-gradient(top, #E6E6E6, gainsboro);</span></p>
<p><span style="color: #003366;">background:    -moz-linear-gradient(top, #E6E6E6,   gainsboro);</span></p>
<p><span style="color: #003366;">background:     -ms-linear-gradient(top, #E6E6E6,   gainsboro);</span></p>
<p><span style="color: #003366;">background:      -o-linear-gradient(top, #E6E6E6,   gainsboro);</span></p>
<p><span style="color: #003366;">}</span></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p><strong>NOTE</strong>: This is short tutorial just teaches you how to mimic the look and not the function. So if you want to be able to include menu functionality on the buttons (like YouTube does) you can check out this<strong> <a href="http://net.tutsplus.com/tutorials/javascript-ajax/5-ways-to-make-ajax-calls-with-jquery/">link</a></strong> and try incorporating the code there with the one here.</p>
<p><a href="http://css-tricks.com/examples/YouTubeButtons/"><strong>Demo</strong></a></p>
<p><a href="http://css-tricks.com/examples/YouTubeButtons.zip"><strong>Download Files</strong></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;<br />
<h4>Incoming search terms for the article:</h4>
<ul>
<li><a href="http://blogfreakz.com/web-design/how-to-create-youtube-popup-buttons-with-css/" title="popup white css">popup white css</a></li>
<li><a href="http://blogfreakz.com/web-design/how-to-create-youtube-popup-buttons-with-css/" title="youtube icons">youtube icons</a></li>
<li><a href="http://blogfreakz.com/web-design/how-to-create-youtube-popup-buttons-with-css/" title="button popup css">button popup css</a></li>
<li><a href="http://blogfreakz.com/web-design/how-to-create-youtube-popup-buttons-with-css/" title="youtube">youtube</a></li>
<li><a href="http://blogfreakz.com/web-design/how-to-create-youtube-popup-buttons-with-css/" title="how to design button like youtube with css">how to design button like youtube with css</a></li>
<li><a href="http://blogfreakz.com/web-design/how-to-create-youtube-popup-buttons-with-css/" title="free css web popup design">free css web popup design</a></li>
<li><a href="http://blogfreakz.com/web-design/how-to-create-youtube-popup-buttons-with-css/" title="css3 free template">css3 free template</a></li>
<li><a href="http://blogfreakz.com/web-design/how-to-create-youtube-popup-buttons-with-css/" title="css youtube style button">css youtube style button</a></li>
<li><a href="http://blogfreakz.com/web-design/how-to-create-youtube-popup-buttons-with-css/" title="Cool 61 css">Cool 61 css</a></li>
<li><a href="http://blogfreakz.com/web-design/how-to-create-youtube-popup-buttons-with-css/" title="youtube style popup buttons">youtube style popup buttons</a></li>
</ul>
<p><!-- SEO SearchTerms Tagging 2 Plugin --></p>
]]></content:encoded>
			<wfw:commentRss>http://blogfreakz.com/web-design/how-to-create-youtube-popup-buttons-with-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create a jQuery Star Comment Rating System</title>
		<link>http://blogfreakz.com/web-design/create-a-jquery-star-comment-rating-system/</link>
		<comments>http://blogfreakz.com/web-design/create-a-jquery-star-comment-rating-system/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 12:16:15 +0000</pubDate>
		<dc:creator>Marvin@Blogfreakz</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[blogs]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[rating system]]></category>

		<guid isPermaLink="false">http://blogfreakz.com/?p=24716</guid>
		<description><![CDATA[The commenting system just became more fun for users! Created by eligeske,  this animated jQuery star commenting system is a great way to rate your posts. Add this to your website and see your visitor activity increase. Download the ZIP FILE. &#160; HTML (star_rating.html) &#60;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&#62; &#60;html xmlns="http://www.w3.org/1999/xhtml"&#62; &#60;head&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>The commenting system just became more fun for users! Created by <a href="http://eligeske.com/" target="_blank"><strong>eligeske</strong></a>,  this animated jQuery star commenting system is a great way to rate your posts. Add this to your website and see your visitor activity increase.</p>
<p>Download the <a href="http://eligeske.info/tutorials/jquery/star-rating/star-rating.zip" target="_blank"><strong>ZIP FILE. </strong></a></p>
<p>&nbsp;</p>
<p><strong> </strong></p>
<p><strong>HTML (star_rating.html)</strong></p>
<pre><span style="color: #003366;">&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;</span></pre>
<pre><span style="color: #003366;">&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;</span></pre>
<pre><span style="color: #003366;">&lt;head&gt;</span></pre>
<pre><span style="color: #003366;">&lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;</span></pre>
<pre><span style="color: #003366;">&lt;title&gt;JQuery-Star Comment Rating&lt;/title&gt;</span></pre>
<pre><span style="color: #003366;">&lt;script type="text/javascript" src="js/jquery/jquery-1.3.2.min.js"&gt;&lt;/script&gt;</span></pre>
<pre><span style="color: #003366;">&lt;script type="text/javascript" src="js/star_rating.js"&gt;&lt;/script&gt;</span></pre>
<pre><span style="color: #003366;">&lt;style type="text/css"&gt;</span></pre>
<pre><span style="color: #003366;">#rating_cont { background: #1E1D1C url(images/rating_background.jpg) top left no-repeat; border: 1px solid #F9BA0D; width: 140px; height: 23px; text-align: left; margin-left: 6px;}</span></pre>
<pre><span style="color: #003366;">#rating_on { background: url(images/rating_onbackground.jpg) top left no-repeat; width: 0px; height: 21px; position: relative; z-index: 50; top: -21px; }</span></pre>
<pre><span style="color: #003366;">#rated { display: none; width: 138px; padding: 3px 0px 3px 2px; height: 23px; background-color: #1E1D1C; height: 17px;font-size: 11px;color: #FFC910;}</span></pre>
<pre><span style="color: #003366;">#rated div { display: block; float: left; }</span></pre>
<pre><span style="color: #003366;">#rating { font-size: 11px; font-family: Arial, Helvetica, sans-serif; color: #FFC910; padding-left: 3px; width: 22px; }</span></pre>
<pre><span style="color: #003366;">#small_stars { height: 11px; width: 69px; background-image: url(images/stars_small_sprite.jpg); background-position: 0px -11px; font-size:1px; line-height: 11px; margin-top:3px; }</span></pre>
<pre><span style="color: #003366;">#rate_edit { line-height: 17px; font-size: 11px; font-family: Arial, Helvetica, sans-serif; color: #FFF; padding-left: 9px; cursor: pointer; }</span></pre>
<pre><span style="color: #003366;">#rate_edit:hover { text-decoration: underline; }</span></pre>
<pre><span style="color: #003366;">#rating_btns { position: relative; z-index: 100; width: 140px; height: 21px;}</span></pre>
<pre><span style="color: #003366;">#rating_btns ul, #rating_btns li { padding: 0; margin: 0; }</span></pre>
<pre><span style="color: #003366;">#rating_btns li { float: left; width: 14px; height: 21px; display: block; font-size: 1px; cursor: pointer; color: #1E1D1C;</span></pre>
<pre><span style="color: #003366;">}</span></pre>
<pre><span style="color: #003366;">&lt;/style&gt;</span></pre>
<pre><span style="color: #003366;">&lt;/head&gt;</span></pre>
<pre><span style="color: #003366;">&lt;body&gt;</span></pre>
<pre><span style="color: #003366;">&lt;div id="rating_cont"&gt;</span></pre>
<pre><span style="color: #003366;">&lt;div id="rating_btns"&gt;</span></pre>
<pre><span style="color: #003366;">&lt;ul&gt;</span></pre>
<pre><span style="color: #003366;">&lt;li&gt;0.5&lt;/li&gt;</span></pre>
<pre><span style="color: #003366;">&lt;li&gt;1.0&lt;/li&gt;</span></pre>
<pre><span style="color: #003366;">&lt;li&gt;1.5&lt;/li&gt;</span></pre>
<pre><span style="color: #003366;">&lt;li&gt;2.0&lt;/li&gt;</span></pre>
<pre><span style="color: #003366;">&lt;li&gt;2.5&lt;/li&gt;</span></pre>
<pre><span style="color: #003366;">&lt;li&gt;3.0&lt;/li&gt;</span></pre>
<pre><span style="color: #003366;">&lt;li&gt;3.5&lt;/li&gt;</span></pre>
<pre><span style="color: #003366;">&lt;li&gt;4.0&lt;/li&gt;</span></pre>
<pre><span style="color: #003366;">&lt;li&gt;4.5&lt;/li&gt;</span></pre>
<pre><span style="color: #003366;">&lt;li&gt;5.0&lt;/li&gt;</span></pre>
<pre><span style="color: #003366;">&lt;/ul&gt;</span></pre>
<pre><span style="color: #003366;">&lt;/div&gt;</span></pre>
<pre><span style="color: #003366;">&lt;div id="rating_on" &gt;&amp;nbsp;&lt;/div&gt;</span></pre>
<pre><span style="color: #003366;">&lt;div id="rated"&gt;</span></pre>
<pre><span style="color: #003366;">&lt;div id="rating" style="height: 17px; line-height: 17px;"&gt;not rated&lt;/div&gt;</span></pre>
<pre><span style="color: #003366;">&lt;div&gt; &amp;#8211; &amp;nbsp;&lt;/div&gt;</span></pre>
<pre><span style="color: #003366;">&lt;div id="small_stars"&gt;&amp;nbsp;&lt;/div&gt;</span></pre>
<pre><span style="color: #003366;">&lt;div id="rate_edit"&gt;edit&lt;/div&gt;</span></pre>
<pre><span style="color: #003366;">&lt;/div&gt;</span></pre>
<pre><span style="color: #003366;">&lt;/div&gt;</span></pre>
<pre><span style="color: #003366;">&lt;input type="hidden" id="rating_output" name="rating_output" /&gt;</span></pre>
<pre><span style="color: #003366;">&lt;/body&gt;</span></pre>
<pre><span style="color: #003366;">&lt;/html&gt;</span></pre>
<p><strong>jQuery/Jvascript (star_rating.js)</strong></p>
<pre><span style="color: #003366;">/*</span></pre>
<pre><span style="color: #003366;">* Written by eligeske</span></pre>
<pre><span style="color: #003366;">* downloaded from eligeske.com</span></pre>
<pre><span style="color: #003366;">* have fun. nerd.</span></pre>
<pre><span style="color: #003366;">*/</span></pre>
<pre><span style="color: #003366;">$(document).ready(function(){</span></pre>
<pre><span style="color: #003366;">// hover</span></pre>
<pre><span style="color: #003366;">$('#rating_btns li').hover(function(){</span></pre>
<pre><span style="color: #003366;">$rating = $(this).text();</span></pre>
<pre><span style="color: #003366;">$('#rating_on').css('width', rateWidth($rating));</span></pre>
<pre><span style="color: #003366;">});</span></pre>
<pre><span style="color: #003366;">// mouseout</span></pre>
<pre><span style="color: #003366;">$('#rating_btns li').mouseout(function(){</span></pre>
<pre><span style="color: #003366;">$rating = $('#rating').text();</span></pre>
<pre><span style="color: #003366;">if($rating == "not rated"){</span></pre>
<pre><span style="color: #003366;">$('#rating_on').css('width', "0px");</span></pre>
<pre><span style="color: #003366;">}</span></pre>
<pre><span style="color: #003366;">else{</span></pre>
<pre><span style="color: #003366;">$('#rating_on').css('width', rateWidth($rating));</span></pre>
<pre><span style="color: #003366;">}</span></pre>
<pre><span style="color: #003366;">});</span></pre>
<pre><span style="color: #003366;">//click</span></pre>
<pre><span style="color: #003366;">$('#rating_btns li').click(function(){</span></pre>
<pre><span style="color: #003366;">$rating = $(this).text();</span></pre>
<pre><span style="color: #003366;">$('#rating').text($rating);</span></pre>
<pre><span style="color: #003366;">$('#rating_output').val($rating);</span></pre>
<pre><span style="color: #003366;">$pos = starSprite($rating);</span></pre>
<pre><span style="color: #003366;">$('#small_stars').css('background-position', "0px " + $pos );</span></pre>
<pre><span style="color: #003366;">$('#rating_btns').hide();</span></pre>
<pre><span style="color: #003366;">$('#rating_on').hide();</span></pre>
<pre><span style="color: #003366;">$('#rated').fadeIn();</span></pre>
<pre><span style="color: #003366;">});</span></pre>
<pre><span style="color: #003366;">//edit</span></pre>
<pre><span style="color: #003366;">$('#rate_edit').click(function(){</span></pre>
<pre><span style="color: #003366;">$('#rated').hide();</span></pre>
<pre><span style="color: #003366;">$('#rating_btns').fadeIn();</span></pre>
<pre><span style="color: #003366;">$('#rating_on').fadeIn();</span></pre>
<pre><span style="color: #003366;">});</span></pre>
<pre><span style="color: #003366;">function rateWidth($rating){</span></pre>
<pre><span style="color: #003366;">$rating = parseFloat($rating);</span></pre>
<pre><span style="color: #003366;">switch ($rating){</span></pre>
<pre><span style="color: #003366;">case 0.5: $width = "14px"; break;</span></pre>
<pre><span style="color: #003366;">case 1.0: $width = "28px"; break;</span></pre>
<pre><span style="color: #003366;">case 1.5: $width = "42px"; break;</span></pre>
<pre><span style="color: #003366;">case 2.0: $width = "56px"; break;</span></pre>
<pre><span style="color: #003366;">case 2.5: $width = "70px"; break;</span></pre>
<pre><span style="color: #003366;">case 3.0: $width = "84px"; break;</span></pre>
<pre><span style="color: #003366;">case 3.5: $width = "98px"; break;</span></pre>
<pre><span style="color: #003366;">case 4.0: $width = "112px"; break;</span></pre>
<pre><span style="color: #003366;">case 4.5: $width = "126px"; break;</span></pre>
<pre><span style="color: #003366;">case 5.0: $width = "140px"; break;</span></pre>
<pre><span style="color: #003366;">default: $width = "84px";</span></pre>
<pre><span style="color: #003366;">}</span></pre>
<pre><span style="color: #003366;">return $width;</span></pre>
<pre><span style="color: #003366;">}</span></pre>
<pre><span style="color: #003366;">function starSprite($rating){</span></pre>
<pre><span style="color: #003366;">$rating = parseFloat($rating);</span></pre>
<pre><span style="color: #003366;">switch ($rating){</span></pre>
<pre><span style="color: #003366;">case 0.5: $pos = "-11px"; break;</span></pre>
<pre><span style="color: #003366;">case 1.0: $pos = "-22px"; break;</span></pre>
<pre><span style="color: #003366;">case 1.5: $pos = "-33px"; break;</span></pre>
<pre><span style="color: #003366;">case 2.0: $pos = "-44px"; break;</span></pre>
<pre><span style="color: #003366;">case 2.5: $pos = "-55px"; break;</span></pre>
<pre><span style="color: #003366;">case 3.0: $pos = "-66px"; break;</span></pre>
<pre><span style="color: #003366;">case 3.5: $pos = "-77px"; break;</span></pre>
<pre><span style="color: #003366;">case 4.0: $pos = "-88px"; break;</span></pre>
<pre><span style="color: #003366;">case 4.5: $pos = "-99px"; break;</span></pre>
<pre><span style="color: #003366;">case 5.0: $pos = "-110px"; break;</span></pre>
<pre><span style="color: #003366;">default: $pos = "-77px";</span></pre>
<pre><span style="color: #003366;">}</span></pre>
<pre><span style="color: #003366;">return $pos;</span></pre>
<pre><span style="color: #003366;">}</span></pre>
<pre><span style="color: #003366;">});</span></pre>
<pre>
</pre>
<h4>Incoming search terms for the article:</h4>
<ul>
<li><a href="http://blogfreakz.com/web-design/create-a-jquery-star-comment-rating-system/" title="jquery rating">jquery rating</a></li>
<li><a href="http://blogfreakz.com/web-design/create-a-jquery-star-comment-rating-system/" title="5 star vote jquery">5 star vote jquery</a></li>
<li><a href="http://blogfreakz.com/web-design/create-a-jquery-star-comment-rating-system/" title="rating jquery">rating jquery</a></li>
<li><a href="http://blogfreakz.com/web-design/create-a-jquery-star-comment-rating-system/" title="jquery stars background">jquery stars background</a></li>
<li><a href="http://blogfreakz.com/web-design/create-a-jquery-star-comment-rating-system/" title="jquery star rating">jquery star rating</a></li>
<li><a href="http://blogfreakz.com/web-design/create-a-jquery-star-comment-rating-system/" title="jquery ratings">jquery ratings</a></li>
<li><a href="http://blogfreakz.com/web-design/create-a-jquery-star-comment-rating-system/" title="jquery rating tool">jquery rating tool</a></li>
<li><a href="http://blogfreakz.com/web-design/create-a-jquery-star-comment-rating-system/" title="jquery rating system with comments">jquery rating system with comments</a></li>
<li><a href="http://blogfreakz.com/web-design/create-a-jquery-star-comment-rating-system/" title="jquery rating system">jquery rating system</a></li>
<li><a href="http://blogfreakz.com/web-design/create-a-jquery-star-comment-rating-system/" title="jquery rating script">jquery rating script</a></li>
</ul>
<p><!-- SEO SearchTerms Tagging 2 Plugin --></p>
]]></content:encoded>
			<wfw:commentRss>http://blogfreakz.com/web-design/create-a-jquery-star-comment-rating-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Animated CSS3 Multilevel Menu with Transition</title>
		<link>http://blogfreakz.com/web-design/animated-css3-multilevel-menu-with-transition/</link>
		<comments>http://blogfreakz.com/web-design/animated-css3-multilevel-menu-with-transition/#comments</comments>
		<pubDate>Mon, 30 Jan 2012 08:06:45 +0000</pubDate>
		<dc:creator>Marvin@Blogfreakz</dc:creator>
				<category><![CDATA[CSS3]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Menu & navigation]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[menu]]></category>

		<guid isPermaLink="false">http://blogfreakz.com/?p=24660</guid>
		<description><![CDATA[Script-tutorials.com gives us this cool UL-LI-based multilevel menu, with transition and animation effect using CSS3. You can create this menu in 2 easy steps. Click on the above image to view the demo. You may also download the full pack HERE. Step 1: HTML Index.html &#60;!DOCTYPE html&#62; &#60;html lang="en" &#62; &#60;head&#62; &#60;meta charset="utf-8" /&#62; &#60;title&#62;CSS3 [...]]]></description>
			<content:encoded><![CDATA[<p><strong><a href="http://www.script-tutorials.com" target="_blank">Script-tutorials.com</a></strong> gives us this cool UL-LI-based multilevel menu, with transition and animation effect using CSS3. You can create this menu in 2 easy steps.</p>
<p><a href="http://www.script-tutorials.com/demos/211/index.html" target="_blank"><img class="aligncenter size-medium wp-image-24661" title="CSS Multilevel Menu" src="http://blogfreakz.com/wp-content/uploads/2012/01/125-285x175.jpg" alt="125 285x175 Animated CSS3 Multilevel Menu with Transition " width="285" height="175" /></a></p>
<p style="text-align: center;">Click on the above image to view the demo.</p>
<p>You may also download the full pack <a href="http://www.script-tutorials.com/demos/211/source.zip   " target="_blank"><strong>HERE.</strong></a><a href="http://www.script-tutorials.com/demos/211/source.zip"></a><br />
<strong>Step 1: HTML</strong></p>
<p><strong>Index.html</strong></p>
<pre><span style="color: #003366;">&lt;!DOCTYPE html&gt;</span></pre>
<pre><span style="color: #003366;">&lt;html lang="en" &gt;</span></pre>
<pre><span style="color: #003366;">&lt;head&gt;</span></pre>
<pre><span style="color: #003366;">&lt;meta charset="utf-8" /&gt;</span></pre>
<pre><span style="color: #003366;">&lt;title&gt;CSS3 multilevel menu with transition and animation | Script Tutorials&lt;/title&gt;</span></pre>
<pre><span style="color: #003366;">&lt;link href="css/layout.css" type="text/css" rel="stylesheet"&gt;</span></pre>
<pre><span style="color: #003366;">&lt;link href="css/menu.css" type="text/css" rel="stylesheet"&gt;</span></pre>
<pre><span style="color: #003366;">&lt;/head&gt;</span></pre>
<pre><span style="color: #003366;">&lt;body&gt;</span></pre>
<pre><span style="color: #003366;">&lt;header&gt;</span></pre>
<pre><span style="color: #003366;">&lt;h2&gt;CSS3 multilevel menu with transition and animation&lt;/h2&gt;</span></pre>
<pre><span style="color: #003366;">&lt;a href="http://www.script-tutorials.com/css3-multilevel-menu-with-transition-and-animation/" class="stuts"&gt;Back to original tutorial on &lt;span&gt;Script Tutorials&lt;/span&gt;&lt;/a&gt;</span></pre>
<pre><span style="color: #003366;">&lt;/header&gt;</span></pre>
<pre><span style="color: #003366;">&lt;div&gt;</span></pre>
<pre><span style="color: #003366;">&lt;ul id="nav"&gt;</span></pre>
<pre><span style="color: #003366;">&lt;li&gt;</span></pre>
<pre><span style="color: #003366;">&lt;a href="#"&gt;Parent link #1&lt;/a&gt;</span></pre>
<pre><span style="color: #003366;">&lt;a href="#"&gt;Sub #11&lt;/a&gt;</span></pre>
<pre><span style="color: #003366;">&lt;a href="#"&gt;Sub #12&lt;/a&gt;</span></pre>
<pre><span style="color: #003366;">&lt;a href="#"&gt;Sub #13&lt;/a&gt;</span></pre>
<pre><span style="color: #003366;">&lt;a href="#"&gt;Sub #14&lt;/a&gt;</span></pre>
<pre><span style="color: #003366;">&lt;/li&gt;</span></pre>
<pre><span style="color: #003366;">&lt;li&gt;</span></pre>
<pre><span style="color: #003366;">&lt;a href="#"&gt;Parent link #2&lt;/a&gt;</span></pre>
<pre><span style="color: #003366;">&lt;a href="#"&gt;Sub #21&lt;/a&gt;</span></pre>
<pre><span style="color: #003366;">&lt;a href="#"&gt;Sub #22&lt;/a&gt;</span></pre>
<pre><span style="color: #003366;">&lt;a href="#"&gt;Sub #23&lt;/a&gt;</span></pre>
<pre><span style="color: #003366;">&lt;a href="#"&gt;Sub #24&lt;/a&gt;</span></pre>
<pre><span style="color: #003366;">&lt;/li&gt;</span></pre>
<pre><span style="color: #003366;">&lt;li&gt;</span></pre>
<pre><span style="color: #003366;">&lt;a href="#"&gt;Parent link #3&lt;/a&gt;</span></pre>
<pre><span style="color: #003366;">&lt;a href="#"&gt;Sub #31&lt;/a&gt;</span></pre>
<pre><span style="color: #003366;">&lt;a href="#"&gt;Sub #32&lt;/a&gt;</span></pre>
<pre><span style="color: #003366;">&lt;a href="#"&gt;Sub #33&lt;/a&gt;</span></pre>
<pre><span style="color: #003366;">&lt;a href="#"&gt;Sub #34&lt;/a&gt;</span></pre>
<pre><span style="color: #003366;">&lt;/li&gt;</span></pre>
<pre><span style="color: #003366;">&lt;li&gt;</span></pre>
<pre><span style="color: #003366;">&lt;a href="#"&gt;Parent link #4&lt;/a&gt;</span></pre>
<pre><span style="color: #003366;">&lt;a href="#"&gt;Sub #41&lt;/a&gt;</span></pre>
<pre><span style="color: #003366;">&lt;a href="#"&gt;Sub #42&lt;/a&gt;</span></pre>
<pre><span style="color: #003366;">&lt;a href="#"&gt;Sub #43&lt;/a&gt;</span></pre>
<pre><span style="color: #003366;">&lt;a href="#"&gt;Sub #44&lt;/a&gt;</span></pre>
<pre><span style="color: #003366;">&lt;/li&gt;</span></pre>
<pre><span style="color: #003366;">&lt;/ul&gt;</span></pre>
<pre><span style="color: #003366;">&lt;/div&gt;</span></pre>
<pre><span style="color: #003366;">&lt;/body&gt;</span></pre>
<pre><span style="color: #003366;">&lt;/html&gt;</span></pre>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p><strong>Step 2: CSS</strong></p>
<p><strong>Css/menu.css</strong></p>
<pre><span style="color: #003366;">ul#nav {</span>
<span style="color: #003366;">    border: 1px solid #454545;</span>
<span style="color: #003366;">    display: block;</span>
<span style="color: #003366;">    height: 400px;</span>
<span style="color: #003366;">    margin: 0;</span>
<span style="color: #003366;">    padding: 15px;</span>
<span style="color: #003366;">    width: 160px;</span>

<span style="color: #003366;">    -moz-border-radius: 9px;</span>
<span style="color: #003366;">    -ms-border-radius: 9px;</span>
<span style="color: #003366;">    -webkit-border-radius: 9px;</span>
<span style="color: #003366;">    -o-border-radius: 9px;</span>
<span style="color: #003366;">    border-radius: 9px;</span>

<span style="color: #003366;">    background: -moz-linear-gradient(#f1f7ff, #d9e1ec);</span>
<span style="color: #003366;">    background: -ms-linear-gradient(#f1f7ff, #d9e1ec);</span>
<span style="color: #003366;">    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f1f7ff), color-stop(100%, #d9e1ec));</span>
<span style="color: #003366;">    background: -webkit-linear-gradient(#f1f7ff, #d9e1ec);</span>
<span style="color: #003366;">    background: -o-linear-gradient(#f1f7ff, #d9e1ec);</span>
<span style="color: #003366;">    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f1f7ff', endColorstr='#d9e1ec');</span>
<span style="color: #003366;">    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#f1f7ff', endColorstr='#d9e1ec')";</span>
<span style="color: #003366;">    background: linear-gradient(#f1f7ff, #d9e1ec);</span>
<span style="color: #003366;">}</span>

<span style="color: #003366;">@-moz-keyframes custom_effect {</span>
<span style="color: #003366;">    0% {</span>
<span style="color: #003366;">        background:rgba(255, 255, 255, 0.0);</span>
<span style="color: #003366;">        height: 60px;</span>
<span style="color: #003366;">    }</span>
<span style="color: #003366;">    33% {</span>
<span style="color: #003366;">        background:rgba(255, 255, 255, 0.0);</span>
<span style="color: #003366;">        height: 160px;</span>
<span style="color: #003366;">    }</span>
<span style="color: #003366;">    66% {</span>
<span style="color: #003366;">        background:rgba(255, 255, 255, 1.0);</span>
<span style="color: #003366;">    }</span>
<span style="color: #003366;">    100% {</span>
<span style="color: #003366;">        background:rgba(190, 220, 255, 0.8);</span>
<span style="color: #003366;">        height: 135px;</span>
<span style="color: #003366;">    }</span>
<span style="color: #003366;">}</span>
<span style="color: #003366;">@-webkit-keyframes custom_effect {</span>
<span style="color: #003366;">    0% {</span>
<span style="color: #003366;">        background:rgba(255, 255, 255, 0.0);</span>
<span style="color: #003366;">        height: 60px;</span>
<span style="color: #003366;">    }</span>
<span style="color: #003366;">    33% {</span>
<span style="color: #003366;">        background:rgba(255, 255, 255, 0.0);</span>
<span style="color: #003366;">        height: 160px;</span>
<span style="color: #003366;">    }</span>
<span style="color: #003366;">    66% {</span>
<span style="color: #003366;">        background:rgba(255, 255, 255, 1.0);</span>
<span style="color: #003366;">    }</span>
<span style="color: #003366;">    100% {</span>
<span style="color: #003366;">        background:rgba(190, 220, 255, 0.8);</span>
<span style="color: #003366;">        height: 135px;</span>
<span style="color: #003366;">    }</span>
<span style="color: #003366;">}</span>
<span style="color: #003366;">ul#nav li {</span>
<span style="color: #003366;">    -moz-border-radius: 9px;</span>
<span style="color: #003366;">    -ms-border-radius: 9px;</span>
<span style="color: #003366;">    -webkit-border-radius: 9px;</span>
<span style="color: #003366;">    -o-border-radius: 9px;</span>
<span style="color: #003366;">    border-radius: 9px;</span>

<span style="color: #003366;">    background-color:transparent;</span>
<span style="color: #003366;">    border: 1px solid #454545;</span>
<span style="color: #003366;">    display: block;</span>
<span style="color: #003366;">    height: 60px;</span>
<span style="color: #003366;">    line-height: 60px;</span>
<span style="color: #003366;">    margin-bottom: 15px;</span>
<span style="color: #003366;">    overflow: hidden;</span>
<span style="color: #003366;">}</span>
<span style="color: #003366;">ul#nav li:hover {</span>
<span style="color: #003366;">    -moz-animation-name: custom_effect;</span>
<span style="color: #003366;">    -moz-animation-duration: 0.4s;</span>
<span style="color: #003366;">    -moz-animation-timing-function: ease;</span>
<span style="color: #003366;">    -moz-animation-iteration-count: 1;</span>
<span style="color: #003366;">    -moz-animation-direction: normal;</span>
<span style="color: #003366;">    -moz-animation-delay: 0;</span>
<span style="color: #003366;">    -moz-animation-play-state: running;</span>
<span style="color: #003366;">    -moz-animation-fill-mode: forwards;</span>

<span style="color: #003366;">    -webkit-animation-name: custom_effect;</span>
<span style="color: #003366;">    -webkit-animation-duration: 0.4s;</span>
<span style="color: #003366;">    -webkit-animation-timing-function: ease;</span>
<span style="color: #003366;">    -webkit-animation-iteration-count: 1;</span>
<span style="color: #003366;">    -webkit-animation-direction: normal;</span>
<span style="color: #003366;">    -webkit-animation-delay: 0;</span>
<span style="color: #003366;">    -webkit-animation-play-state: running;</span>
<span style="color: #003366;">    -webkit-animation-fill-mode: forwards;</span>

<span style="color: #003366;">    background:rgba(190, 220, 255, 0.8);</span>
<span style="color: #003366;">    height: 135px;</span>
<span style="color: #003366;">}</span>
<span style="color: #003366;">ul#nav a {</span>
<span style="color: #003366;">    border-style: none;</span>
<span style="color: #003366;">    border-width: 0;</span>
<span style="color: #003366;">    color: #181818;</span>
<span style="color: #003366;">    cursor: pointer;</span>
<span style="color: #003366;">    float: left;</span>
<span style="color: #003366;">    font-size: 13px;</span>
<span style="color: #003366;">    font-weight: bold;</span>
<span style="color: #003366;">    line-height: 30px;</span>
<span style="color: #003366;">    margin-top: 100px;</span>
<span style="color: #003366;">    padding-left: 18px;</span>
<span style="color: #003366;">    text-align: left;</span>
<span style="color: #003366;">    text-decoration: none;</span>
<span style="color: #003366;">    text-shadow: 0 1px 1px #FFFFFF;</span>
<span style="color: #003366;">    vertical-align: middle;</span>

<span style="color: #003366;">    -moz-transition: all 0.1s 0.4s;</span>
<span style="color: #003366;">    -ms-transition: all 0.1s 0.4s;</span>
<span style="color: #003366;">    -o-transition: all 0.1s 0.4s;</span>
<span style="color: #003366;">    -webkit-transition: all 0.1s 0.4s;</span>
<span style="color: #003366;">    transition: all 0.1s 0.4s;</span>
<span style="color: #003366;">}</span></pre>
<h4>Incoming search terms for the article:</h4>
<ul>
<li><a href="http://blogfreakz.com/web-design/animated-css3-multilevel-menu-with-transition/" title="css text animation">css text animation</a></li>
<li><a href="http://blogfreakz.com/web-design/animated-css3-multilevel-menu-with-transition/" title="css3 menus">css3 menus</a></li>
</ul>
<p><!-- SEO SearchTerms Tagging 2 Plugin --></p>
]]></content:encoded>
			<wfw:commentRss>http://blogfreakz.com/web-design/animated-css3-multilevel-menu-with-transition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery Apple Retina Effect</title>
		<link>http://blogfreakz.com/web-design/jquery-apple-retina-effect/</link>
		<comments>http://blogfreakz.com/web-design/jquery-apple-retina-effect/#comments</comments>
		<pubDate>Thu, 19 Jan 2012 14:23:22 +0000</pubDate>
		<dc:creator>Marvin@Blogfreakz</dc:creator>
				<category><![CDATA[CSS3]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://blogfreakz.com/?p=24418</guid>
		<description><![CDATA[Recreate Apple’s Retina display with this awesome tutorial! Thanks to web developer Martin Angelov, he designed a fully functional Apple-like Retina effect using the jQuery library. Below are the steps on how to achieve this effect. 1. XHTML The markup is pretty much straight forward and has few divs and images. &#60;div id="main"&#62; &#60;div id="iphone"&#62; [...]]]></description>
			<content:encoded><![CDATA[<p><strong> </strong>Recreate Apple’s Retina display with this awesome tutorial! Thanks to web developer <strong><a href="http://tutorialzine.com" target="_blank">Martin Angelov</a></strong>, he designed a fully functional Apple-like Retina effect using the jQuery library.</p>
<p><a href="http://www.designdim.com/wp-content/uploads/2011/03/jquery-retina-effect-tutorialzine.jpg"><img class="aligncenter size-large wp-image-24429" title="Apple Retina" src="http://blogfreakz.com/wp-content/uploads/2012/01/110-451x250.jpg" alt="110 451x250 jQuery Apple Retina Effect " width="451" height="250" /></a></p>
<p>Below are the steps on how to achieve this effect.</p>
<p><strong>1. </strong><strong>XHTML</strong><strong> </strong></p>
<p>The markup is pretty much straight forward and has few divs and images.</p>
<pre><span style="color: #003366;">&lt;div id="main"&gt;</span></pre>
<pre><span style="color: #003366;">&lt;div id="iphone"&gt;</span></pre>
<pre><span style="color: #003366;">&lt;div id="webpage"&gt;</span></pre>
<pre><span style="color: #003366;">&lt;img src="img/webpage.png" width="499" height="283" alt="Web Page" /&gt;</span></pre>
<pre><span style="color: #003366;">&lt;div id="retina"&gt;&lt;/div&gt;</span></pre>
<pre><span style="color: #003366;">&lt;/div&gt;</span></pre>
<pre><span style="color: #003366;">&lt;/div&gt;</span></pre>
<pre><span style="color: #003366;">&lt;/div&gt;</span></pre>
<p>This is a simulation of what you will achieve with the above code.</p>
<p><strong> </strong></p>
<p><strong>2. CSS</strong></p>
<p>This is the styling for the retina divs, iPhone and webpage effect.</p>
<p><strong>Styles.css</strong></p>
<pre><span style="color: #003366;">#iphone{</span>
<span style="color: #003366;">        /* The iphone frame div */</span>
<span style="color: #003366;">        width:750px;</span>
<span style="color: #003366;">        height:400px;</span>
<span style="color: #003366;">        background:url('img/iphone_4G.png') no-repeat center center;</span>
<span style="color: #003366;">}</span>

<span style="color: #003366;">#webpage{</span>
<span style="color: #003366;">        /* Contains the webpage screenshot */</span>
<span style="color: #003366;">        width:499px;</span>
<span style="color: #003366;">        height:283px;</span>
<span style="color: #003366;">        position:absolute;</span>
<span style="color: #003366;">        top:50%;</span>
<span style="color: #003366;">        left:50%;</span>
<span style="color: #003366;">        margin:-141px 0 0 -249px;</span>
<span style="color: #003366;">}</span>

<span style="color: #003366;">#retina{</span>
<span style="color: #003366;">        /* The Retina effect */</span>
<span style="color: #003366;">        background:url('img/webpage.png') no-repeat center center white;</span>
<span style="color: #003366;">        border:2px solid white;</span>

<span style="color: #003366;">        /* Positioned absolutely, so we can move it around */</span>
<span style="color: #003366;">        position:absolute;</span>
<span style="color: #003366;">        height:180px;</span>
<span style="color: #003366;">        width:180px;</span>

<span style="color: #003366;">        /* Hidden by default */</span>
<span style="color: #003366;">        display:none;</span>

<span style="color: #003366;">        /* A blank cursor, notice the default fallback */</span>
<span style="color: #003366;">        cursor:url('img/blank.cur'),default;</span>

<span style="color: #003366;">        /* CSS3 Box Shadow */</span>
<span style="color: #003366;">        -moz-box-shadow:0 0 5px #777, 0 0 10px #aaa inset;</span>
<span style="color: #003366;">        -webkit-box-shadow:0 0 5px #777;</span>
<span style="color: #003366;">        box-shadow:0 0 5px #777, 0 0 10px #aaa inset;</span>

<span style="color: #003366;">        /* CSS3 rounded corners */</span>
<span style="color: #003366;">        -moz-border-radius:90px;</span>
<span style="color: #003366;">        -webkit-border-radius:90px;</span>
<span style="color: #003366;">        border-radius:90px;</span>
<span style="color: #003366;">}</span>

<span style="color: #003366;">#retina.chrome{</span>
<span style="color: #003366;">        /* A special chrome version of the cursor */</span>
<span style="color: #003366;">        cursor:url('img/blank_google_chrome.cur'),default;</span>
<span style="color: #003366;">}</span>

<span style="color: #003366;">#main{</span>
<span style="color: #003366;">        /* The main div */</span>
<span style="color: #003366;">        margin:40px auto;</span>
<span style="color: #003366;">        position:relative;</span>
<span style="color: #003366;">        width:750px;</span>
<span style="color: #003366;">}</span></pre>
<p><strong>3. </strong><strong>jQuery</strong></p>
<p><strong>script.js</strong></p>
<p><strong> </strong></p>
<pre><span style="color: #003366;">$(document).ready(function(){</span>

<span style="color: #003366;">        /* This code is executed on the document ready event */</span>

<span style="color: #003366;">        var left       = 0,</span>
<span style="color: #003366;">               top            = 0,</span>
<span style="color: #003366;">               sizes   = { retina: { width:190, height:190 },</span>
<span style="color: #003366;">                               webpage:{ width:500, height:283 } },</span>
<span style="color: #003366;">               webpage = $('#webpage'),</span>
<span style="color: #003366;">               offset  = { left: webpage.offset().left, top: webpage.offset().top },</span>
<span style="color: #003366;">               retina  = $('#retina');</span>

<span style="color: #003366;">        if(navigator.userAgent.indexOf('Chrome')!=-1)</span>
<span style="color: #003366;">        {</span>
<span style="color: #003366;">               /*      Applying a special chrome curosor,</span>
<span style="color: #003366;">                       as it fails to render completely blank curosrs. */</span>

<span style="color: #003366;">               retina.addClass('chrome');</span>
<span style="color: #003366;">        }</span>

<span style="color: #003366;">        webpage.mousemove(function(e){</span>

<span style="color: #003366;">               left = (e.pageX-offset.left);</span>
<span style="color: #003366;">               top = (e.pageY-offset.top);</span>

<span style="color: #003366;">               if(retina.is(':not(:animated):hidden')){</span>
<span style="color: #003366;">                       /* Fixes a bug where the retina div is not shown */</span>
<span style="color: #003366;">                       webpage.trigger('mouseenter');</span>
<span style="color: #003366;">               }</span>

<span style="color: #003366;">               if(left&lt;0 || top&lt;0 || left &gt; sizes.webpage.width ||</span>
<span style="color: #003366;">                       top &gt; sizes.webpage.height)</span>
<span style="color: #003366;">               {</span>
<span style="color: #003366;">                       /*      If we are out of the bondaries of the</span>
<span style="color: #003366;">                               webpage screenshot, hide the retina div */</span>

<span style="color: #003366;">                       if(!retina.is(':animated')){</span>
<span style="color: #003366;">                               webpage.trigger('mouseleave');</span>
<span style="color: #003366;">                       }</span>
<span style="color: #003366;">                       return false;</span>
<span style="color: #003366;">               }</span>

<span style="color: #003366;">               /*      Moving the retina div with the mouse</span>
<span style="color: #003366;">                       (and scrolling the background) */</span>

<span style="color: #003366;">               retina.css({</span>
<span style="color: #003366;">                       left                           : left - sizes.retina.width/2,</span>
<span style="color: #003366;">                       top                                   : top - sizes.retina.height/2,</span>
<span style="color: #003366;">                       backgroundPosition     : '-'+(1.6*left)+'px -'+(1.35*top)+'px'</span>
<span style="color: #003366;">               });</span>

<span style="color: #003366;">        }).mouseleave(function(){</span>
<span style="color: #003366;">               retina.stop(true,true).fadeOut('fast');</span>
<span style="color: #003366;">        }).mouseenter(function(){</span>
<span style="color: #003366;">               retina.stop(true,true).fadeIn('fast');</span>
<span style="color: #003366;">        });</span>
<span style="color: #003366;">});</span></pre>
<p><strong> </strong></p>
<p>Angelov also provided a zip file which you may download <strong><a href="http://demo.tutorialzine.com/2010/06/apple-like-retina-effect-jquery-css/demo.zip" target="_blank">here</a><a href="http://demo.tutorialzine.com/2010/06/apple-like-retina-effect-jquery-css/demo.zip" target="_blank">.</a> </strong><a href="http://demo.tutorialzine.com/2010/06/apple-like-retina-effect-jquery-css/demo.zip"><strong> </strong></a><strong> </strong></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p><strong> </strong><br />
<h4>Incoming search terms for the article:</h4>
<ul>
<li><a href="http://blogfreakz.com/web-design/jquery-apple-retina-effect/" title="retina chrome">retina chrome</a></li>
<li><a href="http://blogfreakz.com/web-design/jquery-apple-retina-effect/" title="apple retina">apple retina</a></li>
<li><a href="http://blogfreakz.com/web-design/jquery-apple-retina-effect/" title="retina apple wordpress">retina apple wordpress</a></li>
<li><a href="http://blogfreakz.com/web-design/jquery-apple-retina-effect/" title="jquery apple effect">jquery apple effect</a></li>
<li><a href="http://blogfreakz.com/web-design/jquery-apple-retina-effect/" title="jquery apple color picker">jquery apple color picker</a></li>
<li><a href="http://blogfreakz.com/web-design/jquery-apple-retina-effect/" title="jquery apple">jquery apple</a></li>
<li><a href="http://blogfreakz.com/web-design/jquery-apple-retina-effect/" title="iphone video display css template">iphone video display css template</a></li>
<li><a href="http://blogfreakz.com/web-design/jquery-apple-retina-effect/" title="html5 template for iphone retina">html5 template for iphone retina</a></li>
<li><a href="http://blogfreakz.com/web-design/jquery-apple-retina-effect/" title="carousel jquery apple">carousel jquery apple</a></li>
<li><a href="http://blogfreakz.com/web-design/jquery-apple-retina-effect/" title="retina css3">retina css3</a></li>
</ul>
<p><!-- SEO SearchTerms Tagging 2 Plugin --></p>
]]></content:encoded>
			<wfw:commentRss>http://blogfreakz.com/web-design/jquery-apple-retina-effect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create Sticky Notes Using HTML5, CSS3, and jQuery</title>
		<link>http://blogfreakz.com/web-design/create-sticky-notes-using-html5-css3-and-jquery/</link>
		<comments>http://blogfreakz.com/web-design/create-sticky-notes-using-html5-css3-and-jquery/#comments</comments>
		<pubDate>Thu, 19 Jan 2012 03:52:23 +0000</pubDate>
		<dc:creator>Keith@Blogfreakz</dc:creator>
				<category><![CDATA[CSS3]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Freebies]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Software & Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[posticks]]></category>
		<category><![CDATA[sticky notes]]></category>

		<guid isPermaLink="false">http://blogfreakz.com/?p=24410</guid>
		<description><![CDATA[Add fun and functionality to your website by adding Windows-style sticky notes! Thanks to the combined powers of HTML5, CSS3, and a bit of jQuery in this tutorial by Teylor Feliz, we can do just that. Let’s being with the HTML markup: &#60; !DOCTYPE html&#62;&#160; &#60;html lang=&#8221;en&#8221;&#62; &#60;head&#62; &#60;meta charset=&#8221;utf-8&#8243; /&#62; &#60;title&#62;Posticks&#60;/title&#62; &#60;link rel=&#8221;stylesheet&#8221; rev=&#8221;stylesheet&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>Add fun and functionality to your website by adding Windows-style sticky notes! Thanks to the combined powers of HTML5, CSS3, and a bit of jQuery in this tutorial by <a href="http://www.teylorfeliz.net/" target="_blank"><strong>Teylor Feliz</strong></a>, we can do just that.</p>
<p><img class="aligncenter size-large wp-image-24412" title="Posticks" src="http://blogfreakz.com/wp-content/uploads/2012/01/19-600x216.jpg" alt="19 600x216 Create Sticky Notes Using HTML5, CSS3, and jQuery" width="600" height="216" /></p>
<p>Let’s being with the <a href="http://blogfreakz.com/category/html5/" target="_blank"><strong>HTML</strong></a> markup:</p>
<table border="1" cellspacing="0" cellpadding="0" width="625" height="522">
<tbody>
<tr>
<td width="638" valign="top"><span style="color: #003366;">&lt;   !DOCTYPE html&gt;</span>&nbsp;</p>
<p><span style="color: #003366;">&lt;html   lang=&#8221;en&#8221;&gt;</span></p>
<p><span style="color: #003366;">&lt;head&gt;</span></p>
<p><span style="color: #003366;">&lt;meta charset=&#8221;utf-8&#8243; /&gt;</span></p>
<p><span style="color: #003366;">&lt;title&gt;Posticks&lt;/title&gt;</span></p>
<p><span style="color: #003366;">&lt;link rel=&#8221;stylesheet&#8221;   rev=&#8221;stylesheet&#8221; href=&#8221;styles.css&#8221;&gt;</span></p>
<p><span style="color: #003366;">&lt;link rel=&#8221;stylesheet&#8221;   href=&#8221;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.3/themes/base/jquery-ui.css&#8221;   type=&#8221;text/css&#8221; media=&#8221;all&#8221; /&gt;</span></p>
<p><span style="color: #003366;">&lt;/link&gt;&lt;/head&gt;</span></p>
<p><span style="color: #003366;">&lt;body&gt;</span></p>
<p><span style="color: #003366;">&lt;header&gt;</span></p>
<p><span style="color: #003366;">&lt;h1&gt;posticks&lt;/h1&gt;</span></p>
<p><span style="color: #003366;">&lt;input type=&#8221;button&#8221;   value=&#8221;Add Postick&#8221; id=&#8221;btn-addNote&#8221; /&gt;</span></p>
<p><span style="color: #003366;">&lt;/header&gt;</span></p>
<p><span style="color: #003366;">&lt;div   id=&#8221;board&#8221;&gt;&lt;/div&gt;</span></p>
<p><span style="color: #003366;">&lt;script type=&#8221;text/javascript&#8221;   src=&#8221;https://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js&#8221;&gt;&lt;/script&gt;</span></p>
<p><span style="color: #003366;">&lt;script type=&#8221;text/javascript&#8221;   src=&#8221;https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.10/jquery-ui.min.js&#8221;&gt;&lt;/script&gt;</span></p>
<p><span style="color: #003366;">&lt;script type=&#8221;text/javascript&#8221;   src=&#8221;js/scripts.js&#8221;&gt;&lt;/script&gt;</span></p>
<p><span style="color: #003366;">&lt;/body&gt;</span></p>
<p><span style="color: #003366;">&lt;/html&gt;</span></td>
</tr>
</tbody>
</table>
<p>As you can see, the code is pretty much straightforward. We have the input element “button” to create the sticky notes, and a container &lt;div&gt; with an id (“board”) in which to place them. This also includes the reference tags to the CSS style sheets and the JavaScript file.</p>
<p>The HTML for our posticks will be as follows:</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="638" valign="top"><span style="color: #003366;">&lt;div  &gt;</span>&nbsp;</p>
<p><span style="color: #003366;">&lt;div  &gt;&lt;span   title=&#8221;Close&#8221;&gt;x&lt;/span&gt;&lt;/div&gt;</span></p>
<p><span style="color: #003366;">&lt;div contenteditable  &gt;&lt;/div&gt;</span></p>
<p><span style="color: #003366;">&lt;/div&gt;</span></td>
</tr>
</tbody>
</table>
<p>Each postick &lt;div&gt; will have a subdiv called “toolbar” so we will have a place for us to put a close (x) button in. We’ll also have another subdiv called “editable” with an HTML5 attribute “contenteditable”; this will contain the text that the user will input in the sticky note.</p>
<p>And now for the <a href="http://blogfreakz.com/category/css3/" target="_blank"><strong>CSS</strong></a> part, which is a lengthy one:</p>
<table border="1" cellspacing="0" cellpadding="0" width="625" height="2310">
<tbody>
<tr>
<td width="638" valign="top"><span style="color: #003366;">/************   Tags ************/</span>&nbsp;</p>
<p><span style="color: #003366;">/* Just some   basic reset for the body tag */</span></p>
<p><span style="color: #003366;">body {</span></p>
<p><span style="color: #003366;">background:#F1C387;</span></p>
<p><span style="color: #003366;">padding:0;</span></p>
<p><span style="color: #003366;">margin:0;</span></p>
<p><span style="color: #003366;">font-family: Helvetica, Verdana, Geneva,   sans-serif</span></p>
<p><span style="color: #003366;">}</span></p>
<p><span style="color: #003366;">header {</span></p>
<p><span style="color: #003366;">padding-left:20px;</span></p>
<p><span style="color: #003366;">height:50px;</span></p>
<p><span style="color: #003366;">display:block;</span></p>
<p><span style="color: #003366;">background:#0E0300;</span></p>
<p><span style="color: #003366;">-webkit-box-shadow:0px 2px 5px gray;</span></p>
<p><span style="color: #003366;">-moz-box-shadow:0px 2px 5px gray;</span></p>
<p><span style="color: #003366;">box-shadow:0px 2px 5px gray;</span></p>
<p><span style="color: #003366;">text-align:right;</span></p>
<p><span style="color: #003366;">}</span></p>
<p><span style="color: #003366;">h1 {</span></p>
<p><span style="color: #003366;">color:white;</span></p>
<p><span style="color: #003366;">display:inline;</span></p>
<p><span style="color: #003366;">font-size:210%;</span></p>
<p><span style="color: #003366;">padding:15px 10px 0px 0px;</span></p>
<p><span style="color: #003366;">text-shadow: 1px -1px 0px #999;</span></p>
<p><span style="color: #003366;">text-transform:capitalize;</span></p>
<p><span style="color: #003366;">}</span></p>
<p><span style="color: #003366;">input[type="button"]   {</span></p>
<p><span style="color: #003366;">background:#EFE4DC;</span></p>
<p><span style="color: #003366;">border:1px solid black;</span></p>
<p><span style="color: #003366;">-moz-border-radius:5px;</span></p>
<p><span style="color: #003366;">border-radius:5px;</span></p>
<p><span style="color: #003366;">color:black;</span></p>
<p><span style="color: #003366;">font-weight:bold;</span></p>
<p><span style="color: #003366;">float:left;</span></p>
<p><span style="color: #003366;">padding:10px;</span></p>
<p><span style="color: #003366;">margin:5px 10px 0 0;</span></p>
<p><span style="color: #003366;">text-shadow: 1px 1px 0px white;</span></p>
<p><span style="color: #003366;">}</span></p>
<p><span style="color: #003366;">input[type="button"]:hover   {</span></p>
<p><span style="color: #003366;">background:#E03A00;</span></p>
<p><span style="color: #003366;">color:white;</span></p>
<p><span style="color: #003366;">text-shadow: 1px 1px 0px black;</span></p>
<p><span style="color: #003366;">cursor:pointer;</span></p>
<p><span style="color: #003366;">}</span></p>
<p><span style="color: #003366;">/************ Classes   ************/</span></p>
<p><span style="color: #003366;">.postick {</span></p>
<p><span style="color: #003366;">border:1px solid gray;</span></p>
<p><span style="color: #003366;">width:200px;</span></p>
<p><span style="color: #003366;">height:200px;</span></p>
<p><span style="color: #003366;">padding:4px;</span></p>
<p><span style="color: #003366;">font-size:85%;</span></p>
<p><span style="color: #003366;">background:#FFFC7F;</span></p>
<p><span style="color: #003366;">-moz-box-shadow:2px 2px 2px #999999;</span></p>
<p><span style="color: #003366;">-webkit-box-shadow:2px 2px 2px #999999;</span></p>
<p><span style="color: #003366;">box-shadow:2px 2px 2px #999999;</span></p>
<p><span style="color: #003366;">position:absolute;</span></p>
<p><span style="color: #003366;">}</span></p>
<p><span style="color: #003366;">.toolbar {</span></p>
<p><span style="color: #003366;">text-align:right;</span></p>
<p><span style="color: #003366;">font-weight:bold;</span></p>
<p><span style="color: #003366;">}</span></p>
<p><span style="color: #003366;">/* Postick&#8217;s button   &#8220;delete&#8221; */</span></p>
<p><span style="color: #003366;">.delete {</span></p>
<p><span style="color: #003366;">cursor:pointer;</span></p>
<p><span style="color: #003366;">font-size:120%;</span></p>
<p><span style="color: #003366;">}</span></p>
<p><span style="color: #003366;">/* Content to be editable   inside the postick */</span></p>
<p><span style="color: #003366;">.editable {</span></p>
<p><span style="color: #003366;">cursor:pointer;</span></p>
<p><span style="color: #003366;">height:180px;</span></p>
<p><span style="color: #003366;">marging:0 auto;</span></p>
<p><span style="color: #003366;">width:100%;</span></p>
<p><span style="color: #003366;">overflow:hidden;</span></p>
<p><span style="color: #003366;">position:relative;</span></p>
<p><span style="color: #003366;">-moz-text-shadow: 1px 1px 0px white;</span></p>
<p><span style="color: #003366;">text-shadow: 1px 1px 0px white;</span></p>
<p><span style="color: #003366;">}</span></p>
<p><span style="color: #003366;">.editable:hover{</span></p>
<p><span style="color: #003366;">border:1px dotted gray;</span></p>
<p><span style="color: #003366;">}</span></td>
</tr>
</tbody>
</table>
<p>Like the HTML code, the CSS code is also straightforward. We first reset the body tag, then we stylize the button (input) that creates the posticks, and then stylize the postick itself and the elements inside it (i.e. the delete button, toolbar, etc.).</p>
<p>And now for the <a href="http://blogfreakz.com/category/javascript/" target="_blank"><strong>JavaScript</strong></a>:</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="638" valign="top"><span style="color: #003366;">(function   ($, $S) {</span>&nbsp;</p>
<p><span style="color: #003366;">//$ jQuery</span></p>
<p><span style="color: #003366;">//$S window.localStorage</span></p>
<p><span style="color: #003366;">//Variables Declaration</span></p>
<p><span style="color: #003366;">var $board = $(&#8216;#board&#8217;),</span></p>
<p><span style="color: #003366;">//Board where the Posticks are   sticked</span></p>
<p><span style="color: #003366;">Postick, //Singleton Object   containing the Functions to work with the LocalStorage</span></p>
<p><span style="color: #003366;">len = 0, //Length of Objects in the   LocalStorage</span></p>
<p><span style="color: #003366;">currentNotes = &#8221;, //Storage the html   construction of the posticks</span></p>
<p><span style="color: #003366;">o; //Actual Postick data in the   localStorage</span></p>
<p><span style="color: #003366;">//Manage the Posticks in the Local   Storage</span></p>
<p><span style="color: #003366;">//Each postick is saved in the   localStorage as an Object</span></p>
<p><span style="color: #003366;">Postick = {</span></p>
<p><span style="color: #003366;">add: function (obj) {</span></p>
<p><span style="color: #003366;">obj.id = $S.length;</span></p>
<p><span style="color: #003366;">$S.setItem(obj.id,   JSON.stringify(obj));</span></p>
<p><span style="color: #003366;">},</span></p>
<p><span style="color: #003366;">retrive: function (id) {</span></p>
<p><span style="color: #003366;">return   JSON.parse($S.getItem(id));</span></p>
<p><span style="color: #003366;">},</span></p>
<p><span style="color: #003366;">remove: function (id) {</span></p>
<p><span style="color: #003366;">$S.removeItem(id);</span></p>
<p><span style="color: #003366;">},</span></p>
<p><span style="color: #003366;">removeAll: function () {</span></p>
<p><span style="color: #003366;">$S.clear();</span></p>
<p><span style="color: #003366;">}</span></p>
<p><span style="color: #003366;">};</span></p>
<p><span style="color: #003366;">//If exist any postick, Create it/them</span></p>
<p><span style="color: #003366;">len = $S.length;</span></p>
<p><span style="color: #003366;">if (len) {</span></p>
<p><span style="color: #003366;">for (var i = 0; i &lt; len; i++) {</span></p>
<p><span style="color: #003366;">//Create all posticks saved in   localStorage</span></p>
<p><span style="color: #003366;">var key = $S.key(i);</span></p>
<p><span style="color: #003366;">o = Postick.retrive(key);</span></p>
<p><span style="color: #003366;">currentNotes += &#8216;&lt;div  &#8216;;</span></p>
<p><span style="color: #003366;">currentNotes += &#8216;   style=&#8221;left:&#8217; + o.left;</span></p>
<p><span style="color: #003366;">currentNotes += &#8216;px; top:&#8217; +   o.top;</span></p>
<p><span style="color: #003366;">//data-key is the attribute   to know what item delete in the localStorage</span></p>
<p><span style="color: #003366;">currentNotes +=   &#8216;px&#8221;&gt;&lt;div&gt;&lt;span   data-key=&#8221;&#8216; + key;</span></p>
<p><span style="color: #003366;">currentNotes +=   &#8216;&#8221;&gt;x&lt;/span&gt;&lt;/div&gt;&lt;div contenteditable=&#8221;true&#8221;  &gt;&#8217;;</span></p>
<p><span style="color: #003366;">currentNotes += o.text;</span></p>
<p><span style="color: #003366;">currentNotes += &#8216;&lt;/div&gt;&#8217;;</span></p>
<p><span style="color: #003366;">}</span></p>
<p><span style="color: #003366;">//Append all the posticks to the   board</span></p>
<p><span style="color: #003366;">$board.html(currentNotes);</span></p>
<p><span style="color: #003366;">}</span></p>
<p><span style="color: #003366;">//When the document is ready, make all   posticks Draggable</span></p>
<p><span style="color: #003366;">$(document).ready(function () {</span></p>
<p><span style="color: #003366;">$(&#8220;.postick&#8221;).draggable({</span></p>
<p><span style="color: #003366;">cancel: &#8216;.editable&#8217;,</span></p>
<p><span style="color: #003366;">&#8220;zIndex&#8221;: 3000,</span></p>
<p><span style="color: #003366;">&#8220;stack&#8221; : &#8216;.postick&#8217;</span></p>
<p><span style="color: #003366;">});</span></p>
<p><span style="color: #003366;">});</span></p>
<p><span style="color: #003366;">//Remove Postick</span></p>
<p><span style="color: #003366;">$(&#8216;span.delete&#8217;).live(&#8216;click&#8217;, function   () {</span></p>
<p><span style="color: #003366;">if (confirm(&#8216;Are you sure you want to   delete this Note?&#8217;)) {</span></p>
<p><span style="color: #003366;">var $this = $(this);</span></p>
<p><span style="color: #003366;">//data-key is the attribute   to know what item delete in the localStorage</span></p>
<p><span style="color: #003366;">Postick.remove($this.attr(&#8216;data-key&#8217;));</span></p>
<p><span style="color: #003366;">$this.closest(&#8216;.postick&#8217;).fadeOut(&#8216;slow&#8217;, function () {</span></p>
<p><span style="color: #003366;">$(this).remove();</span></p>
<p><span style="color: #003366;">});</span></p>
<p><span style="color: #003366;">}</span></p>
<p><span style="color: #003366;">});</span></p>
<p><span style="color: #003366;">//Create postick</span></p>
<p><span style="color: #003366;">$(&#8216;#btn-addNote&#8217;).click(function () {</span></p>
<p><span style="color: #003366;">$board.append(&#8216;&lt;div   style=&#8221;left:20px;top:70px&#8221;&gt;&lt;div  &gt;&lt;span   title=&#8221;Close&#8221;&gt;x&lt;/span&gt;&lt;/div&gt;&lt;div contenteditable  &gt;&lt;/div&gt;&lt;/div&gt;&#8217;);</span></p>
<p><span style="color: #003366;">$(&#8220;.postick&#8221;).draggable({</span></p>
<p><span style="color: #003366;">cancel: &#8216;.editable&#8217;</span></p>
<p><span style="color: #003366;">});</span></p>
<p><span style="color: #003366;">});</span></p>
<p><span style="color: #003366;">//Save all the posticks when the user   leaves the page</span></p>
<p><span style="color: #003366;">window.onbeforeunload = function () {</span></p>
<p><span style="color: #003366;">//Clean the localStorage</span></p>
<p><span style="color: #003366;">Postick.removeAll();</span></p>
<p><span style="color: #003366;">//Then insert each postick into the   LocalStorage</span></p>
<p><span style="color: #003366;">//Saving their position on the   page, in order to position them when the page is loaded again</span></p>
<p><span style="color: #003366;">$(&#8216;.postick&#8217;).each(function () {</span></p>
<p><span style="color: #003366;">var $this = $(this);</span></p>
<p><span style="color: #003366;">Postick.add({</span></p>
<p><span style="color: #003366;">top:   parseInt($this.position().top),</span></p>
<p><span style="color: #003366;">left:   parseInt($this.position().left),</span></p>
<p><span style="color: #003366;">text:   $this.children(&#8216;.editable&#8217;).text()</span></p>
<p><span style="color: #003366;">});</span></p>
<p><span style="color: #003366;">});</span></p>
<p><span style="color: #003366;">}</span></p>
<p><span style="color: #003366;">})(jQuery,   window.localStorage);</span></td>
</tr>
</tbody>
</table>
<p>I believe the JavaScript is pretty much self-explanatory since it also already contains some notes about each part of the code, and especially if you already know enough about JavaScript. <img src='http://blogfreakz.com/wp-includes/images/smilies/icon_wink.gif' alt="icon wink Create Sticky Notes Using HTML5, CSS3, and jQuery" class='wp-smiley' title="Create Sticky Notes Using HTML5, CSS3, and jQuery" /> </p>
<p>Anyway, you can check the <a href="http://www.admixweb.com/demos/posticks/"><strong>demo</strong></a> of the tutorial <a href="http://www.admixweb.com/demos/posticks/"><strong>here</strong></a>. Also, you can get the full source code (.zip) <a href="http://www.admixweb.com/demos/posticks/posticks.zip"><strong>here</strong></a>. I hope you enjoy creating and using your posticks!<br />
<h4>Incoming search terms for the article:</h4>
<ul>
<li><a href="http://blogfreakz.com/web-design/create-sticky-notes-using-html5-css3-and-jquery/" title="sticky div jquery">sticky div jquery</a></li>
<li><a href="http://blogfreakz.com/web-design/create-sticky-notes-using-html5-css3-and-jquery/" title="jquery sticky notes">jquery sticky notes</a></li>
<li><a href="http://blogfreakz.com/web-design/create-sticky-notes-using-html5-css3-and-jquery/" title="sticky notes using jquery with storing facility">sticky notes using jquery with storing facility</a></li>
<li><a href="http://blogfreakz.com/web-design/create-sticky-notes-using-html5-css3-and-jquery/" title="jquery html5 lightbox">jquery html5 lightbox</a></li>
<li><a href="http://blogfreakz.com/web-design/create-sticky-notes-using-html5-css3-and-jquery/" title="ajax sticky notes script">ajax sticky notes script</a></li>
<li><a href="http://blogfreakz.com/web-design/create-sticky-notes-using-html5-css3-and-jquery/" title="sticky notes windows with html5 and css3">sticky notes windows with html5 and css3</a></li>
<li><a href="http://blogfreakz.com/web-design/create-sticky-notes-using-html5-css3-and-jquery/" title="jquery sticky note script">jquery sticky note script</a></li>
<li><a href="http://blogfreakz.com/web-design/create-sticky-notes-using-html5-css3-and-jquery/" title="jquery sticky notes script">jquery sticky notes script</a></li>
<li><a href="http://blogfreakz.com/web-design/create-sticky-notes-using-html5-css3-and-jquery/" title="node js file uploader html5">node js file uploader html5</a></li>
<li><a href="http://blogfreakz.com/web-design/create-sticky-notes-using-html5-css3-and-jquery/" title="php script sticky notes">php script sticky notes</a></li>
</ul>
<p><!-- SEO SearchTerms Tagging 2 Plugin --></p>
]]></content:encoded>
			<wfw:commentRss>http://blogfreakz.com/web-design/create-sticky-notes-using-html5-css3-and-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Create a Cool CSS3 Music Player</title>
		<link>http://blogfreakz.com/web-design/create-cool-css3-music-player/</link>
		<comments>http://blogfreakz.com/web-design/create-cool-css3-music-player/#comments</comments>
		<pubDate>Mon, 16 Jan 2012 14:09:09 +0000</pubDate>
		<dc:creator>Marvin@Blogfreakz</dc:creator>
				<category><![CDATA[CSS3]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Software & Tools]]></category>
		<category><![CDATA[Sound]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[music player]]></category>

		<guid isPermaLink="false">http://blogfreakz.com/?p=24344</guid>
		<description><![CDATA[No music, no life. And as far as web design is concerned, this awesome CSS3 music player would be perfect for adding a new dimension to your blog or website. Indonesian artist Hidayat Sagita made this tutorial in which the goal is to use CSS3 instead of images, so CSS3 properties replace the following Photoshop [...]]]></description>
			<content:encoded><![CDATA[<p align="left">No music, no life. And as far as web design is concerned, this awesome CSS3 music player would be perfect for adding a new dimension to your blog or website.</p>
<p align="left">Indonesian artist Hidayat Sagita made this <a href="http://www.webstuffshare.com/2010/05/css3-music-player-menu/"><strong>tutorial</strong></a> in which the goal is to use CSS3 instead of images, so CSS3 properties replace the following <a href="http://blogfreakz.com/category/photoshop-tutorial/"><strong>Photoshop</strong></a> techniques:</p>
<p align="left">1.	-webkit-gradient or –moz-linear-gradient property is used for color gradient<br />
2.	Border property for stroke.<br />
3.	–webkit-box-shadow, -moz-box-shadow or box shadow property for drop shadow<br />
4.	–webkit-border-radius, -moz-border-radius, border-radius for rounded corner<br />
5.	For a smooth bevel, the border property is used on one side or more with thickness of 1 pixel<br />
6.	Stacked layer for layer masking</p>
<p><a href="http://webstuffshare.com/demo/CSSMusicPlayer/"><strong>Demo</strong></a><br />
<a href="http://www.webstuffshare.com/2010/05/css3-music-player-menu/"><strong>Download</strong></a></p>
<p align="left">Some of this player&#8217;s properties are only supported by few browsers, but it’s so powerful that minimal use of images is required. Also, jazzing up your website with a player like this is totally worth it, so a browser upgrade won’t hurt at all.</p>
<h4>Incoming search terms for the article:</h4>
<ul>
<li><a href="http://blogfreakz.com/web-design/create-cool-css3-music-player/" title="css3 music">css3 music</a></li>
<li><a href="http://blogfreakz.com/web-design/create-cool-css3-music-player/" title="css3 player">css3 player</a></li>
<li><a href="http://blogfreakz.com/web-design/create-cool-css3-music-player/" title="cool website design">cool website design</a></li>
<li><a href="http://blogfreakz.com/web-design/create-cool-css3-music-player/" title="create a cool music player">create a cool music player</a></li>
<li><a href="http://blogfreakz.com/web-design/create-cool-css3-music-player/" title="create html5 audio player">create html5 audio player</a></li>
<li><a href="http://blogfreakz.com/web-design/create-cool-css3-music-player/" title="how to make a music player for the web">how to make a music player for the web</a></li>
<li><a href="http://blogfreakz.com/web-design/create-cool-css3-music-player/" title="intext:website -intext:you must be logged in and intext:leave a reply -intitle:leave a reply ~musique">intext:website -intext:you must be logged in and intext:leave a reply -intitle:leave a reply ~musique</a></li>
<li><a href="http://blogfreakz.com/web-design/create-cool-css3-music-player/" title="music in css3">music in css3</a></li>
<li><a href="http://blogfreakz.com/web-design/create-cool-css3-music-player/" title="musikplaer coole designs">musikplaer coole designs</a></li>
</ul>
<p><!-- SEO SearchTerms Tagging 2 Plugin --></p>
]]></content:encoded>
			<wfw:commentRss>http://blogfreakz.com/web-design/create-cool-css3-music-player/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>5 jQuery Snippets For A More Responsive Web Page</title>
		<link>http://blogfreakz.com/wordpress-tutorial/5-jquery-snippets-for-a-more-responsive-web-page/</link>
		<comments>http://blogfreakz.com/wordpress-tutorial/5-jquery-snippets-for-a-more-responsive-web-page/#comments</comments>
		<pubDate>Sun, 04 Dec 2011 08:24:08 +0000</pubDate>
		<dc:creator>Keith@Blogfreakz</dc:creator>
				<category><![CDATA[JQuery]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://blogfreakz.com/?p=23302</guid>
		<description><![CDATA[Enable HTML5 markup on older browsers We all know that HTML5 is the future of web development. The only problem is some people still use older versions of web browsers that don’t support this language yet. So for that, here’s a script that will force those browsers to recognize the new tags introduced by HTML5 [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Enable HTML5 markup on older browsers</strong></p>
<p>We all know that HTML5 is the future of web development. The only problem is some people still use older versions of web browsers that don’t support this language yet. So for that, here’s a script that will force those browsers to recognize the new tags introduced by HTML5 such as &lt;article&gt; and &lt;header&gt;.</p>
<p>Download the script (.js file) <a href="http://html5shim.googlecode.com/svn/trunk/html5.js">here</a> .</p>
<p>Then link it (the .js script) to your page by inserting this <a href="http://remysharp.com/2009/01/07/html5-enabling-script/" target="_blank">code</a> below in the &lt;head&gt; portion of the HTML.</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="638" valign="top"><span style="color: #0000ff;"><strong>&lt;!&#8211;[if lt IE 9]&gt;</strong></span>&nbsp;</p>
<p><span style="color: #0000ff;"><strong>&lt;script   src=&#8221;http://html5shim.googlecode.com/svn/trunk/html5.js&#8221;&gt;&lt;/script&gt;</strong></span></p>
<p><span style="color: #0000ff;"><strong>&lt;![endif]&#8211;&gt;</strong></span></td>
</tr>
</tbody>
</table>
<p><em> </em></p>
<p><strong>Test browser for CSS3 support</strong></p>
<p>Here’s a nice <a href="http://snipplr.com/view/44079" target="_blank">code</a> that you can modify to see if a browser supports a particular CSS3 property. Just remember that every time you pass the property, you should take out or omit the dash so like say instead of “border-radius”, pass “BorderRadius”, etc.</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="638" valign="top"><span style="color: #0000ff;"><strong>var supports = (function() {</strong></span>&nbsp;</p>
<p><span style="color: #0000ff;"><strong>var div = document.createElement(&#8216;div&#8217;),</strong></span></p>
<p><span style="color: #0000ff;"><strong>vendors = &#8216;Khtml Ms O Moz Webkit&#8217;.split(&#8216; &#8216;),</strong></span></p>
<p><span style="color: #0000ff;"><strong>len = vendors.length;</strong></span></p>
<p><span style="color: #0000ff;"><strong>return function(prop) {</strong></span></p>
<p><span style="color: #0000ff;"><strong>if ( prop in div.style ) return true;</strong></span></p>
<p><span style="color: #0000ff;"><strong>prop = prop.replace(/^[a-z]/, function(val) {</strong></span></p>
<p><span style="color: #0000ff;"><strong>return val.toUpperCase();</strong></span></p>
<p><span style="color: #0000ff;"><strong>});</strong></span></p>
<p><span style="color: #0000ff;"><strong>while(len&#8211;) {</strong></span></p>
<p><span style="color: #0000ff;"><strong>if ( vendors[len] + prop in div.style ) {</strong></span></p>
<p><span style="color: #0000ff;"><strong>// browser supports box-shadow. Do what you need.</strong></span></p>
<p><span style="color: #0000ff;"><strong>// Or use a bang (!) to test if the browser doesn&#8217;t.</strong></span></p>
<p><span style="color: #0000ff;"><strong>return true;</strong></span></p>
<p><span style="color: #0000ff;"><strong>}</strong></span></p>
<p><span style="color: #0000ff;"><strong>}</strong></span></p>
<p><span style="color: #0000ff;"><strong>return false;</strong></span></p>
<p><span style="color: #0000ff;"><strong>};</strong></span></p>
<p><span style="color: #0000ff;"><strong>})();</strong></span></p>
<p><span style="color: #0000ff;"><strong>if ( supports(&#8216;textShadow&#8217;) ) {</strong></span></p>
<p><span style="color: #0000ff;"><strong>document.documentElement.className += &#8216; textShadow&#8217;;</strong></span></p>
<p><span style="color: #0000ff;"><strong>}</strong></span></td>
</tr>
</tbody>
</table>
<p><strong>Preloading images</strong></p>
<p>Spare your visitors from having to wait a few seconds for a large image to load up every time they click on a thumbnail. With this code you can just preload the images in the background so they’re ready to be displayed.</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="638" valign="top"><span style="color: #0000ff;"><strong>(function($) {</strong></span>&nbsp;</p>
<p><span style="color: #0000ff;"><strong>var cache = [];</strong></span></p>
<p><span style="color: #0000ff;"><strong><em>// Arguments are image paths relative to the   current page.</em></strong></span></p>
<p><span style="color: #0000ff;"><strong>$.preLoadImages = function() {</strong></span></p>
<p><span style="color: #0000ff;"><strong>var args_len = arguments.length;</strong></span></p>
<p><span style="color: #0000ff;"><strong>for (var i = args_len; i&#8211;;) {</strong></span></p>
<p><span style="color: #0000ff;"><strong>var cacheImage = document.createElement(&#8216;img&#8217;);</strong></span></p>
<p><span style="color: #0000ff;"><strong>cacheImage.src = arguments[i];</strong></span></p>
<p><span style="color: #0000ff;"><strong>cache.push(cacheImage);</strong></span></p>
<p><span style="color: #0000ff;"><strong>}</strong></span></p>
<p><span style="color: #0000ff;"><strong>}</strong></span></p>
<p><span style="color: #0000ff;"><strong>})(jQuery)</strong></span></td>
</tr>
</tbody>
</table>
<p>You can check out this code&#8217;s <a href="http://engineeredweb.com/blog/09/12/preloading-images-jquery-and-javascript" target="_blank">source page</a> to get a better understanding on the code’s step-by-step process.</p>
<p><strong>Add class to &lt;body&gt; tag if JavaScript is enabled</strong></p>
<p>What this<a href="http://eisabainyo.net/weblog/2010/09/01/10-useful-jquery-snippets/" target="_blank"> code</a> simply does is just add a hasJS class in the &lt;body&gt; tag if it detects that JavaScript is enabled on the client’s browser setting.</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="638" valign="top">
<pre><strong><span style="color: #0000ff;">$('body').addClass('hasJS');</span></strong></pre>
</td>
</tr>
</tbody>
</table>
<p><strong>Disable the “Enter” key in forms</strong></p>
<p>This fourth and last one’s not really about making your web page more responsive but I thought I’d include it anyway since I think that this can be a very helpful code to your web site’s visitors, especially if they’re viewing or filling up a form page. This <a href="http://snipplr.com/view/10943/disable-enter-via-jquery/" target="_blank">code</a> will prevent any unwanted or accidental form submission by disabling the function of the “Enter” key.</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="638" valign="top"><span style="color: #0000ff;"><strong>$(&#8220;#form&#8221;).keypress(function(e) {</strong></span>&nbsp;</p>
<p><span style="color: #0000ff;"><strong>if (e.which == 13) {</strong></span></p>
<p><span style="color: #0000ff;"><strong>return false;</strong></span></p>
<p><span style="color: #0000ff;"><strong>}</strong></span></p>
<p><span style="color: #0000ff;"><strong>});</strong></span></td>
</tr>
</tbody>
</table>
<p><em> </em><br />
<h4>Incoming search terms for the article:</h4>
<ul>
<li><a href="http://blogfreakz.com/wordpress-tutorial/5-jquery-snippets-for-a-more-responsive-web-page/" title="jquery responsive box">jquery responsive box</a></li>
<li><a href="http://blogfreakz.com/wordpress-tutorial/5-jquery-snippets-for-a-more-responsive-web-page/" title="responsive lightbox jquery">responsive lightbox jquery</a></li>
<li><a href="http://blogfreakz.com/wordpress-tutorial/5-jquery-snippets-for-a-more-responsive-web-page/" title="html5 jquery snippets">html5 jquery snippets</a></li>
<li><a href="http://blogfreakz.com/wordpress-tutorial/5-jquery-snippets-for-a-more-responsive-web-page/" title="jquery force older browsers to use Html5 tags">jquery force older browsers to use Html5 tags</a></li>
<li><a href="http://blogfreakz.com/wordpress-tutorial/5-jquery-snippets-for-a-more-responsive-web-page/" title="box jquery responsive web design">box jquery responsive web design</a></li>
<li><a href="http://blogfreakz.com/wordpress-tutorial/5-jquery-snippets-for-a-more-responsive-web-page/" title="jquery под responsive design box">jquery под responsive design box</a></li>
<li><a href="http://blogfreakz.com/wordpress-tutorial/5-jquery-snippets-for-a-more-responsive-web-page/" title="jquery 브라우저 이미지 캐쉬">jquery 브라우저 이미지 캐쉬</a></li>
<li><a href="http://blogfreakz.com/wordpress-tutorial/5-jquery-snippets-for-a-more-responsive-web-page/" title="lightbox jquery snippets for wordpress">lightbox jquery snippets for wordpress</a></li>
<li><a href="http://blogfreakz.com/wordpress-tutorial/5-jquery-snippets-for-a-more-responsive-web-page/" title="lightbox responsive">lightbox responsive</a></li>
<li><a href="http://blogfreakz.com/wordpress-tutorial/5-jquery-snippets-for-a-more-responsive-web-page/" title="lightbox responsive web">lightbox responsive web</a></li>
</ul>
<p><!-- SEO SearchTerms Tagging 2 Plugin --></p>
]]></content:encoded>
			<wfw:commentRss>http://blogfreakz.com/wordpress-tutorial/5-jquery-snippets-for-a-more-responsive-web-page/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

