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

<channel>
	<title>Web.Dtuts - Web Development Tutorials</title>
	<atom:link href="http://web.dtuts.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://web.dtuts.com</link>
	<description>Free Tutorials by Web Development</description>
	<lastBuildDate>Tue, 17 Jan 2012 14:07:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Giveaway: Premium Accounts on IdentyMe</title>
		<link>http://web.dtuts.com/freebies/giveaway-premium-accounts-on-identyme/</link>
		<comments>http://web.dtuts.com/freebies/giveaway-premium-accounts-on-identyme/#comments</comments>
		<pubDate>Tue, 18 Oct 2011 15:20:07 +0000</pubDate>
		<dc:creator>Stryker</dc:creator>
				<category><![CDATA[Challenges]]></category>
		<category><![CDATA[Freebies]]></category>
		<category><![CDATA[Competition]]></category>

		<guid isPermaLink="false">http://web.dtuts.com/?p=63</guid>
		<description><![CDATA[In this giveaway we offer two awards: “2 Years Premium Account: MAXIMUM ($478 in total)” and “2 Years Premium Account: Plus ($142 in total)”. Read on to see how you can win one of these excellent prizes and findout more about our sponsor. About IdentyMe IdentyMe is a service for making of virtual business cards. [...]]]></description>
			<content:encoded><![CDATA[<p>In this giveaway we offer two awards: “<strong>2 Years Premium Account: MAXIMUM</strong> ($478 in total)” and “<strong>2 Years Premium Account: Plus</strong> ($142 in total)”. Read on to see how you can win one of these excellent prizes and findout more about our sponsor. <span id="more-63"></span></p>
<h3>About IdentyMe</h3>
<p><a href="http://identyme.com/">IdentyMe</a> is a service for making of virtual business cards. Collect all your contacts in one place and create a portfolio. Share information with new people, find new friends and business partners.</p>
<p><a href="https://identyme.com/pricing"><img src="http://static.dtuts.com/3d/free/identyme_giveaway_premiums/identyme-main.png" alt="identyme" title="identyme-main" width="600" height="555" class="alignnone size-full wp-image-2992" /></a></p>
<h3>Examples of vcards on IdentyMe</h3>
<p>Check out these examples of vcards produced by IdentyMe.</p>
<p><a href="https://identyme.com/user/show/?username=&amp;theme_id=2"><img src="http://static.dtuts.com/3d/free/identyme_giveaway_premiums/identyme-ipad.jpg" alt="" title="identyme-ipad" width="600" height="424" class="alignnone size-full wp-image-2999" /></a></p>
<p><a href="https://identyme.com/user/show/?username=&#038;theme_id=5"><img src="http://static.dtuts.com/3d/free/identyme_giveaway_premiums/identyme-glass.jpg" alt="" title="identyme-glass" width="600" height="388" class="alignnone size-full wp-image-3000" /></a></p>
<p><a href="https://identyme.com/user/show/?username=&amp;theme_id=9"><img src="http://static.dtuts.com/3d/free/identyme_giveaway_premiums/identyme-box.jpg" alt="" title="identyme-box" width="600" height="319" class="alignnone size-full wp-image-3001" /></a></p>
<p><a href="https://identyme.com/user/show/?username=&amp;theme_id=12"><img src="http://static.dtuts.com/3d/free/identyme_giveaway_premiums/identyme-scientist.jpg" alt="" title="identyme-scientist" width="600" height="351" class="alignnone size-full wp-image-3002" /></a></p>
<p><a href="https://identyme.com/themes">See other themes</a>, which you can use for free with IdentyMe.</p>
<h3>Twitter</h3>
<p>Follow IdentyMe on <a href="http://twitter.com/IdentyMe">Twitter</a> (and <a href="http://facebook.com/IdentyMe">Facebook</a> as well).</p>
<h3>What You’ll Be Winning</h3>
<p>The award for the 1st winner is <strong>2 Years Premium Account: MAXIMUM</strong> ($478 in total) and the 2nd selected winner will get <strong>2 Years Premium Account: Plus</strong> ($142 in total).</p>
<h3>How to Win</h3>
<p>For a chance to win premium account on IdentyMe, simply <strong>post a comment</strong>.</p>
<h3>Giveaway Details</h3>
<p>The end of this giveaway is on <strong>Friday, October 24th, 2011</strong> and  after this date you won’t be able to leave a comment as the comments section will be closed. Make sure that the e-mail you write in a comment form is correct, otherwise we won’t be able to contact you if you win. You can leave only one comment. The winners will be randomly selected.</p>
<p>We will announce the winners of the giveaway on on a separate post and in order to be notified about the results you should to subscribe to our RSS feed. Please pay attention to the rules of leaving a comment because the comments that do not fulfill the requirements won’t be published.</p>
<div id="crp_related"><h3>Related Posts</h3><ul class="related-posts"><li><a href="http://web.dtuts.com/tutorials/constructor-theme-for-wordpress/" rel="bookmark"><img src="http://static.dtuts.com/web/tuts/constructor-theme-for-wordpress/header.jpg" alt="Constructor Theme for WordPress" title="Constructor Theme for WordPress" width="100" height="100" border="0" class="crp_thumb" /></a> </li><li><a href="http://web.dtuts.com/articles/awesome-chrome-extensions-for-web-developers/" rel="bookmark"><img src="http://static.dtuts.com/web/tuts/Chrome-Extensions-Web-Developers/header.jpg" alt="Awesome Chrome Extensions For Web Developers" title="Awesome Chrome Extensions For Web Developers" width="100" height="100" border="0" class="crp_thumb" /></a> </li><li><a href="http://web.dtuts.com/tutorials/how-to-create-a-progress-bar-with-html5-canvas/" rel="bookmark"><img src="http://static.dtuts.com/web/tuts/Progress-bar-HTML5-Canvas/header.jpg" alt="How to create a Progress bar with HTML5 Canvas" title="How to create a Progress bar with HTML5 Canvas" width="100" height="100" border="0" class="crp_thumb" /></a> </li><li><a href="http://web.dtuts.com/tutorials/how-to-write-a-simple-application-on-jquery-mobile/" rel="bookmark"><img src="http://static.dtuts.com/web/tuts/jQuery-Mobile/header.jpg" alt="How to write a simple application on jQuery Mobile" title="How to write a simple application on jQuery Mobile" width="100" height="100" border="0" class="crp_thumb" /></a> </li><li><a href="http://web.dtuts.com/tutorials/jquery-autocomplete/" rel="bookmark"><img src="http://static.dtuts.com/web/tuts/jquery-autocomplete/header.jpg" alt="jQuery AutoComplete" title="jQuery AutoComplete" width="100" height="100" border="0" class="crp_thumb" /></a> </li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://web.dtuts.com/freebies/giveaway-premium-accounts-on-identyme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>2D-Transformations with Cross-browser and Animation</title>
		<link>http://web.dtuts.com/articles/2d-transformations-with-cross-browser-and-animation/</link>
		<comments>http://web.dtuts.com/articles/2d-transformations-with-cross-browser-and-animation/#comments</comments>
		<pubDate>Fri, 12 Aug 2011 05:43:28 +0000</pubDate>
		<dc:creator>AndrewG</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[2D Transformations]]></category>
		<category><![CDATA[Animation]]></category>
		<category><![CDATA[Cross-browser]]></category>

		<guid isPermaLink="false">http://web.dtuts.com/?p=60</guid>
		<description><![CDATA[I’ve decided to make a review about an interesting plugin and at the same time give you some recommendations for its use. Plugin is called jQuery 2D Transformation Plugin. This plug-in allows you to apply 2D transformations in all CSS3 capable browsers as well as Internet Explorer. Below you can find the description of its [...]]]></description>
			<content:encoded><![CDATA[<p>I’ve decided to make a review about an interesting plugin and at the same time give you some recommendations for its use. Plugin is called <a href="https://github.com/heygrady/transform/wiki/">jQuery 2D Transformation Plugin</a>.<br />
This plug-in allows you to apply <a href="http://www.w3.org/TR/css3-2d-transforms/">2D transformations </a>in all CSS3 capable browsers as well as Internet Explorer.<span id="more-60"></span></p>
<p>Below you can find the description of its properties. Now let’s go back to the plugin itself. After connecting it, we can write things like:</p>
<pre class="brush: plain; title: ; notranslate">$('.example').click(function() {
    $(this).animate({rotate: '+=45deg'}, 'slow');
});</pre>
<p>Thus, when you click on the element it rotates on 45 °. You can specify the number of properties, such as:</p>
<pre class="brush: plain; title: ; notranslate">$('.example').click(function() {
    $(this).animate({
       rotate: '+=45deg',
       scale: [1.5, 1.5] //  and zoomed it in 1.5
    }, 'slow');
});</pre>
<h4>Animation chains</h4>
<p>The chains of animated transformations give us great opportunities to create some really cool things without using flash. But here we have two problems we can cope with and the third, a small one, which still remains.</p>
<p>First of all, on default jQuery has two types of easing: linear and swing. In most cases, to create beautiful animation chain linear animation is exactly what we need, but if it does not specified, jQuery will use swing. To do this we need to modify the code by adding the parameter «linear»:</p>
<pre class="brush: plain; title: ; notranslate">$('.example').click(function() {
    $(this).animate({
       rotate: '+=45deg',
       scale: [1.5, 1.5] // // X (width) and Y(height).
    }, 'slow', 'linear');
});</pre>
<p>I&#8217;m sure that many of you know how to make a chain animation, but I&#8217;ll explain anyway. To create animation chain we simply call the new function after describing the properties of the current animation:</p>
<pre class="brush: plain; title: ; notranslate">$('.example').click(function() {
    var exemple = $(this);
    exemple.animate({
       rotate: '+=45deg',
       scale: [1.5, 1.5]
    }, 'slow', 'linear', function(){
                exemple.animate({
                     rotate: '+=45deg', //I remind you that the entry + = in new jQuery versions means that we add new value to  the current.
                     scale: [1.5, 1.5]
                });
       });
});
</pre>
<p>The second problem is that the browsers (except Opera) are terribly slow with the drawing of the object that we transform, if we use translate, translateX or translateY in animation chains. All browsers display the first step normally, but the second and subsequent are entirely unpredictable, right up to the skipping of animation sections.<br />
<a href="http://static.dtuts.com/web/articles/Cross-browser-2D-Transformations-with-Animation/Demo-2.htm">Here&#8217;s what you get</a> (watch it in Chrome or Firefox).</p>
<p>You can overcome this, all you need is to use top, left, bottom or right instead of translates:</p>
<pre class="brush: plain; title: ; notranslate">$('.example').click(function() {
    $(this).animate({
       rotate: '+=45deg',
       scale: [1.5, 1.5] // // X (width) и Y(height).
       left: '+= 20px',
       top: '+=30px'
    }, 'slow', 'linear');
});</pre>
<p><a href="http://static.dtuts.com/web/articles/Cross-browser-2D-Transformations-with-Animation/Demo-1.htm">The final result</a> and <a href="http://jsfiddle.net/SDz4n/47/">another example, with a flying block with text inside</a>.</p>
<p>And the third problem is that IE 8.6 draws a black outline on the borders of transparency for transformations of png-images with transparency:<br />
<img src="http://static.dtuts.com/web/articles/Cross-browser-2D-Transformations-with-Animation/airplan.png" alt="airplan in Cross-browser 2D-Transformations with Animation" /></p>
<p>There is a rumor that the same thing happens with fonts, and that zoom: 1 repairs fonts. However, I’m not frustrated, because in IE9 everything is all right and a black outline of the old IE even looks stylish:) However, if anyone knows how to fix it, write!</p>
<h4>Cool stuff, bro!</h4>
<p>And finally, a list of CSS3 transforms&#8217; properties and plugin bonuses:</p>
<p>matrix: [1, 0, 0, 1, 0, 0] &#8211; Performs 2D transformation as the transformation matrix of six values.<br />
reflect: true — bonus feature, rotates the element on 180 °<br />
reflectX: true — bonus, reflects it upside down<br />
reflectY: true — bonus, simply reflects downward<br />
rotate: &#8217;45deg&#8217; —rotate<br />
<img src="http://static.dtuts.com/web/articles/Cross-browser-2D-Transformations-with-Animation/rotate(45deg).png" alt="rotate(45deg) in Cross-browser 2D-Transformations with Animation" /></p>
<p>skewX: &#8217;10deg, skewY: &#8217;10deg&#8217;, skew: ['10deg', '10deg'] — distortion in degrees. Below you can see how it looks<br />
<img src="http://static.dtuts.com/web/articles/Cross-browser-2D-Transformations-with-Animation/skewX.png" alt="skewX in Cross-browser 2D-Transformations with Animation" /></p>
<p>scale: [1.5, 1.5], scaleX: 1.5, scaleY: 1.5 – scaling<br />
<img src="http://static.dtuts.com/web/articles/Cross-browser-2D-Transformations-with-Animation/scale.png" alt="scale in Cross-browser 2D-Transformations with Animation" /></p>
<p>translate: ['20px ', '20px'], translateX: 20px &#8216;, translateY: &#8217;20px&#8217; &#8211; movement. Not recommended, better use left, right, top, bottom. In both cases it looks like this:<br />
<img src="http://static.dtuts.com/web/articles/Cross-browser-2D-Transformations-with-Animation/translateX.png" alt="translateX in Cross-browser 2D-Transformations with Animation" /></p>
<p>origin: ['20% ', '20%'] &#8211; used to determine a starting point for the transformation of the element. For example, when you apply rotate the starting point on default is the center of the element. But for values origin: 0 0 the upper left corner will be the starting point:<br />
<img src="http://static.dtuts.com/web/articles/Cross-browser-2D-Transformations-with-Animation/transform.png" alt="transform.png in Cross-browser 2D-Transformations with Animation" /></p>
<p>For some reason, in comments of the plugin file it is written: &#8211; transformOrigin is not accessible. But it should work. May be they simply didn&#8217;t realize it at once and then just forgot to remove the comments.</p>
<p><a href="http://www.useragentman.com/IETransformsTranslator/index.html">Here</a> you can view some of these properties in action, and get cross-browser code (eg for IE 6.8)(for some reason the site does not work properly in Opera). Just keep in mind that the site does not use IE9 in which these properties are prefixed with-ms-, and replaces it-ms-filter-matrix.</p>
<h3>You might also be interested in..</h3>
<p><a href="http://www.splashnology.com/article/sprite-animation-in-css3/1485/">Sprite animation in CSS3</a><br />
<a href="http://www.splashnology.com/article/css3-now-animation-transparency-and-more-part-2/1417/">CSS3 Now! Animation, Transparency, and more</a><br />
<a href="http://www.splashnology.com/article/timesaving-tools-and-services-for-web-developers/1433/">Timesaving Tools and Services for Web Developers</a><br />
<a href="http://www.splashnology.com/article/css3-now-transitions/1305/">CSS3 Now! Transitions</a></p>
<div id="crp_related"><h3>Related Posts</h3><ul class="related-posts"><li><a href="http://web.dtuts.com/tutorials/css3-transitions-and-2d-transforms/" rel="bookmark"><img src="http://static.dtuts.com/web/tuts/css3-transitions-2d-transforms/header.jpg" alt="CSS3 transitions and 2D transforms" title="CSS3 transitions and 2D transforms" width="100" height="100" border="0" class="crp_thumb" /></a> </li><li><a href="http://web.dtuts.com/tutorials/fixing-animation-in-jquery/" rel="bookmark"><img src="http://static.dtuts.com/web/tuts/fixing-animation-jquery/header.jpg" alt="Fixing animation in jQuery" title="Fixing animation in jQuery" width="100" height="100" border="0" class="crp_thumb" /></a> </li><li><a href="http://web.dtuts.com/tutorials/transitions-css3-now/" rel="bookmark"><img src="http://static.dtuts.com/web/articles/CSS3-Transitions/header.jpg" alt="Transitions CSS3 Now!" title="Transitions CSS3 Now!" width="100" height="100" border="0" class="crp_thumb" /></a> </li><li><a href="http://web.dtuts.com/articles/35-fresh-css3-articles-tutorials/" rel="bookmark"><img src="http://static.dtuts.com/web/tuts/35-Fresh-CSS3-Articles-Tutorials/header.jpg" alt="35 Fresh CSS3 Articles &#038; Tutorials" title="35 Fresh CSS3 Articles &#038; Tutorials" width="100" height="100" border="0" class="crp_thumb" /></a> </li><li><a href="http://web.dtuts.com/tutorials/how-to-create-a-progress-bar-with-html5-canvas/" rel="bookmark"><img src="http://static.dtuts.com/web/tuts/Progress-bar-HTML5-Canvas/header.jpg" alt="How to create a Progress bar with HTML5 Canvas" title="How to create a Progress bar with HTML5 Canvas" width="100" height="100" border="0" class="crp_thumb" /></a> </li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://web.dtuts.com/articles/2d-transformations-with-cross-browser-and-animation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Transitions CSS3 Now!</title>
		<link>http://web.dtuts.com/tutorials/transitions-css3-now/</link>
		<comments>http://web.dtuts.com/tutorials/transitions-css3-now/#comments</comments>
		<pubDate>Fri, 15 Jul 2011 09:44:45 +0000</pubDate>
		<dc:creator>Stryker</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[HTML and CSS]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[css3]]></category>

		<guid isPermaLink="false">http://web.dtuts.com/?p=58</guid>
		<description><![CDATA[CSS3 and HTML5 are developing faster and faster, browsers begin to support more new features. In this regard, I would like to make a series of review articles about these new technologies. In this cycle, I would like to consider such CSS3 properties like transition, animate, opacity and rgba () model. Using CSS3 You can [...]]]></description>
			<content:encoded><![CDATA[<p>CSS3 and HTML5 are developing faster and faster, browsers begin to support more new features. In this regard, I would like to make a series of review articles about these new technologies. In this cycle, I would like to consider such <strong>CSS3 properties</strong> like <strong>transition</strong>, animate, opacity and rgba () model.<span id="more-58"></span></p>
<h4>Using CSS3</h4>
<p>You can often hear many web designers say &#8220;I can&#8217;t wait, when it will be possible to use CSS3 ..&#8221;. In the meantime, you can use it today. Yes, the use of CSS3 for critical moments of the site is now impossible. But to use it to add small, non-critical parts for the project is feasible, possible and necessary.</p>
<p>For example: It looks really nice when the link on your site changes its color when you hover your mouse over it. Color varies greatly, with no smooth transition, but it does not affect the general appearance of the site, its usability. But the presence of a smooth transition of a color can serve as a little detail, which will make your site more vivid.</p>
<p>In this article we will have a look at CSS-property transition. All examples are for the webkit engine. Just below we consider cross-browser compatibility of these methods.</p>
<h4>Transition</h4>
<p>W3C gives the following definition of transitions:</p>
<blockquote><p>CSS Transitions allow property changes in CSS values to occur smoothly over a specified duration.</p>
<p>CSS Transitions let you assign changes of CSS properties gradually and over some time period.<br />
Let&#8217;s start with the simplest example &#8211; add a smooth transition of the reference&#8217;s background.</p></blockquote>
<p><a class="button blue glossy" href="http://azarechnev.ru/css3">Demo</a></p>
<p>The classic realization:</p>
<pre class="brush: php; title: ; notranslate">a.foo {
	padding: 5px 10px;
	background: #69f;
	color: #000;
	}
a.foo:hover {
	background: #33f;
	color: #fff;
	}</pre>
<p>If you hover the mouse over the link the background color will change from light blue to dark blue and the font color &#8211; from black to white. The ordinary situation. </p>
<p>Now let’s add the smooth transition of the background using CSS transitions:</p>
<pre class="brush: php; title: ; notranslate">a.foo {
	padding: 5px 10px;
	background: #69f;
	color: #000;
	-webkit-transition-property: background;
	-webkit-transition-duration: 0.5s;
	-webkit-transition-timing-function: ease;
	}
a.foo:hover {
	background: #33f;
	color: #fff;
	}</pre>
<p>Now our background smoothly changes its color over half a second! As with other properties of CSS, we can combine all the transition properties in one:</p>
<pre class="brush: php; title: ; notranslate">a.foo {
	padding: 5px 10px;
	background: #69f;
	color: #000;
	-webkit-transition: background 0.5s ease;
	}
a.foo:hover {
	background: #33f;
	color: #fff;
	}</pre>
<p>Now we’ll add a smooth changing of font color:</p>
<pre class="brush: php; title: ; notranslate">a.foo {
	padding: 5px 10px;
	background: #69f;
	color: #000;
	-webkit-transition: background 0.5s ease, color 0.3s ease;
	}
a.foo:hover {
	background: #33f;
	color: #fff;
	}
</pre>
<p>If you hover the mouse, the following code will gradually change the background color for half a second and the font color within 0.3 seconds. If we need the same properties for all elements, we can replace</p>
<pre class="brush: php; title: ; notranslate">-webkit-transition: background 0.5s ease;
-webkit-transition: color 0.3s ease;</pre>
<p>with</p>
<pre class="brush: php; title: ; notranslate">-webkit-transition: all 0.5s ease;</pre>
<p>Now Transition-effect will be applied to all the changing properties of an event and with the same parameters &#8211; 0.5 seconds, ease-effect.<br />
 Also, we can add a delay to the effect:</p>
<pre class="brush: php; title: ; notranslate">a.foo {
	padding: 5px 10px;
	background: #69f;
	color: #000;
	-webkit-transition: all 0.5s ease;
	-webkit-transition-delay: 0.5s;
	}
a.foo:hover {
	background: #33f;
	color: #fff;
	}</pre>
<p>Now, our animation will run in half a second after hovering the mouse.<br />
You can apply transition property to anything &#8211; the background color, length, font size, etc. This is mainly properties that specify the color or properties that can be expressed in units of length (px, em, ex) or percentage. As an event we can also use pseudo: focus and: active. Actually &#8211; you can use the transition with any selectors.</p>
<p>The final summary table:</p>
<table class="mycode">
<style type="text/css">
<!--
table.mycode td {
  border-bottom-color:#CCCCCC;
  border-bottom-style:solid;
  border-bottom-width:1px;
  border-left-color:#CCCCCC;
  border-left-style:solid;
  border-left-width:1px;
  border-right-color:#CCCCCC;
  border-right-style:solid;
  border-right-width:1px;
  border-top-color:#CCCCCC;
  border-top-style:solid;
  border-top-width:1px;
  padding-bottom:0.3em;
  padding-left:0.3em;
  padding-right:0.3em;
  padding-top:0.3em;
}
-->
</style>
<tbody>
<tr>
<td>transition-property</td>
<td>The property to which we apply the animation</td>
<td>Virtually any property of CSS: color, background, width, font-size etc.</td>
</tr>
<tr>
<td>transition-duration</td>
<td>Duration of the animation</td>
<td>Time in seconds: 0.5s &#8211; half a second, 60s &#8211; one minute, etc.</td>
</tr>
<tr>
<td>transition-timing-function</td>
<td>Temporary  function that is used for animation</td>
<td>ease, linear, ease-in-out, ease-in, ease-out, cubic-bezier</td>
</tr>
<tr>
<td>transition-delay</td>
<td>Delay of the animation</td>
<td>Time in seconds: 0.5s &#8211; half a second, 60s &#8211; one minute, etc.</td>
</tr>
</tbody>
</table>
<h4>Browsers</h4>
<p>Chrome, Safari, Opera 10.5+, Firefox 4+</p>
<p>In this article the rules for WebKit-browser were used with the prefix. Do not forget to add in your projects, vendors prefix -moz- and -o-. On the example page, you can spy a cross-browser code (without IE, of course).</p>
<p><a class="button blue glossy" href="http://azarechnev.ru/css3">Demo</a></p>
<div id="crp_related"><h3>Related Posts</h3><ul class="related-posts"><li><a href="http://web.dtuts.com/tutorials/css3-transitions-and-2d-transforms/" rel="bookmark"><img src="http://static.dtuts.com/web/tuts/css3-transitions-2d-transforms/header.jpg" alt="CSS3 transitions and 2D transforms" title="CSS3 transitions and 2D transforms" width="100" height="100" border="0" class="crp_thumb" /></a> </li><li><a href="http://web.dtuts.com/articles/scss-%e2%80%94-a-new-icing-from-sass/" rel="bookmark"><img src="http://static.dtuts.com/web/tuts/sass/header.jpg" alt="SCSS — a new icing from Sass" title="SCSS — a new icing from Sass" width="100" height="100" border="0" class="crp_thumb" /></a> </li><li><a href="http://web.dtuts.com/tutorials/cross-browser-box-shadow/" rel="bookmark"><img src="http://static.dtuts.com/web/misc/css-box.jpg" alt="Quick Tip: Cross-browser box-shadow" title="Quick Tip: Cross-browser box-shadow" width="100" height="100" border="0" class="crp_thumb" /></a> </li><li><a href="http://web.dtuts.com/articles/35-fresh-css3-articles-tutorials/" rel="bookmark"><img src="http://static.dtuts.com/web/tuts/35-Fresh-CSS3-Articles-Tutorials/header.jpg" alt="35 Fresh CSS3 Articles &#038; Tutorials" title="35 Fresh CSS3 Articles &#038; Tutorials" width="100" height="100" border="0" class="crp_thumb" /></a> </li><li><a href="http://web.dtuts.com/tutorials/jquery-autocomplete/" rel="bookmark"><img src="http://static.dtuts.com/web/tuts/jquery-autocomplete/header.jpg" alt="jQuery AutoComplete" title="jQuery AutoComplete" width="100" height="100" border="0" class="crp_thumb" /></a> </li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://web.dtuts.com/tutorials/transitions-css3-now/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>30 Helpful Tutorials How to Creating HTML5/CSS3 Forms</title>
		<link>http://web.dtuts.com/tutorials/30-helpful-tutorials-how-to-creating-html5css3-forms/</link>
		<comments>http://web.dtuts.com/tutorials/30-helpful-tutorials-how-to-creating-html5css3-forms/#comments</comments>
		<pubDate>Thu, 07 Jul 2011 09:42:47 +0000</pubDate>
		<dc:creator>AndrewG</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[HTML and CSS]]></category>
		<category><![CDATA[Round up]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Creating]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[Forms]]></category>
		<category><![CDATA[HTML5]]></category>

		<guid isPermaLink="false">http://web.dtuts.com/?p=56</guid>
		<description><![CDATA[Web forms are very helpful in interaction between a web site and the users. It should be simple, functional, and beautiful. So, whether you are going to add contact us form or sign up form, there is no doubt, that with CSS3 you’ll create something creative and special with its great specifications such as box-shadow, [...]]]></description>
			<content:encoded><![CDATA[<p>Web forms are very helpful in interaction between a web site and the users. It should be simple, functional, and beautiful. So, whether you are going to add contact us form or sign up form, there is no doubt, that with CSS3 you’ll create something creative and special with its great specifications such as box-shadow, text-shadow, transition, etc.. You should definitely check out the tutorials on <strong>creating HTML5/CSS3 Forms</strong> we’ve complied for you.<span id="more-56"></span></p>
<h4><a href="http://net.tutsplus.com/tutorials/html-css-techniques/design-a-prettier-web-form-with-css-3/">Design a Prettier Web Form with CSS 3</a></h4>
<p><a href="http://net.tutsplus.com/tutorials/html-css-techniques/design-a-prettier-web-form-with-css-3/"><img src="http://static.dtuts.com/web/articles/CSS3-forms/01.jpg" alt="Design a Prettier Web Form with CSS 3 in Creating HTML5/CSS3 Forms: 30 Helpful Tutorials" /></a><br />
<a class="button blue glossy" href="http://d2o0t5hpnwv4c1.cloudfront.net/584_form/demo.html">Demo</a> <a class="button orange glossy" href="http://d2o0t5hpnwv4c1.cloudfront.net/584_form/demo.zip">Download</a></p>
<h4><a href="http://kaylarose.github.com/Glowform/">Glowform by <a href="http://github.com/kaylarose/Glowform">kaylarose</a></a></h4>
<p><a href="http://kaylarose.github.com/Glowform/"><img src="http://static.dtuts.com/web/articles/CSS3-forms/02.jpg" alt="Glowform by kaylarose in Creating HTML5/CSS3 Forms: 30 Helpful Tutorials" /></a><br />
<a class="button blue glossy" href="http://kaylarose.github.com/Glowform/">Demo</a> <a class="button orange glossy" href="http://github.com/kaylarose/Glowform/zipball/master">Download</a></p>
<h4><a href="http://gazpo.com/2011/02/form/">Clean and Stylish CSS3 Form</a></h4>
<p><a href="http://gazpo.com/2011/02/form/"><img src="http://static.dtuts.com/web/articles/CSS3-forms/03.jpg" alt="Clean and Stylish CSS3 Form in Creating HTML5/CSS3 Forms: 30 Helpful Tutorials" /></a><br />
<a class="button blue glossy" href="http://gazpo.com/gazpo-files/tut8-css3form/form.html">Demo</a> <a class="button orange glossy" href="http://gazpo.com/gazpo-files/tut8-css3form/form.zip">Download</a></p>
<h4><a href="http://webexpedition18.com/articles/how-to-create-a-multi-step-signup-form-with-css3-and-jquery/">How to Create A Multi-Step Signup Form With CSS3 and jQuery</a></h4>
<p><a href="http://webexpedition18.com/articles/how-to-create-a-multi-step-signup-form-with-css3-and-jquery/"><img src="http://static.dtuts.com/web/articles/CSS3-forms/04.jpg" alt="How to Create A Multi-Step Signup Form With CSS3 and jQuery in Creating HTML5/CSS3 Forms: 30 Helpful Tutorials" /><a class="button orange glossy" href="http://blog.webexpedition18.netdna-cdn.com/wp-content/uploads/2010/11/signup_form_WebExpedition18.zip">Download</a></p>
<h4><a href="http://tutorialzine.com/2010/04/carbon-signup-form/">Carbon Fiber Signup Form With PHP, jQuery and CSS3</a></h4>
<p><a href="http://tutorialzine.com/2010/04/carbon-signup-form/"><img src="http://static.dtuts.com/web/articles/CSS3-forms/05.jpg" alt="Carbon Fiber Signup Form With PHP, jQuery and CSS3 in Creating HTML5/CSS3 Forms: 30 Helpful Tutorials" /></a><br />
<a class="button blue glossy" href="http://demo.tutorialzine.com/2010/04/carbon-signup-form/demo.html">Demo</a> <a class="button orange glossy" href="http://demo.tutorialzine.com/2010/04/carbon-signup-form/demo.zip">Download</a></p>
<h4><a href="http://net.tutsplus.com/tutorials/html-css-techniques/how-to-build-cross-browser-html5-forms/">How to Build Cross-Browser HTML5 Forms</a></h4>
<p><a href="http://net.tutsplus.com/tutorials/html-css-techniques/how-to-build-cross-browser-html5-forms/"><img src="http://static.dtuts.com/web/articles/CSS3-forms/06.jpg" alt="How to Build Cross-Browser HTML5 Forms in Creating HTML5/CSS3 Forms: 30 Helpful Tutorials" /></a><br />
<a class="button blue glossy" href="http://nettuts.s3.amazonaws.com/881_html5Forms/demo/demo.html">Demo</a> <a class="button orange glossy" href="http://nettuts.s3.amazonaws.com/881_html5Forms/demo.zip">Download</a></p>
<h4><a href="http://line25.com/tutorials/create-a-stylish-contact-form-with-html5-css3">Create a Stylish Contact Form with HTML5 &#038; CSS3</a></h4>
<p><a href="http://line25.com/tutorials/create-a-stylish-contact-form-with-html5-css3"><img src="http://static.dtuts.com/web/articles/CSS3-forms/07.jpg" alt="Create a Stylish Contact Form with HTML5 &#038; CSS3 in Creating HTML5/CSS3 Forms: 30 Helpful Tutorials" /></a><br />
<a class="button blue glossy" href="http://line25.com/wp-content/uploads/2011/form/demo/index.html">Demo</a></p>
<h4><a href="http://bbxdesign.com/2010/03/24/tutoriel-formulaire-css3-sans-image-sans-javascript/">CSS3 form without images and JavaScript</a></h4>
<p><a href="http://bbxdesign.com/2010/03/24/tutoriel-formulaire-css3-sans-image-sans-javascript/"><img src="http://static.dtuts.com/web/articles/CSS3-forms/08.jpg" alt="CSS3 form without images and JavaScript in Creating HTML5/CSS3 Forms: 30 Helpful Tutorials" /></a><br />
<a class="button blue glossy" href="http://bbxdesign.com/wp-content/uploads/html/formulaire-css3.html">Demo</a></p>
<h4><a href="http://webdesignerwall.com/tutorials/beautiful-css3-search-form">Beautiful CSS3 Search Form</a></h4>
<p><a href="http://webdesignerwall.com/tutorials/beautiful-css3-search-form"><img src="http://static.dtuts.com/web/articles/CSS3-forms/09.jpg" alt="Beautiful CSS3 Search Form in Creating HTML5/CSS3 Forms: 30 Helpful Tutorials" /></a><br />
<a class="button blue glossy" href="http://www.webdesignerwall.com/demo/css3-search-form.html">Demo</a> </p>
<h4><a href="http://www.threestyles.com/tutorials/css3-login-form-tutorial/"></a>Create a Slick CSS3 Login Form NO IMAGES ALLOWED</h4>
<p><a href="http://www.threestyles.com/tutorials/css3-login-form-tutorial/"><img src="http://static.dtuts.com/web/articles/CSS3-forms/10.jpg" alt="Create a Slick CSS3 Login Form NO IMAGES ALLOWED in Creating HTML5/CSS3 Forms: 30 Helpful Tutorials" /></a><br />
<a class="button blue glossy" href="http://www.threestyles.com/CSS3-login-form.html">Demo</a></p>
<h4><a href="http://addyosmani.com/blog/formbox/">FormBox – A jQuery &#038; CSS3 Drop-Down Menu With Integrated Forms</a></h4>
<p><a href="http://addyosmani.com/blog/formbox/"><img src="http://static.dtuts.com/web/articles/CSS3-forms/11.jpg" alt="FormBox – A jQuery &#038; CSS3 Drop-Down Menu With Integrated Forms in Creating HTML5/CSS3 Forms: 30 Helpful Tutorials" /></a><br />
<a class="button blue glossy" href="http://www.addyosmani.com/resources/formbox/release2">Demo</a> <a class="button orange glossy" href="http://www.addyosmani.com/resources/formbox/release2/formbox.zip">Download</a></p>
<h4><a href="http://thinkvitamin.com/code/fun-with-html5-forms/">Fun with HTML5 Forms</a></h4>
<p><a href="http://thinkvitamin.com/code/fun-with-html5-forms/"><img src="http://static.dtuts.com/web/articles/CSS3-forms/12.jpg" alt="Fun with HTML5 Forms in Creating HTML5/CSS3 Forms: 30 Helpful Tutorials" /></a><br />
<a class="button blue glossy" href="http://richardshepherd.com/tv/forms/">Demo</a></p>
<h4><a href="http://www.wearepixel8.com/blog/style-form-using-css3/">Styling a Simple Form using CSS3</a></h4>
<p><a href="http://www.wearepixel8.com/blog/style-form-using-css3/"><img src="http://static.dtuts.com/web/articles/CSS3-forms/13.jpg" alt="Styling a Simple Form using CSS3 in Creating HTML5/CSS3 Forms: 30 Helpful Tutorials" /></a><br />
<a class="button blue glossy" href="http://www.wearepixel8.com/demos/css3-webform/">Demo</a></p>
<h4><a href="http://legendthemes.com/2010/04/10/designing-modern-web-forms-with-html-5-and-css3/">Designing Modern Web Forms with HTML 5 and CSS3</a></h4>
<p><a href="http://legendthemes.com/2010/04/10/designing-modern-web-forms-with-html-5-and-css3/"><img src="http://static.dtuts.com/web/articles/CSS3-forms/14.jpg" alt="Designing Modern Web Forms with HTML 5 and CSS3 in Creating HTML5/CSS3 Forms: 30 Helpful Tutorials" /></a><br />
<a class="button blue glossy" href="http://legendthemes.com/demos/Modern-Form-Design/form.html">Demo</a> <a class="button orange glossy" href="http://legendthemes.com/demos/Modern-Form-Design/Modern-Form-Design.zip">Download</a></p>
<h4><a href="http://www.vooshthemes.com/blog/design-tutorial/create-a-clean-and-stylish-css3-contact-form/">Create A Clean and Stylish CSS3 Contact Form</a></h4>
<p><a href="http://www.vooshthemes.com/blog/design-tutorial/create-a-clean-and-stylish-css3-contact-form/"><img src="http://static.dtuts.com/web/articles/CSS3-forms/15.jpg" alt="Create A Clean and Stylish CSS3 Contact Form in Creating HTML5/CSS3 Forms: 30 Helpful Tutorials" /></a><br />
<a class="button blue glossy" href="http://www.vooshthemes.com/demos/css3-contact-form/css3-contact-form.html">Demo</a> <a class="button orange glossy" href="http://www.vooshthemes.com/demos/css3-contact-form/css3-contact-form.zip">Download</a></p>
<h4><a href="http://www.1stwebdesigner.com/tutorials/neon-blink-effect-forms-css3-jquery/">Creating a Neon Blink Effect for your Forms using CSS3 and jQuery</a></h4>
<p><a href="http://www.1stwebdesigner.com/tutorials/neon-blink-effect-forms-css3-jquery/"><img src="http://static.dtuts.com/web/articles/CSS3-forms/16.jpg" alt="Creating a Neon Blink Effect for your Forms using CSS3 and jQuery in Creating HTML5/CSS3 Forms: 30 Helpful Tutorials" /></a><br />
<a class="button blue glossy" href="http://cdn1.1stwebdesigner.com/wp-content/uploads/2010/07/neonblink/source-code/index.html">Demo</a> <a class="button orange glossy" href="http://cdn1.1stwebdesigner.com/wp-content/uploads/2010/07/neonblink.zip">Download</a></p>
<h4><a href="http://www.devseo.co.uk/examples/beautiful-css3-form/">Beautiful Form With CSS3</a></h4>
<p><a href="http://www.devseo.co.uk/examples/beautiful-css3-form/"><img src="http://static.dtuts.com/web/articles/CSS3-forms/17.jpg" alt=" in Creating HTML5/CSS3 Forms: 30 Helpful Tutorials" /></a><br />
<a class="button blue glossy" href="http://www.devseo.co.uk/examples/beautiful-css3-form/">Demo</a></p>
<h4><a href="http://37signals.com/svn/posts/2609-customizing-web-forms-with-css3-and-webkit">Customizing web forms with CSS3 and WebKit</a></h4>
<p><a href="http://37signals.com/svn/posts/2609-customizing-web-forms-with-css3-and-webkit"><img src="http://static.dtuts.com/web/articles/CSS3-forms/18.jpg" alt="Customizing web forms with CSS3 and WebKit in Creating HTML5/CSS3 Forms: 30 Helpful Tutorials" /></a><br />
<a class="button blue glossy" href="http://s3.amazonaws.com/37assets/svn/480-custom_forms.html">Demo</a></p>
<h4><a href="http://www.sendesignz.com/index.php/css/104-designing-contact-form-in-css3-and-html5">Designing Contact form in CSS3 and HTML5</a></h4>
<p><a href="http://www.sendesignz.com/index.php/css/104-designing-contact-form-in-css3-and-html5"><img src="http://static.dtuts.com/web/articles/CSS3-forms/19.jpg" alt="Designing Contact form in CSS3 and HTML5 in Creating HTML5/CSS3 Forms: 30 Helpful Tutorials" /></a><br />
<a class="button blue glossy" href="http://www.sendesignz.com/Demo/CSS/ContactForm/css3.html">Demo</a> </p>
<h4><a href="http://designwoop.com/labs/form/">Create a Clean and Stylish Login Form With HTML5 and CSS3</a></h4>
<p><a href="http://designwoop.com/labs/form/"><img src="http://static.dtuts.com/web/articles/CSS3-forms/20.jpg" alt="Create a Clean and Stylish Login Form With HTML5 and CSS3 in Creating HTML5/CSS3 Forms: 30 Helpful Tutorials" /></a><br />
<a class="button blue glossy" href="http://designwoop.com/labs/form/">Demo</a> </p>
<h4><a href="http://www.tangledindesign.com/blog/how-to-create-a-contact-form-using-html5-css3-and-php/">How to Create a Contact Form using HTML5, CSS3 and PHP</a></h4>
<p><a href="http://www.tangledindesign.com/blog/how-to-create-a-contact-form-using-html5-css3-and-php/"><img src="http://static.dtuts.com/web/articles/CSS3-forms/21.jpg" alt="How to Create a Contact Form using HTML5, CSS3 and PHP in Creating HTML5/CSS3 Forms: 30 Helpful Tutorials" /></a><br />
<a class="button blue glossy" href="http://www.tangledindesign.com/blog/demos/contact-form">Demo</a> <a class="button orange glossy" href="http://www.tangledindesign.com/blog/demos/contact-form/main.css">Download</a></p>
<h4><a href="http://breakthenetwork.com/2011/01/04/slick-css-form/">Free slick css form</a></h4>
<p><a href="http://breakthenetwork.com/2011/01/04/slick-css-form/"><img src="http://static.dtuts.com/web/articles/CSS3-forms/22.jpg" alt="Free slick css form in Creating HTML5/CSS3 Forms: 30 Helpful Tutorials" /></a><br />
<a class="button blue glossy" href="http://breakthenetwork.com/demos/css-form/">Demo</a> <a class="button orange glossy" href="http://breakthenetwork.com/downloads/css-form/css-form.rar">Download</a></p>
<h4><a href="http://www.bradshawenterprises.com/blog/2010/fancy-forms-html5-css3-js/">HTML5 and CSS3 fancy form</a></h4>
<p><a href="http://www.bradshawenterprises.com/blog/2010/fancy-forms-html5-css3-js/"><img src="http://static.dtuts.com/web/articles/CSS3-forms/23.jpg" alt=" in Creating HTML5/CSS3 Forms: 30 Helpful Tutorials" /></a><br />
<a class="button blue glossy" href="http://bradshawenterprises.com/tests/formdemo.php">Demo</a></p>
<h4><a href="http://www.red-team-design.com/html5-css3-envelope-contact-form">HTML5 &#038; CSS3 envelope contact form</a></h4>
<p><a href="http://www.red-team-design.com/html5-css3-envelope-contact-form"><img src="http://static.dtuts.com/web/articles/CSS3-forms/24.jpg" alt="HTML5 &#038; CSS3 envelope contact form in Creating HTML5/CSS3 Forms: 30 Helpful Tutorials" /></a><br />
<a class="button blue glossy" href="http://www.red-team-design.com/wp-content/uploads/2011/05/html5-css3-envelope-contact-form-demo.html">Demo</a></p>
<h4><a href="http://weebtutorials.com/2011/06/create-an-appealing-form-using-some-simple-css3/">Create an appealing form using some simple CSS3</a></h4>
<p><a href="http://weebtutorials.com/2011/06/create-an-appealing-form-using-some-simple-css3/"><img src="http://static.dtuts.com/web/articles/CSS3-forms/25.jpg" alt="Create an appealing form using some simple CSS3 in Creating HTML5/CSS3 Forms: 30 Helpful Tutorials" /></a></p>
<h4><a href="http://www.broken-links.com/2011/06/16/styling-html5-form-validation-errors/">Styling HTML5 Form Validation Errors</a></h4>
<p><a href="http://www.broken-links.com/2011/06/16/styling-html5-form-validation-errors/"><img src="http://static.dtuts.com/web/articles/CSS3-forms/26.jpg" alt=" in Creating HTML5/CSS3 Forms: 30 Helpful Tutorials" /></a><br />
<a class="button blue glossy" href="http://www.broken-links.com/tests/html5forms/">Demo</a></p>
<h4><a href="http://codepixelz.com/html5/designing-form-using-html5-and-css3/">Designing Form in HTML5 and CSS3</a></h4>
<p><a href="http://codepixelz.com/html5/designing-form-using-html5-and-css3/"><img src="http://static.dtuts.com/web/articles/CSS3-forms/27.jpg" alt="Designing Form in HTML5 and CSS3 in Creating HTML5/CSS3 Forms: 30 Helpful Tutorials" /></a><br />
<a class="button blue glossy" href="">Demo</a> <a class="button orange glossy" href="http://codepixelz.com/wp-content/uploads/2011/04/html5-form.zip">Download</a></p>
<h4><a href="http://www.pageresource.com/html5/form-with-css/">HTML5 Form with CSS</a></h4>
<p><a href="http://www.pageresource.com/html5/form-with-css/"><img src="http://static.dtuts.com/web/articles/CSS3-forms/28.jpg" alt="HTML5 Form with CSS in Creating HTML5/CSS3 Forms: 30 Helpful Tutorials" /></a></p>
<h4><a href="http://azadcreative.com/2010/11/designing-search-boxes-html5-css3/">Designing Search Boxes with HTML5 and CSS3</a></h4>
<p><a href="http://azadcreative.com/2010/11/designing-search-boxes-html5-css3/"><img src="http://static.dtuts.com/web/articles/CSS3-forms/29.jpg" alt="Designing Search Boxes with HTML5 and CSS3 in Creating HTML5/CSS3 Forms: 30 Helpful Tutorials" /></a></p>
<h4><a href="http://www.impressivewebs.com/html5-form-attribute/">HTML5′s New “form” Attribute</a></h4>
<p><a href="http://www.impressivewebs.com/html5-form-attribute/"><img src="http://static.dtuts.com/web/articles/CSS3-forms/30.jpg" alt="HTML5′s New “form” Attribute in Creating HTML5/CSS3 Forms: 30 Helpful Tutorials" /><a class="button blue glossy" href="http://www.impressivewebs.com/demo-files/html5-form-attribute/">Demo</a></p>
<h3>Bonus</h3>
<h4><a href="http://www.route66solutions.com/formbuilder/">HTML5 formbuilder</a></h4>
<p><a href="http://www.route66solutions.com/formbuilder/"><img src="http://static.dtuts.com/web/articles/CSS3-forms/31.jpg" alt="HTML5 formbuilder in Creating HTML5/CSS3 Forms: 30 Helpful Tutorials" /></p>
<div id="crp_related"><h3>Related Posts</h3><ul class="related-posts"><li><a href="http://web.dtuts.com/tutorials/useful-html5-css3-toolbox-for-web-developers/" rel="bookmark"><img src="http://static.dtuts.com/web/tuts/HTML5-CSS3-Toolbox/header.jpg" alt="Useful HTML5 &#038; CSS3 Toolbox For Web Developers" title="Useful HTML5 &#038; CSS3 Toolbox For Web Developers" width="100" height="100" border="0" class="crp_thumb" /></a> </li><li><a href="http://web.dtuts.com/articles/50-jquery-and-javascript-tutorials-fresh/" rel="bookmark"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/header.jpg" alt="50 jQuery and JavaScript Tutorials [Fresh]" title="50 jQuery and JavaScript Tutorials [Fresh]" width="100" height="100" border="0" class="crp_thumb" /></a> </li><li><a href="http://web.dtuts.com/articles/15-handy-html5css3-frameworks-for-web-developers/" rel="bookmark"><img src="http://static.dtuts.com/web/tuts/CSS-Frameworks/header.jpg" alt="15 Handy HTML5/CSS3 Frameworks For Web Developers" title="15 Handy HTML5/CSS3 Frameworks For Web Developers" width="100" height="100" border="0" class="crp_thumb" /></a> </li><li><a href="http://web.dtuts.com/tutorials/50-useful-css3-tutorials/" rel="bookmark"><img src="http://static.dtuts.com/web/tuts/50-Useful-CSS3-Tutorials/header.jpg" alt="50 Useful CSS3 Tutorials" title="50 Useful CSS3 Tutorials" width="100" height="100" border="0" class="crp_thumb" /></a> </li><li><a href="http://web.dtuts.com/tutorials/50-jquery-tutorials-and-techniques/" rel="bookmark"><img src="http://static.dtuts.com/web/tuts/50-jQuery-Tutorials-And-Techniques/header.jpg" alt="50 jQuery Tutorials And Techniques" title="50 jQuery Tutorials And Techniques" width="100" height="100" border="0" class="crp_thumb" /></a> </li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://web.dtuts.com/tutorials/30-helpful-tutorials-how-to-creating-html5css3-forms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>50 jQuery and JavaScript Tutorials [Fresh]</title>
		<link>http://web.dtuts.com/articles/50-jquery-and-javascript-tutorials-fresh/</link>
		<comments>http://web.dtuts.com/articles/50-jquery-and-javascript-tutorials-fresh/#comments</comments>
		<pubDate>Fri, 24 Jun 2011 09:29:53 +0000</pubDate>
		<dc:creator>AndrewG</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://web.dtuts.com/?p=55</guid>
		<description><![CDATA[jQuery has many Ajax and Javascript features that allow you to enhance user experience and semantic coding and it has captivated everyone’s attention by its fast and concise JavaScript Library that simplifies event handling, animating, HTML document traversing and Ajax interactions for speedy web development. In this post we present you 50 fresh JavaScript &#038; [...]]]></description>
			<content:encoded><![CDATA[<p>jQuery has many Ajax and Javascript features that allow you to enhance user experience and semantic coding and it has captivated everyone’s attention by its fast and concise JavaScript Library that simplifies event handling, animating, HTML document traversing and Ajax interactions for speedy web development. In this post we present you 50 fresh JavaScript &#038; jQuery tutorials that might be useful to you.<span id="more-55"></span></p>
<h4><a href="http://net.tutsplus.com/tutorials/javascript-ajax/the-10-javascript-mistakes-youre-making/">The 11 JavaScript Mistakes you&#8217;re Making</a></h4>
<p><a href="http://net.tutsplus.com/tutorials/javascript-ajax/the-10-javascript-mistakes-youre-making/"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/01.jpg" alt="The 11 JavaScript Mistakes you're Making in JavaScript and jQuery: 50 New Tutorials" /></a></p>
<h4><a href="http://javascriptatoms.com/2011/05/image-control-manipulation-in-javascript/">Image Control Manipulation in JavaScript</a></h4>
<p><a href="http://javascriptatoms.com/2011/05/image-control-manipulation-in-javascript/"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/02.jpg" alt="Image Control Manipulation in JavaScript in JavaScript and jQuery: 50 New Tutorials" /></a><a class="button orange glossy" href="http://javascriptatoms.com/AtomsNetwork/Files/1631/JSImageTut.zip">Download</a></p>
<h4><a href="http://javascriptatoms.com/2011/05/how-to-speed-up-page-loading-with-lazy-loading-jquery-and-javascript/">How to Speed Up Page Loading With Lazy Loading JQuery and JavaScript</a></h4>
<p><a href="http://javascriptatoms.com/2011/05/how-to-speed-up-page-loading-with-lazy-loading-jquery-and-javascript/"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/03.jpg" alt="How to Speed Up Page Loading With Lazy Loading JQuery and JavaScript in JavaScript and jQuery: 50 New Tutorials" /></a><a class="button orange glossy" href="http://javascriptatoms.com/AtomsNetwork/Files/1791/LazyLoadingJQueryTut.zip">Download</a></p>
<h4><a href="http://www.jquery.wisdomplug.com/jquery-plugins/jquery-forms-plugins-jquery-plugins/a-guide-to-creating-forms-in-jquery/">A Guide To Creating Forms In jQuery</a></h4>
<p><a href="http://www.jquery.wisdomplug.com/jquery-plugins/jquery-forms-plugins-jquery-plugins/a-guide-to-creating-forms-in-jquery/"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/04.jpg" alt="A Guide To Creating Forms In jQuery in JavaScript and jQuery: 50 New Tutorials" /></a></p>
<h4><a href="http://webdesignerwall.com/tutorials/animated-scroll-to-top">Animated Scroll to Top </a></h4>
<p><a href="http://webdesignerwall.com/tutorials/animated-scroll-to-top"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/05.jpg" alt="Animated Scroll to Top in JavaScript and jQuery: 50 New Tutorials" /></a><a class="button blue glossy" href="http://webdesignerwall.com/demo/scroll-to-top/scrolltotop-step1.html">Demo</a></p>
<h4><a href="http://javascriptatoms.com/2011/04/adding-html-elements-dynamically-via-javascript-2/">Adding HTML Elements Dynamically via JavaScript</a></h4>
<p><a href="http://javascriptatoms.com/2011/04/adding-html-elements-dynamically-via-javascript-2/"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/06.jpg" alt="Adding HTML Elements Dynamically via JavaScript in JavaScript and jQuery: 50 New Tutorials" /></a><a class="button orange glossy" href="http://javascriptatoms.com/AtomsNetwork/Files/364/dynamic%20DOM%20elements.zip">Download</a></p>
<h4><a href="http://d-zig.com/Desc.aspx?item=74">Analog JQuery clock</a></h4>
<p><a href="http://d-zig.com/Desc.aspx?item=74"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/07.jpg" alt="Analog JQuery clock in JavaScript and jQuery: 50 New Tutorials" /></a><a class="button blue glossy" href="http://d-zig.com/demo/46e3ec48-0f71-4615-8798-61cd83266659">Demo</a><a class="button orange glossy" href="http://d-zig.com/Desc.aspx?item=74#">Download</a></p>
<h4><a href="http://nice-tutorials.blogspot.com/2011/06/learn-how-to-detect-browser-in.html">Learn how to detect browser in javascript</a></h4>
<p><a href="http://nice-tutorials.blogspot.com/2011/06/learn-how-to-detect-browser-in.html"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/08.jpg" alt="Learn how to detect browser in javascript in JavaScript and jQuery: 50 New Tutorials" /></a></p>
<h4><a href="http://nice-tutorials.blogspot.com/2011/05/how-to-get-missing-leading-zero-while.html">How to get missing leading zero while conversion of number to string in javascript</a></h4>
<p><a href="http://nice-tutorials.blogspot.com/2011/05/how-to-get-missing-leading-zero-while.html"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/09.jpg" alt="How to get missing leading zero while conversion of number to string in javascript in JavaScript and jQuery: 50 New Tutorials" /></a></p>
<h4><a href="http://nice-tutorials.blogspot.com/2011/04/learn-how-to-create-div-element.html">Learn how to create div element dynamically by using javascript</a></h4>
<p><a href="http://nice-tutorials.blogspot.com/2011/04/learn-how-to-create-div-element.html"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/10.jpg" alt="Learn how to create div element dynamically by using javascript in JavaScript and jQuery: 50 New Tutorials" /></a></p>
<h4><a href="http://superdit.com/2011/04/18/simple-images-slideshow-with-jquery/">Simple Images Slideshow With JQuery</a></h4>
<p><a href="http://superdit.com/2011/04/18/simple-images-slideshow-with-jquery/"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/11.jpg" alt="Simple Images Slideshow With JQuery in JavaScript and jQuery: 50 New Tutorials" /></a><a class="button blue glossy" href="http://demo.superdit.com/jquery/slideshow/">Demo</a><a class="button orange glossy" href="http://www.box.net/shared/a53ldhpthf">Download</a></p>
<h4><a href="http://superdit.com/2011/06/11/hover-image-zoom-with-jquery/">Hover Image Zoom With JQuery</a></h4>
<p><a href="http://superdit.com/2011/06/11/hover-image-zoom-with-jquery/"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/12.jpg" alt="Hover Image Zoom With JQuery in JavaScript and jQuery: 50 New Tutorials" /></a><a class="button blue glossy" href="http://demo.superdit.com/jquery/zoom_hover/">Demo</a><a class="button orange glossy" href="http://www.box.net/shared/8656gq5y5sxnoc5ff9ox">Download</a></p>
<h4><a href="http://superdit.com/2011/05/08/create-dynamic-tabs-with-jquery/">Create Dynamic Tabs With JQuery</a></h4>
<p><a href="http://superdit.com/2011/05/08/create-dynamic-tabs-with-jquery/"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/13.jpg" alt="Create Dynamic Tabs With JQuery in JavaScript and jQuery: 50 New Tutorials" /></a><a class="button blue glossy" href="http://demo.superdit.com/jquery/dynamic_tab.html">Demo</a></p>
<h4><a href="http://nice-tutorials.blogspot.com/2011/04/get-page-name-from-url-in-javascript.html">Get page name from url in javascript</a></h4>
<p><a href="http://nice-tutorials.blogspot.com/2011/04/get-page-name-from-url-in-javascript.html"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/14.jpg" alt="Get page name from url in javascript in JavaScript and jQuery: 50 New Tutorials" /></a></p>
<h4><a href="http://superdit.com/2011/04/29/create-simple-one-page-profile-with-jquery/">Create Simple One Page Profile With JQuery</a></h4>
<p><a href="http://superdit.com/2011/04/29/create-simple-one-page-profile-with-jquery/"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/15.jpg" alt="Create Simple One Page Profile With JQuery in JavaScript and jQuery: 50 New Tutorials" /></a><a class="button blue glossy" href="http://demo.superdit.com/jquery/one_page_company_profile.html">Demo</a><a class="button orange glossy" href="http://www.box.net/shared/vtrkdef1cr">Download</a></p>
<h4><a href="http://nice-tutorials.blogspot.com/2010/09/limit-text-length-in-textbox-using.html">Limit the text length in textbox using javascript</a></h4>
<p><a href="http://nice-tutorials.blogspot.com/2010/09/limit-text-length-in-textbox-using.html"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/16.jpg" alt="Limit the text length in textbox using javascript in JavaScript and jQuery: 50 New Tutorials" /></a></p>
<h4><a href="http://superdit.com/2011/05/14/sliding-stacked-images-with-jquery/">Sliding Stacked Images With JQuery</a></h4>
<p><a href="http://superdit.com/2011/05/14/sliding-stacked-images-with-jquery/"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/17.jpg" alt="Sliding Stacked Images With JQuery in JavaScript and jQuery: 50 New Tutorials" /></a></a><a class="button blue glossy" href="http://demo.superdit.com/jquery/sliding_stacked/">Demo</a><a class="button orange glossy" href="http://www.box.net/shared/qnlkg3bk5d">Download</a></p>
<h4><a href="http://nice-tutorials.blogspot.com/search/label/javascript">Redirection in javascript after some time delay</a></h4>
<p><a href="http://nice-tutorials.blogspot.com/search/label/javascript"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/18.jpg" alt="Redirection in javascript after some time delay in JavaScript and jQuery: 50 New Tutorials" /></a></p>
<h4><a href="http://mistonline.in/wp/how-to-make-sure-your-webpage-is-not-included-in-other-website-frames/">How to make sure your web pages are not included in other website frames</a></h4>
<p><a href="http://mistonline.in/wp/how-to-make-sure-your-webpage-is-not-included-in-other-website-frames/"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/19.jpg" alt="How to make sure your web pages are not included in other website frames in JavaScript and jQuery: 50 New Tutorials" /></a></p>
<h4><a href="http://www.elated.com/articles/nested-arrays-in-javascript/">Nested Arrays in JavaScript</a></h4>
<p><a href="http://www.elated.com/articles/nested-arrays-in-javascript/"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/20.jpg" alt="Nested Arrays in JavaScript in JavaScript and jQuery: 50 New Tutorials" /></a></p>
<h4><a href="http://www.elated.com/articles/elegant-sliding-image-gallery-with-jquery/">How to Make an Elegant Sliding Image Gallery with jQuery</a></h4>
<p><a href="http://www.elated.com/articles/elegant-sliding-image-gallery-with-jquery/"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/21.jpg" alt="How to Make an Elegant Sliding Image Gallery with jQuery in JavaScript and jQuery: 50 New Tutorials" /></a></a><a class="button blue glossy" href="http://www.elated.com/res/File/articles/development/javascript/jquery/elegant-sliding-image-gallery-with-jquery/">Demo</a><a class="button orange glossy" href="http://www.elated.com/res/File/articles/development/javascript/jquery/elegant-sliding-image-gallery-with-jquery.zip">Download</a></p>
<h4><a href="http://www.elated.com/articles/drag-and-drop-with-jquery-your-essential-guide/">Drag-and-Drop with jQuery: Your Essential Guide</a></h4>
<p><a href="http://www.elated.com/articles/drag-and-drop-with-jquery-your-essential-guide/"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/22.jpg" alt="Drag-and-Drop with jQuery: Your Essential Guide in JavaScript and jQuery: 50 New Tutorials" /></a><a class="button blue glossy" href="http://www.elated.com/res/File/articles/development/javascript/jquery/drag-and-drop-with-jquery-your-essential-guide/draggable.html">Demo</a></p>
<h4><a href="http://www.elated.com/articles/slick-ajax-contact-form-jquery-php/">How to Make a Slick Ajax Contact Form with jQuery and PHP</a></h4>
<p><a href="http://www.elated.com/articles/slick-ajax-contact-form-jquery-php/"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/23.jpg" alt="How to Make a Slick Ajax Contact Form with jQuery and PHP in JavaScript and jQuery: 50 New Tutorials" /></a><a class="button blue glossy" href="http://www.elated.com/res/File/articles/development/javascript/jquery/slick-ajax-contact-form-jquery-php/">Demo</a><a class="button orange glossy" href="http://www.elated.com/res/File/articles/development/javascript/jquery/slick-ajax-contact-form-jquery-php.zip">Download</a></p>
<h4><a href="http://www.webchief.co.uk/blog/simple-jquery-slideshow/index.php">Simple JQuery Slideshow</a></h4>
<p><a href="http://www.webchief.co.uk/blog/simple-jquery-slideshow/index.php"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/24.jpg" alt="Simple JQuery Slideshow in JavaScript and jQuery: 50 New Tutorials" /></a></p>
<h4><a href="http://www.webchief.co.uk/blog/simple-jquery-dropdown-menu/index.php">Simple jQuery Dropdown Menu</a></h4>
<p><a href="http://www.webchief.co.uk/blog/simple-jquery-dropdown-menu/index.php"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/25.jpg" alt="Simple jQuery Dropdown Menu in JavaScript and jQuery: 50 New Tutorials" /></a><a class="button blue glossy" href="http://www.webchief.co.uk/blog/simple-jquery-dropdown-menu/finishedMenu.html">Demo</a></p>
<h4><a href="http://mistonline.in/wp/words-validation-with-javascript/">Words Validation with Javascript</a></h4>
<p><a href="http://mistonline.in/wp/words-validation-with-javascript/"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/26.jpg" alt="Words Validation with Javascript in JavaScript and jQuery: 50 New Tutorials" /></a></p>
<h4><a href="http://tympanus.net/codrops/2011/05/09/sliding-letters-with-jquery/">Sliding Letters with jQuery</a></h4>
<p><a href="http://tympanus.net/codrops/2011/05/09/sliding-letters-with-jquery/"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/27.jpg" alt="Sliding Letters with jQuery in JavaScript and jQuery: 50 New Tutorials" /></a><a class="button blue glossy" href="http://tympanus.net/Development/SlidingLetters/">Demo</a><a class="button orange glossy" href="http://tympanus.net/Development/SlidingLetters/SlidingLetters.zip">Download</a></p>
<h4><a href="http://mistonline.in/wp/add-a-splash-page-using-javascript/"></a>Add a splash page on your website using javascript</h4>
<p><a href="http://mistonline.in/wp/add-a-splash-page-using-javascript/"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/28.jpg" alt="Add a splash page on your website using javascript in JavaScript and jQuery: 50 New Tutorials" /></a></p>
<h4><a href="http://tympanus.net/codrops/2011/06/09/grid-navigation-effects/">Grid Navigation Effects with jQuery</a></h4>
<p><a href="http://tympanus.net/codrops/2011/06/09/grid-navigation-effects/"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/29.jpg" alt="Grid Navigation Effects with jQuery in JavaScript and jQuery: 50 New Tutorials" /></a><a class="button blue glossy" href="http://tympanus.net/Development/GridNavigationEffects/example5.html">Demo</a><a class="button orange glossy" href="http://tympanus.net/Development/GridNavigationEffects/GridNavigationEffects.zip">Download</a></p>
<h4><a href="http://mistonline.in/wp/dynamically-changing-hyperlink-color-on-a-website-using-javascript/">Dynamically Change hyperlink colors on a website using javascript</a></h4>
<p><a href="http://mistonline.in/wp/dynamically-changing-hyperlink-color-on-a-website-using-javascript/"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/30.jpg" alt="Dynamically Change hyperlink colors on a website using javascript in JavaScript and jQuery: 50 New Tutorials" /></a></p>
<h4><a href="http://tympanus.net/codrops/2011/05/25/image-wall/">Image Wall with jQuery</a></h4>
<p><a href="http://tympanus.net/codrops/2011/05/25/image-wall/"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/31.jpg" alt="Image Wall with jQuery in JavaScript and jQuery: 50 New Tutorials" /></a><a class="button blue glossy" href="http://tympanus.net/Tutorials/ImageWall/">Demo</a><a class="button orange glossy" href="http://tympanus.net/Tutorials/ImageWall/ImageWall.zip">Download</a></p>
<h4><a href="http://mistonline.in/wp/copy-form-field-values-using-javascript/"></a>Copy form field values using javascript</h4>
<p><a href="http://mistonline.in/wp/copy-form-field-values-using-javascript/"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/32.jpg" alt="Copy form field values using javascript in JavaScript and jQuery: 50 New Tutorials" /></a></p>
<h4><a href="http://tympanus.net/codrops/2011/04/28/rotating-image-slider/">Rotating Image Slider with jQuery</a></h4>
<p><a href="http://tympanus.net/codrops/2011/04/28/rotating-image-slider/"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/33.jpg" alt="Rotating Image Slider with jQuery in JavaScript and jQuery: 50 New Tutorials" /></a><a class="button blue glossy" href="http://tympanus.net/Tutorials/RotatingImageSlider/">Demo</a><a class="button orange glossy" href="http://tympanus.net/Tutorials/RotatingImageSlider/RotatingImageSlider.zip">Download</a></p>
<h4><a href="http://tympanus.net/codrops/2011/03/28/moving-boxes-content/">Moving Boxes Content with jQuery</a></h4>
<p><a href="http://tympanus.net/codrops/2011/03/28/moving-boxes-content/"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/34.jpg" alt="Moving Boxes Content with jQuery in JavaScript and jQuery: 50 New Tutorials" /></a><a class="button blue glossy" href="http://tympanus.net/Tutorials/MovingBoxesContent/">Demo</a><a class="button orange glossy" href="http://tympanus.net/Tutorials/MovingBoxesContent/MovingBoxesContent.zip">Download</a></p>
<h4><a href="http://webdesigncrowd.com/create-grid-image-gallery-intersecting/">Create a grid Image Gallery that has intersecting highlights with jQuery and CSS</a></h4>
<p><a href="http://webdesigncrowd.com/create-grid-image-gallery-intersecting/"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/35.jpg" alt="Create a grid Image Gallery that has intersecting highlights with jQuery and CSS in JavaScript and jQuery: 50 New Tutorials" /></a><a class="button blue glossy" href="http://webdesigncrowd.com/demo/Grid-Gallery-6.6.11/">Demo</a><a class="button orange glossy" href="http://webdesigncrowd.com/demo/Grid-Gallery-6.6.11/Grid-Gallery-6.6.11.zip">Download</a></p>
<h4><a href="http://tympanus.net/codrops/2011/03/16/expanding-image-menu/">Expanding Image Menu with jQuery</a></h4>
<p><a href="http://tympanus.net/codrops/2011/03/16/expanding-image-menu/"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/36.jpg" alt=" in JavaScript and jQuery: 50 New Tutorials" /></a><a class="button blue glossy" href="http://tympanus.net/Tutorials/ExpandingImageMenu/">Demo</a><a class="button orange glossy" href="http://tympanus.net/Tutorials/ExpandingImageMenu/ExpandingImageMenu.zip">Download</a></p>
<h4><a href="http://mistonline.in/wp/visitor-counter-using-cookies-and-javascript/">Visitor counter using cookies and javascript</a></h4>
<p><a href="http://mistonline.in/wp/visitor-counter-using-cookies-and-javascript/"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/37.jpg" alt="Visitor counter using cookies and javascript in JavaScript and jQuery: 50 New Tutorials" /></a></p>
<h4><a href="http://mistonline.in/wp/detect-browser-close-event-and-alert-some-messages-using-javascript/">Detect browser close event and alert some messages using javascript</a></h4>
<p><a href="http://mistonline.in/wp/detect-browser-close-event-and-alert-some-messages-using-javascript/"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/38.jpg" alt="Detect browser close event and alert some messages using javascript in JavaScript and jQuery: 50 New Tutorials" /></a></p>
<h4><a href="http://tympanus.net/codrops/2011/03/09/animated-content-menu/">Animated Content Menu with jQuery</a></h4>
<p><a href="http://tympanus.net/codrops/2011/03/09/animated-content-menu/"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/39.jpg" alt="Animated Content Menu with jQuery in JavaScript and jQuery: 50 New Tutorials" /></a><a class="button blue glossy" href="http://tympanus.net/Tutorials/AnimatedContentMenu/">Demo</a><a class="button orange glossy" href="http://tympanus.net/Tutorials/AnimatedContentMenu/AnimatedContentMenu.zip">Download</a></p>
<h4><a href="http://tympanus.net/codrops/2011/02/15/overlay-like-effect/">Thumbnails Preview Slider with jQuery</a></h4>
<p><a href="http://tympanus.net/codrops/2011/02/15/overlay-like-effect/"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/40.jpg" alt="Thumbnails Preview Slider with jQuery in JavaScript and jQuery: 50 New Tutorials" /></a><a class="button blue glossy" href="http://tympanus.net/Tutorials/OverlayLikeEffect/">Demo</a><a class="button orange glossy" href="http://tympanus.net/Tutorials/OverlayLikeEffect/OverlayLikeEffect.zip">Download</a></p>
<h4><a href="http://tympanus.net/codrops/2011/01/27/thumbnails-preview-slider/">Thumbnails Preview Slider with jQuery</a></h4>
<p><a href="http://tympanus.net/codrops/2011/01/27/thumbnails-preview-slider/"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/41.jpg" alt="Thumbnails Preview Slider with jQuery in JavaScript and jQuery: 50 New Tutorials" /></a><a class="button blue glossy" href="http://tympanus.net/Tutorials/ThumbnailsPreviewSlider/">Demo</a><a class="button orange glossy" href="http://tympanus.net/Tutorials/ThumbnailsPreviewSlider/ThumbnailsPreviewSlider.zip">Download</a></p>
<h4><a href="http://tympanus.net/codrops/2011/01/03/parallax-slider/">Parallax Slider with jQuery</a></h4>
<p><a href="http://tympanus.net/codrops/2011/01/03/parallax-slider/"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/42.jpg" alt="Parallax Slider with jQuery in JavaScript and jQuery: 50 New Tutorials" /></a><a class="button blue glossy" href="http://tympanus.net/Tutorials/ParallaxSlider/">Demo</a><a class="button orange glossy" href="http://tympanus.net/Tutorials/ParallaxSlider/ParallaxSlider.zip">Download</a></p>
<h4><a href="http://javascriptatoms.com/2011/05/how-to-use-an-external-javascript-page/">How to use an External JavaScript Page</a></h4>
<p><a href="http://javascriptatoms.com/2011/05/how-to-use-an-external-javascript-page/"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/43.jpg" alt="How to use an External JavaScript Page in JavaScript and jQuery: 50 New Tutorials" /></a><a class="button orange glossy" href="http://javascriptatoms.com/AtomsNetwork/Files/1240/ExternalJSTut.zip">Download</a></p>
<h4><a href="http://www.javascriptkit.com/javatutors/preloadimagesplus.shtml"></a>Preloading images and executing code only after all images have loaded</h4>
<p><a href="http://www.javascriptkit.com/javatutors/preloadimagesplus.shtml"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/44.jpg" alt="Preloading images and executing code only after all images have loaded in JavaScript and jQuery: 50 New Tutorials" /></a></p>
<h4><a href="http://www.javascriptkit.com/javatutors/setcss3properties.shtml">Setting CSS3 properties using JavaScript</a></h4>
<p><a href="http://www.javascriptkit.com/javatutors/setcss3properties.shtml"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/45.jpg" alt="Setting CSS3 properties using JavaScriptin JavaScript and jQuery: 50 New Tutorials" /></a></p>
<h4><a href="http://line25.com/tutorials/how-to-build-a-sliding-feature-slideshow-with-jquery">How To Build a Sliding Feature Slideshow with jQuery</a></h4>
<p><a href="http://line25.com/tutorials/how-to-build-a-sliding-feature-slideshow-with-jquery"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/46.jpg" alt="How To Build a Sliding Feature Slideshow with jQuery in JavaScript and jQuery: 50 New Tutorials" /></a><a class="button blue glossy" href="http://line25.com/wp-content/uploads/2011/jquery-slideshow/demo/index.html">Demo</a></p>
<h4><a href="http://tutorialzine.com/2011/06/beautiful-portfolio-html5-jquery/">Making a Beautiful HTML5 Portfolio</a></h4>
<p><a href="http://tutorialzine.com/2011/06/beautiful-portfolio-html5-jquery/"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/47.jpg" alt="Making a Beautiful HTML5 Portfolio in JavaScript and jQuery: 50 New Tutorials" /></a><a class="button blue glossy" href="http://demo.tutorialzine.com/2011/06/beautiful-portfolio-html5-jquery/">Demo</a><a class="button orange glossy" href="http://demo.tutorialzine.com/2011/06/beautiful-portfolio-html5-jquery/portfolio.zip">Download</a></p>
<h4><a href="http://tutorialzine.com/2011/05/generating-files-javascript-php/">Generating Files with JavaScript</a></h4>
<p><a href="http://tutorialzine.com/2011/05/generating-files-javascript-php/"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/48.jpg" alt="Generating Files with JavaScript in JavaScript and jQuery: 50 New Tutorials" /></a><a class="button blue glossy" href="http://demo.tutorialzine.com/2011/05/generating-files-javascript-php/">Demo</a><a class="button orange glossy" href="http://demo.tutorialzine.com/2011/05/generating-files-javascript-php/generateFile.zip">Download</a></p>
<h4><a href="http://tutorialzine.com/2011/03/photography-portfolio-shutter-effect/">Shutter Effect Portfolio with jQuery and Canvas</a></h4>
<p><a href="http://tutorialzine.com/2011/03/photography-portfolio-shutter-effect/"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/49.jpg" alt="Shutter Effect Portfolio with jQuery and Canvas in JavaScript and jQuery: 50 New Tutorials" /></a><a class="button blue glossy" href="http://demo.tutorialzine.com/2011/03/photography-portfolio-shutter-effect/">Demo</a><a class="button orange glossy" href="http://demo.tutorialzine.com/2011/03/photography-portfolio-shutter-effect/jquery.shutter.zip">Download</a></p>
<h4><a href="http://tutorialzine.com/2011/03/better-check-boxes-jquery-css/">Better Check Boxes with jQuery and CSS</a></h4>
<p><a href="http://tutorialzine.com/2011/03/better-check-boxes-jquery-css/"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/50.jpg" alt="Better Check Boxes with jQuery and CSS in JavaScript and jQuery: 50 New Tutorials" /></a><a class="button blue glossy" href="http://demo.tutorialzine.com/2011/03/better-check-boxes-jquery-css/">Demo</a><a class="button orange glossy" href="http://demo.tutorialzine.com/2011/03/better-check-boxes-jquery-css/jquery.tzCheckbox.zip">Download</a></p>
<div id="crp_related"><h3>Related Posts</h3><ul class="related-posts"><li><a href="http://web.dtuts.com/tutorials/30-helpful-tutorials-how-to-creating-html5css3-forms/" rel="bookmark"><img src="http://static.dtuts.com/web/articles/CSS3-forms/header.jpg" alt="30 Helpful Tutorials How to Creating HTML5/CSS3 Forms" title="30 Helpful Tutorials How to Creating HTML5/CSS3 Forms" width="100" height="100" border="0" class="crp_thumb" /></a> </li><li><a href="http://web.dtuts.com/tutorials/50-jquery-tutorials-and-techniques/" rel="bookmark"><img src="http://static.dtuts.com/web/tuts/50-jQuery-Tutorials-And-Techniques/header.jpg" alt="50 jQuery Tutorials And Techniques" title="50 jQuery Tutorials And Techniques" width="100" height="100" border="0" class="crp_thumb" /></a> </li><li><a href="http://web.dtuts.com/tutorials/50-useful-css3-tutorials/" rel="bookmark"><img src="http://static.dtuts.com/web/tuts/50-Useful-CSS3-Tutorials/header.jpg" alt="50 Useful CSS3 Tutorials" title="50 Useful CSS3 Tutorials" width="100" height="100" border="0" class="crp_thumb" /></a> </li><li><a href="http://web.dtuts.com/articles/60-awesome-jquery-tutorials/" rel="bookmark"><img src="http://static.dtuts.com/web/articles/60-awesome-jquery-features/header.jpg" alt="60 Awesome jQuery Tutorials" title="60 Awesome jQuery Tutorials" width="100" height="100" border="0" class="crp_thumb" /></a> </li><li><a href="http://web.dtuts.com/articles/15-handy-html5css3-frameworks-for-web-developers/" rel="bookmark"><img src="http://static.dtuts.com/web/tuts/CSS-Frameworks/header.jpg" alt="15 Handy HTML5/CSS3 Frameworks For Web Developers" title="15 Handy HTML5/CSS3 Frameworks For Web Developers" width="100" height="100" border="0" class="crp_thumb" /></a> </li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://web.dtuts.com/articles/50-jquery-and-javascript-tutorials-fresh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>15 Handy HTML5/CSS3 Frameworks For Web Developers</title>
		<link>http://web.dtuts.com/articles/15-handy-html5css3-frameworks-for-web-developers/</link>
		<comments>http://web.dtuts.com/articles/15-handy-html5css3-frameworks-for-web-developers/#comments</comments>
		<pubDate>Wed, 15 Jun 2011 22:21:26 +0000</pubDate>
		<dc:creator>AndrewG</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Round up]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[Framework]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://web.dtuts.com/?p=54</guid>
		<description><![CDATA[HTML5 and CSS3 frameworks are becoming more and more popular every day. It really makes web developers’ lives easier, because there are so many benefits, e.g. Development time. It has reduced considerably, especially if you don’t have much experience with the framework and you use it in appropriate situations; Frameworks contain “hacks” for most common [...]]]></description>
			<content:encoded><![CDATA[<p>HTML5 and CSS3 frameworks are becoming more and more popular every day. It really makes web developers’ lives easier, because there are so many benefits, e.g. Development time. It has reduced considerably, especially if you don’t have much experience with the framework and you use it in appropriate situations; Frameworks contain “hacks” for most common browsers. To solve the same problem with the positioning of elements in IE can make you bored very quickly; Simplifies support. It will be easier to read your same code, written six months ago, if you always use the same class names. So if you are a developer you should certainly look through this roundup of <strong>Handy HTML5/CSS3 Frameworks</strong>! If you know of any other useful frameworks you would like to share, please leave a response in the comments.<span id="more-54"></span></p>
<h4><a href="http://p.erkins.com/">Perkins</a></h4>
<p>Perkins is a pure HTML5/CSS3 Framework created with love.<br />
It has a simple HTML5 template including many of the supported tags, a set of LESS stylesheets and mixins for common tasks such as creating navigation, rounded corners, gradients and much more. Typography, tables, forms, buttons &#8211; are styled very elegant.<br />
<a href="http://p.erkins.com/"><img src="http://static.dtuts.com/web/tuts/CSS-Frameworks/01.jpg" alt="Perkins in Handy HTML5/CSS3 Frameworks For Web Developers" /></a><br />
<a class="button blue glossy" href="http://p.erkins.com/demo/1.1/">Demo</a> <a class="button orange glossy" href="http://code.google.com/p/perkins-less/">Download</a> </p>
<h4><a href="http://csswizardry.com/inuitcss/">Inuit.css</a></h4>
<p>Inuit.CSS created by <a href="http://twitter.com/csswizardry">Harry Roberts</a>. This framework built to work on smaller screens straight out of the box with minimal effort. Inuit.css&#8217; main features are fully supported even in IE6 + basic support for new HTML5 elements.<br />
<a href="http://csswizardry.com/inuitcss/"><img src="http://static.dtuts.com/web/tuts/CSS-Frameworks/02.jpg" alt="Inuit.css in Handy HTML5/CSS3 Frameworks For Web Developers" /></a><br />
<a class="button blue glossy" href="http://csswizardry.com/inuitcss/">Demo</a> <a class="button orange glossy" href="http://csswizardry.com/inuitcss/download.html">Download</a></p>
<h4><a href="http://framework.gregbabula.info/">G5 Framework</a></h4>
<p>G5 Framework based on a F Layout. Some features: base CSS &#038; SEO, PHP active class, HTML5 placeholder fallback, sticky footer, HTML5 baseline, smooth scroll to top and very clean organization.</p>
<p><a href="http://framework.gregbabula.info/"><img src="http://static.dtuts.com/web/tuts/CSS-Frameworks/03.jpg" alt="G5 Framework in Handy HTML5/CSS3 Frameworks For Web Developers" /></a><br />
<a class="button orange glossy" href="http://framework.gregbabula.info/assets/g5framework.zip">Download</a></p>
<h4><a href="http://www.52framework.com/">52framework</a></h4>
<p>52framework first HTML5/CSS3 framework created by enavu network.<br />
<a href="http://www.52framework.com/"><img src="http://static.dtuts.com/web/tuts/CSS-Frameworks/04.jpg" alt="52framework in Handy HTML5/CSS3 Frameworks For Web Developers" /></a><br />
<a class="button blue glossy" href="http://demo.52framework.com/">Demo</a> <a class="button orange glossy" href="http://www.52framework.com/downloads">Download</a></p>
<h4><a href="http://lessframework.com/">Less Framework 4</a></h4>
<p>Less Framework is a CSS grid system for designing adaptive web­sites. It contains 4 layouts and 3 sets of typography presets, all based on a single grid. Changes in Version 4: new 992 px default desktop layout, new grid with 68 px columns, more type presets.<br />
<a href="http://lessframework.com/"><img src="http://static.dtuts.com/web/tuts/CSS-Frameworks/05.jpg" alt="Less Framework 4 in Handy HTML5/CSS3 Frameworks For Web Developers" /></a><br />
<a class="button orange glossy" href="http://lessframework.com/#get">Download</a></p>
<h4><a href="http://baselinecss.com/">Baseline</a></h4>
<p>Built with typographic standards in mind, Baseline makes it easy to develop a website with a pleasing grid and good typography. Baseline starts with several files to reset the browser&#8217;s default behavior, build a basic typographic layout — including style for HTML forms and new HTML 5 elements — and build a simple grid system. Baseline was born to be a quick way to prototype a website and grew up to become a full typographic framework for the web using &#8220;real&#8221; baseline grid as its foundation.<br />
<a href="http://baselinecss.com/"><img src="http://static.dtuts.com/web/tuts/CSS-Frameworks/06.jpg" alt="Baseline in Handy HTML5/CSS3 Frameworks For Web Developers" /></a></p>
<p><a class="button orange glossy" href="http://baselinecss.com/download/baseline.zip">Download</a></p>
<h4><a href="http://code.google.com/p/css3-action-framework/">CSS3 Action Framework</a></h4>
<p>CSS3 Action Library aims to gather all the best CSS3 effects in one place.<br />
Today the number of browsers who supports CSS3 is growing , CSS3 in many cases can be used like Java Script replacement and can contribute to better browsing experience.<br />
<a href="http://code.google.com/p/css3-action-framework/"><img src="http://static.dtuts.com/web/tuts/CSS-Frameworks/07.jpg" alt="CSS3 Action Framework in Handy HTML5/CSS3 Frameworks For Web Developers" /></a><br />
<a class="button blue glossy" href="http://www.allapis.com/css3-action-framework/Google-CSS3-redesign.htm">Demo</a> <a class="button orange glossy" href="http://code.google.com/p/css3-action-framework/downloads/detail?name=css3-action-framework.zip">Download</a></p>
<h4><a href="http://bakerframework.com/">Baker 2.0</a></h4>
<p>Baker is an HTML5 ebook framework to publish on the iPad &#038; iPhone using open web standards</p>
<p><a href="http://bakerframework.com/"><img src="http://static.dtuts.com/web/tuts/CSS-Frameworks/08.jpg" alt="Baker 2.0 in Handy HTML5/CSS3 Frameworks For Web Developers" /></a><br />
<a class="button orange glossy" href="http://bakerframework.com/">Download</a></p>
<h4><a href="http://www.rootstheme.com/">Roots WordPress Theme Framework</a></h4>
<p>Roots is a starting WordPress theme made for developers that&#8217;s based on HTML5 Boilerplate, Blueprint CSS (or 960.gs) and Starkers that will help you rapidly create brochure sites and blogs.<br />
<a href="http://www.rootstheme.com/"><img src="http://static.dtuts.com/web/tuts/CSS-Frameworks/09.jpg" alt="Roots WordPress Theme Framework in Handy HTML5/CSS3 Frameworks For Web Developers" /></a><br />
<a class="button orange glossy" href="https://github.com/retlehs/roots">Download</a></p>
<h4><a href="http://popcornjs.org/">Popcornjs.org</a></h4>
<p>Popcorn.js is an event framework for HTML5 video that provides a simple API for synchronizing interactive and immersive content. Popcorn.js utilizes the native HTMLMediaElement properties, methods and events, normalizes them into an easy to learn API, and provides a plugin system for community contributed interactions.</p>
<p><a href="http://popcornjs.org/"><img src="http://static.dtuts.com/web/tuts/CSS-Frameworks/10.jpg" alt="Popcornjs.org in Handy HTML5/CSS3 Frameworks For Web Developers" /></a><br />
<a class="button orange glossy" href="http://popcornjs.org/download">Download</a></p>
<h4><a href="http://gravityframework.com/">Gravity</a></h4>
<p>Gravity is a SASS based framework for making powerful, easily maintainable HTML5 websites. It helps you rapidly prototype your ideas and will generally make your life much easier.<br />
<a href="http://gravityframework.com/"><img src="http://static.dtuts.com/web/tuts/CSS-Frameworks/11.jpg" alt="Gravity in Handy HTML5/CSS3 Frameworks For Web Developers" /></a><br />
<a class="button orange glossy" href="http://gravityframework.com/gravity.zip">Download</a></p>
<h4>The M Project</h4>
<p>HTML5 JavaScript framework for cross-platform mobile apps. Some features: MVC HTML5, JavaScript- all development cycle, offline support (automatic cache manifest generation), rich user interfaces, DataProvider for local and remote storage persistence, internationalization (i18n), open source (MIT License), NodeJS based build tools (called Espresso).<br />
<a href=""><img src="http://static.dtuts.com/web/tuts/CSS-Frameworks/12.jpg" alt="The M Project in Handy HTML5/CSS3 Frameworks For Web Developers" /></a><br />
<a class="button orange glossy" href="http://the-m-project.net/latest_stable.zip">Download</a></p>
<h4><a href="http://html5boilerplate.com/">HTML5boilerplate</a></h4>
<p>Along with HTML5 Boilerplate&#8217;s rock solid commitment to cross-browser consistency, H5BP brings you delicious documentation, a site optimizing build script, and a custom boilerplate builder. In addition to this, we now support lighttpd, Google App Engine, and NodeJS with optimized server configurations (along with Apache, Nginx, and IIS) and we&#8217;ve reduced the overall size of the published boilerplate by 50%.<br />
<a href="http://html5boilerplate.com/"><img src="http://static.dtuts.com/web/tuts/CSS-Frameworks/13.jpg" alt="HTML5boilerplate in Handy HTML5/CSS3 Frameworks For Web Developers" /></a><br />
<a class="button orange glossy" href="http://html5boilerplate.com/">Download</a></p>
<h4><a href="http://wordpress.org/extend/plugins/wphtml5player/">HTML5 Multimedia Framework for WordPress</a></h4>
<p>HTML5 Multimedia Framework is designed to be a highly customisable plugin for wordpress that comes with MediaElement.js. The framework currently support mp4(h.264,aac), ogg(theora,vorbis), mp3(audio only) and also webm (vp8,vorbis). It can also support wmv, flv and wma while MediaElement.js is enabled.<br />
<a href="http://wordpress.org/extend/plugins/wphtml5player/"><img src="http://static.dtuts.com/web/tuts/CSS-Frameworks/14.jpg" alt="HTML5 Multimedia Framework in Handy HTML5/CSS3 Frameworks For Web Developers" /></a><br />
<a class="button orange glossy" href="http://downloads.wordpress.org/plugin/wphtml5player.3.2.10.zip">Download</a></p>
<h4><a href="http://www.limejs.com/">LimeJS</a></h4>
<p>LimeJS is a HTML5 game framework for building fast, native-experience games for all modern touchscreens and desktop browsers.<br />
<a href="http://www.limejs.com/"><img src="http://static.dtuts.com/web/tuts/CSS-Frameworks/15.jpg" alt="LimeJS in Handy HTML5/CSS3 Frameworks For Web Developers" /></a><br />
<a class="button orange glossy" href="https://github.com/digitalfruit/limejs/zipball/master">Download</a></p>
<div id="crp_related"><h3>Related Posts</h3><ul class="related-posts"><li><a href="http://web.dtuts.com/tutorials/30-helpful-tutorials-how-to-creating-html5css3-forms/" rel="bookmark"><img src="http://static.dtuts.com/web/articles/CSS3-forms/header.jpg" alt="30 Helpful Tutorials How to Creating HTML5/CSS3 Forms" title="30 Helpful Tutorials How to Creating HTML5/CSS3 Forms" width="100" height="100" border="0" class="crp_thumb" /></a> </li><li><a href="http://web.dtuts.com/tutorials/useful-html5-css3-toolbox-for-web-developers/" rel="bookmark"><img src="http://static.dtuts.com/web/tuts/HTML5-CSS3-Toolbox/header.jpg" alt="Useful HTML5 &#038; CSS3 Toolbox For Web Developers" title="Useful HTML5 &#038; CSS3 Toolbox For Web Developers" width="100" height="100" border="0" class="crp_thumb" /></a> </li><li><a href="http://web.dtuts.com/articles/50-jquery-and-javascript-tutorials-fresh/" rel="bookmark"><img src="http://static.dtuts.com/web/articles/JavaScript-and-jQuery-New-Tutorials/header.jpg" alt="50 jQuery and JavaScript Tutorials [Fresh]" title="50 jQuery and JavaScript Tutorials [Fresh]" width="100" height="100" border="0" class="crp_thumb" /></a> </li><li><a href="http://web.dtuts.com/articles/awesome-chrome-extensions-for-web-developers/" rel="bookmark"><img src="http://static.dtuts.com/web/tuts/Chrome-Extensions-Web-Developers/header.jpg" alt="Awesome Chrome Extensions For Web Developers" title="Awesome Chrome Extensions For Web Developers" width="100" height="100" border="0" class="crp_thumb" /></a> </li><li><a href="http://web.dtuts.com/articles/html5-video-players/" rel="bookmark"><img src="http://static.dtuts.com/web/tuts/HTML5-video-players/header.jpg" alt="HTML5 video players" title="HTML5 video players" width="100" height="100" border="0" class="crp_thumb" /></a> </li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://web.dtuts.com/articles/15-handy-html5css3-frameworks-for-web-developers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating a Framework For Canvas: Objects and Mouse</title>
		<link>http://web.dtuts.com/tutorials/creating-a-framework-for-canvas-objects-and-mouse/</link>
		<comments>http://web.dtuts.com/tutorials/creating-a-framework-for-canvas-objects-and-mouse/#comments</comments>
		<pubDate>Wed, 08 Jun 2011 22:10:34 +0000</pubDate>
		<dc:creator>TheShock</dc:creator>
				<category><![CDATA[HTML and CSS]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Canvas]]></category>
		<category><![CDATA[Framework]]></category>
		<category><![CDATA[Mouse]]></category>
		<category><![CDATA[Objects]]></category>

		<guid isPermaLink="false">http://web.dtuts.com/?p=53</guid>
		<description><![CDATA[How often do you encounter a question: how can I get whether the mouse is over the element or not, as it is implemented in the framework? In this post, we will help you to answer it and implement such a framework based on Canvas AtomJS. Global interface Firstly we should think over the interface [...]]]></description>
			<content:encoded><![CDATA[<p>How often do you encounter a question: how can I get whether the mouse is over the element or not, as it is implemented in the <strong>framework</strong>? In this post, we will help you to answer it and implement such a framework based on Canvas <a href="https://github.com/theshock/atomjs">AtomJS</a>.<span id="more-53"></span></p>
<h4>Global interface</h4>
<p>Firstly we should think over the interface of our framework. Let’s name it Canvas Framework, abbreviated &#8211; CF. It will be a global variable-a factory for the instance creation. With the first argument we are going to pass a link for the necessary item:</p>
<pre class="brush: php; title: ; notranslate">var cf = new CF('#my-canvas');</pre>
<p>The realization is simple:</p>
<pre class="brush: php; title: ; notranslate">window.CF = atom.Class({
	initialize: function (canvas) {
		this.canvas = atom.dom( canvas ).first;
		this.ctx    = this.canvas.getContext('2d');
	}
});</pre>
<p>Then we can create other objects with the help of this construction:</p>
<pre class="brush: php; title: ; notranslate">cf.circle([50, 50, 10] , { fill: 'red' , hover : { fill: 'blue' } });
cf.rect ([10, 10, 20, 20], { fill: 'green', hover : { fill: 'blue' } });
</pre>
<p>To make it easier all objects will have drag and drop function and will respond to mouse’s movements.</p>
<h4>Shapes’ realization</h4>
<p>Now we need to define the basic class of the shapes.</p>
<pre class="brush: php; title: ; notranslate">// Abstract class of the shapes
var Shape = atom.Class({
	Implements: [ atom.Class.Events, atom.Class.Options ],

	cf   : null,
	data : null,
	hover: false,

	path: atom.Class.abstractMethod,

	initialize: function (data, options) {
		this.data = data;
		this.setOptions( options );
	},

	hasPoint: function (x, y) {
		var ctx = this.cf.emptyCanvas.ctx;
		this.path( ctx );
		return ctx.isPointInPath(x, y);
	},

	draw: function () {
		var ctx = this.cf.ctx, o = this.options;
		this.path( ctx );
		ctx.save();
		ctx.fillStyle = this.hover ? o.hover.fill : o.fill;
		ctx.fill();
		ctx.restore();
	}
});</pre>
<p>You can see that we need an emptyCanvas &#8211; it will be a hidden Canvas, in which we will draw our paths, in order not to break the path of the &#8220;main&#8221; canvas. Let’s renew the CF constructor:</p>
<pre class="brush: php; title: ; notranslate">window.CF = atom.Class({
	initialize: function (canvas) {
		[...]
		this.emptyCanvas = atom.dom.create( 'canvas', { width: 1, height: 1 }).first;
		this.emptyCanvas.ctx = this.emptyCanvas.getContext('2d');
	}
});
</pre>
<p>Each of the following shape will have to implement only the path method. Let&#8217;s add a couple of shapes &#8211; Rectangle and Circle.</p>
<pre class="brush: php; title: ; notranslate">// circle.data == [x, y, radius]
var Circle = atom.Class({
	Extends: Shape,
	path: function (ctx) {
		ctx.beginPath();
		ctx.arc( this.data[0], this.data[1], this.data[2], 0, Math.PI * 2, false );
		ctx.closePath();
	}
});

var Rect = atom.Class({
	Extends: Shape,
	path: function (ctx) {
		ctx.beginPath();
		ctx.rect.apply( ctx, this.data );
		ctx.closePath();
	}
});
</pre>
<p>The next thing we need to do &#8211; is to initialize the Mouse. We subscribe to the event mousemove Canvas element, and we will remember the cursor position. The mouse will receive items Shape, will check them, change the hover and cause events mousedown and mouseup. You can see that we are faced with a little cross-browser problem &#8211; code layerX / Y is not available in Opera and it is necessary to use offsetX / Y. It is not that critical, but it is important to know about it.</p>
<pre class="brush: php; title: ; notranslate">var Mouse = atom.Class({
	x: 0,
	y: 0,
	initialize: function (canvas) {
		this.elements = [];
		canvas.bind({
			mousemove: this.move.bind(this),
			mousedown: this.fire.bind(this, 'mousedown'),
			mouseup:   this.fire.bind(this, 'mouseup'  )
		});
	},
	add: function (element) {
		this.elements.push( element );
	},
	move: function (e) {
		// Then we will uselayer*, but further you’d better do it in a more secure way
		if (e.layerX == null) { // opera
			this.x = e.offsetX;
			this.y = e.offsetY;
		} else { // fx, chrome
			this.x = e.layerX;
			this.y = e.layerY;
		}

		this.elements.forEach(function (el) {
			el[i].hover = el[i].hasPoint(this.x, this.y)
		}.bind(this));
	},
	fire: function (name, e) {
		this.elements.forEach(function (el) {
			if (el.hasPoint(this.x, this.y)) {
				el.fireEvent(name, e);
			}
		}.bind(this));
	}
});

// then we add mouse to the constructor:
window.CF = atom.Class({
	initialize: function (canvas) {
		[...]
		this.mouse = new Mouse( this.canvas );
	}
});</pre>
<p>Now we need to make a canvas update.</p>
<pre class="brush: php; title: ; notranslate">
window.CF = atom.Class({
	initialize: function (canvas) {
		[...]
		// 25 fps
		this.update.periodical( 1000/25, this );
	},

	update: function (shapes) {
		this.ctx.clearRect(0,0,this.canvas.width, this.canvas.height);
		this.elements.invoke('draw');
	}
});
</pre>
<p>On the next step we edit our global object so that we could create elements:</p>
<pre class="brush: php; title: ; notranslate">window.CF = atom.Class({
	[...],
	elements: [],
	_shape: function (Class, args) {
		var e = new Class(args[0], args[1]);
		this.mouse.add( e );
		this.elements.push( e );
		e.cf = this;
		return e;
	},
	circle: function (data, options) {
		return this._shape(Circle, arguments);
	},
	rect: function (data, options) {
		return this._shape(Rect, arguments);
	}
})</pre>
<p>That’s it, let’s create our application:</p>
<pre class="brush: php; title: ; notranslate">var write = function (msg) {
	atom.dom.create('p').text(msg).appendTo('body');
};

var cf = new CF('canvas');

cf.circle([50, 50, 10]    , { fill: 'red'  , hover : { fill: 'blue' } })
	.addEvent('mousedown', write.bind( window, 'circle mousedown' ));

cf.rect  ([10, 10, 20, 20], { fill: 'green', hover : { fill: 'blue' } })
	.addEvent('mousedown', write.bind( window, 'rect   mousedown' ));</pre>
<p><a class="button blue glossy" href="http://theshock.github.com/cf/">Demo</a></p>
<h4>Conclusion</h4>
<p>In fact, frameworks are much more than described in this article. For example, the described example can be implemented to the absolutely positioned canvas only; also, there are a lot of optimizations, nuances, etc. It is necessary to adjust the fps for the application, update the canvas only when there are some changes, do not update the status when moving the mouse, but before the drawing, etc. It is a difficult and laborious work. Better to use something readymade, than to implement them from scratch.<br />
By the way, there is an alternative way &#8211; use map + area. It has its advantages and disadvantages. It is difficult to synchronize and, most importantly, the inability to implement <a href="http://libcanvas.github.com/ui/path.html">more complex shapes</a>.</p>
<div id="crp_related"><h3>Related Posts</h3><ul class="related-posts"><li><a href="http://web.dtuts.com/tutorials/how-to-create-a-progress-bar-with-html5-canvas/" rel="bookmark"><img src="http://static.dtuts.com/web/tuts/Progress-bar-HTML5-Canvas/header.jpg" alt="How to create a Progress bar with HTML5 Canvas" title="How to create a Progress bar with HTML5 Canvas" width="100" height="100" border="0" class="crp_thumb" /></a> </li><li><a href="http://web.dtuts.com/tutorials/how-to-write-a-simple-application-on-jquery-mobile/" rel="bookmark"><img src="http://static.dtuts.com/web/tuts/jQuery-Mobile/header.jpg" alt="How to write a simple application on jQuery Mobile" title="How to write a simple application on jQuery Mobile" width="100" height="100" border="0" class="crp_thumb" /></a> </li><li><a href="http://web.dtuts.com/tutorials/transitions-css3-now/" rel="bookmark"><img src="http://static.dtuts.com/web/articles/CSS3-Transitions/header.jpg" alt="Transitions CSS3 Now!" title="Transitions CSS3 Now!" width="100" height="100" border="0" class="crp_thumb" /></a> </li><li><a href="http://web.dtuts.com/tutorials/fixing-animation-in-jquery/" rel="bookmark"><img src="http://static.dtuts.com/web/tuts/fixing-animation-jquery/header.jpg" alt="Fixing animation in jQuery" title="Fixing animation in jQuery" width="100" height="100" border="0" class="crp_thumb" /></a> </li><li><a href="http://web.dtuts.com/articles/15-awesome-free-javascript-charts/" rel="bookmark"><img src="http://static.dtuts.com/web/tuts/15-Awesome-Free-JavaScript-Charts/header.jpg" alt="15 Awesome Free JavaScript Charts" title="15 Awesome Free JavaScript Charts" width="100" height="100" border="0" class="crp_thumb" /></a> </li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://web.dtuts.com/tutorials/creating-a-framework-for-canvas-objects-and-mouse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>70 Original HTML5 Markup Websites</title>
		<link>http://web.dtuts.com/articles/70-original-html5-markup-websites/</link>
		<comments>http://web.dtuts.com/articles/70-original-html5-markup-websites/#comments</comments>
		<pubDate>Mon, 11 Apr 2011 22:05:42 +0000</pubDate>
		<dc:creator>AndrewG</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Round up]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Markup Websites]]></category>

		<guid isPermaLink="false">http://web.dtuts.com/?p=52</guid>
		<description><![CDATA[There is no doubt that HTML5 makes designers’ lives easier. With its help you can listen to the music without any need to install an additional plug-in, it lets you store offline data for Web applications and also has drag and drop function. Moreover, HTML5 allows you to write your code in HTML as well [...]]]></description>
			<content:encoded><![CDATA[<p>There is no doubt that HTML5 makes designers’ lives easier. With its help you can listen to the music without any need to install an additional plug-in, it lets you store offline data for Web applications and also has drag and drop function. Moreover, HTML5 allows you to write your code in HTML as well as in XML languages. There are a lot of useful tips you can find on the internet of how to improve your website, but in this post we would like to show you some examples of a really creative and interesting websites that might bring some bright ideas into your head.<span id="more-52"></span></p>
<h4>1md.be</h4>
<p><a href="http://1md.be/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/01.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>agent8ball.com</h4>
<p><a href="http://agent8ball.com/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/02.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>andrewshanley.co.uk</h4>
<p><a href="http://www.andrewshanley.co.uk/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/03.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>animowane.pl</h4>
<p><a href="http://animowane.pl/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/04.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>aprendizdefeiticeiro.com.br</h4>
<p><a href="http://www.aprendizdefeiticeiro.com.br/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/05.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>arno.hoog.ma</h4>
<p><a href="http://arno.hoog.ma"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/06.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>awesomeville.com</h4>
<p><a href="http://awesomeville.com/html/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/07.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>axvisual.com</h4>
<p><a href="http://www.axvisual.com/index.html<br />
"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/08.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>az-trustee-sales.com</h4>
<p><a href="http://az-trustee-sales.com/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/09.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>benthebodyguard.com</h4>
<p><a href="http://benthebodyguard.com/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/10.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>birrificioirpino.it</h4>
<p><a href="http://www.birrificioirpino.it/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/11.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>black-meridian.com</h4>
<p><a href="http://www.black-meridian.com/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/12.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>brasseriegerard.co.uk</h4>
<p><a href="http://www.brasseriegerard.co.uk/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/13.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>chefdeprojetinternet.com</h4>
<p><a href="http://www.chefdeprojetinternet.com/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/14.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>chicowebdesign.com</h4>
<p><a href="http://www.chicowebdesign.com/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/15.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>clivemoore.ca</h4>
<p><a href="http://www.clivemoore.ca/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/16.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>concrete5.org</h4>
<p><a href="http://www.concrete5.org/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/17.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>coolendar.com</h4>
<p><a href="http://www.coolendar.com/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/18.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>crackpixels.com</h4>
<p><a href="http://crackpixels.com/<br />
"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/19.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>cumplice.net</h4>
<p><a href="http://www.cumplice.net/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/20.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>danielscholten.com</h4>
<p><a href="http://www.danielscholten.com/index.php"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/21.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>depot.freeagentcentral.com</h4>
<p><a href="http://depot.freeagentcentral.com/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/22.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>designlabcph.com</h4>
<p><a href="http://designlabcph.com/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/23.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>devstars.com</h4>
<p><a href="http://www.devstars.com/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/24.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>diablo3.be</h4>
<p><a href="http://www.diablo3.be"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/25.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>edgarleijs.nl</h4>
<p><a href="http://www.edgarleijs.nl/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/26.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>eend.nl</h4>
<p><a href="http://www.eend.nl/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/27.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>effectlab.gr</h4>
<p><a href="http://www.effectlab.gr/gr/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/28.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>empirestaterecordings.com</h4>
<p><a href="http://empirestaterecordings.com/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/29.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>evakipler.com</h4>
<p><a href="http://evakipler.com/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/30.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>faciodesign.co.uk</h4>
<p><a href="http://www.faciodesign.co.uk"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/31.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>festivalmundo.com.br</h4>
<p><a href="http://www.festivalmundo.com.br/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/32.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>ffpbooth.com</h4>
<p><a href="http://ffpbooth.com/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/33.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>floridaafterseven.com</h4>
<p><a href="http://floridaafterseven.com/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/34.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>frederickindoor.com</h4>
<p><a href="http://www.frederickindoor.com/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/35.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>gabereiser.com</h4>
<p><a href="http://www.gabereiser.com/flickr/index.html"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/36.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>gaga-debki.pl</h4>
<p><a href="http://gaga-debki.pl/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/37.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>goup.it</h4>
<p><a href="http://www.goup.it"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/38.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>greatblueheron.tumblr.com</h4>
<p><a href="http://greatblueheron.tumblr.com/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/39.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>griottes.fr</h4>
<p><a href="griottes.fr"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/40.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>humaan.com.au</h4>
<p><a href="http://humaan.com.au/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/41.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>lagentehadichosi.es</h4>
<p><a href="http://www.lagentehadichosi.es/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/42.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>lesjardinsdaglaee.com</h4>
<p><a href="http://lesjardinsdaglaee.com/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/43.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>lifefroots.com</h4>
<p><a href="http://lifefroots.com"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/44.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>lilaccreative.com</h4>
<p><a href="http://lilaccreative.com"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/45.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>livid-media.de</h4>
<p><a href="http://www.livid-media.de/index.html"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/46.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>localmotive.ca</h4>
<p><a href="http://www.localmotive.ca/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/47.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>maartenkal.com</h4>
<p><a href="http://www.maartenkal.com"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/48.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>mat-t.com</h4>
<p><a href="http://mat-t.com/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/49.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>mckinney.com</h4>
<p><a href="http://mckinney.com/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/50.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>newadventuresconf.com</h4>
<p><a href="http://newadventuresconf.com/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/51.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>ourswisslife.com</h4>
<p><a href="http://www.ourswisslife.com/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/52.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>owainlewis.com</h4>
<p><a href="http://www.owainlewis.com/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/53.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>pingodeleite.com</h4>
<p><a href="http://www.pingodeleite.com"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/54.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>piotrkwiatkowski.co.uk</h4>
<p><a href="http://www.piotrkwiatkowski.co.uk/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/55.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>pumpkin-king.com</h4>
<p><a href="http://www.pumpkin-king.com/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/56.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>robedwards.org</h4>
<p><a href="http://robedwards.org/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/57.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>singleframedesign.co.uk</h4>
<p><a href="http://www.singleframedesign.co.uk/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/58.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>studiopygmalion.cz</h4>
<p><a href="http://www.studiopygmalion.cz"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/59.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>symb.ly</h4>
<p><a href="http://symb.ly/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/60.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>thesquad.com.au</h4>
<p><a href="http://www.thesquad.com.au/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/61.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>trafic-factory-referencement.fr</h4>
<p><a href="http://www.trafic-factory-referencement.fr/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/62.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>triversecentre.com</h4>
<p><a href="http://triversecentre.com/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/63.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>virtuti.info</h4>
<p><a href="http://www.virtuti.info/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/64.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>vtech.trefl.com</h4>
<p><a href="http://vtech.trefl.com/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/65.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>wakwaw.com</h4>
<p><a href="http://wakwaw.com/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/66.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>wantist.com</h4>
<p><a href="http://wantist.com/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/67.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>webdesignerwall.com</h4>
<p><a href="http://webdesignerwall.com/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/68.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>withoutyouitsjustnot.us</h4>
<p><a href="http://withoutyouitsjustnot.us/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/69.jpg" alt="HTML5 Markup Websites" /></a></p>
<h4>xhtmlized.com</h4>
<p><a href="http://xhtmlized.com/"><img src="http://static.dtuts.com/web/tuts/70-Original-HTML5-Markup-Websites/70.jpg" alt="HTML5 Markup Websites" /></a></p>
<div id="crp_related"><h3>Related Posts</h3><ul class="related-posts"><li><a href="http://web.dtuts.com/articles/75-illustrated-and-cartoon-websites/" rel="bookmark"><img src="http://static.dtuts.com/web/articles/75-illustrated-and-cartoon-websites/header.jpg" alt="75 Illustrated and Cartoon Websites" title="75 Illustrated and Cartoon Websites" width="100" height="100" border="0" class="crp_thumb" /></a> </li><li><a href="http://web.dtuts.com/tutorials/useful-html5-css3-toolbox-for-web-developers/" rel="bookmark"><img src="http://static.dtuts.com/web/tuts/HTML5-CSS3-Toolbox/header.jpg" alt="Useful HTML5 &#038; CSS3 Toolbox For Web Developers" title="Useful HTML5 &#038; CSS3 Toolbox For Web Developers" width="100" height="100" border="0" class="crp_thumb" /></a> </li><li><a href="http://web.dtuts.com/articles/meet-the-future-%e2%80%93-html5-demos/" rel="bookmark"><img src="http://static.dtuts.com/web/tuts/Meet-The-Future-HTML5-Demos/header.jpg" alt="Meet The Future – HTML5 Demos" title="Meet The Future – HTML5 Demos" width="100" height="100" border="0" class="crp_thumb" /></a> </li><li><a href="http://web.dtuts.com/articles/html5-video-players/" rel="bookmark"><img src="http://static.dtuts.com/web/tuts/HTML5-video-players/header.jpg" alt="HTML5 video players" title="HTML5 video players" width="100" height="100" border="0" class="crp_thumb" /></a> </li><li><a href="http://web.dtuts.com/articles/15-handy-html5css3-frameworks-for-web-developers/" rel="bookmark"><img src="http://static.dtuts.com/web/tuts/CSS-Frameworks/header.jpg" alt="15 Handy HTML5/CSS3 Frameworks For Web Developers" title="15 Handy HTML5/CSS3 Frameworks For Web Developers" width="100" height="100" border="0" class="crp_thumb" /></a> </li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://web.dtuts.com/articles/70-original-html5-markup-websites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Online Generators For Web Development &#8211; Ultimate Colleсtion</title>
		<link>http://web.dtuts.com/articles/online-generators-for-web-development-ultimate-colle%d1%81tion/</link>
		<comments>http://web.dtuts.com/articles/online-generators-for-web-development-ultimate-colle%d1%81tion/#comments</comments>
		<pubDate>Wed, 06 Apr 2011 22:01:50 +0000</pubDate>
		<dc:creator>Stryker</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Round up]]></category>
		<category><![CDATA[Online Generators]]></category>

		<guid isPermaLink="false">http://web.dtuts.com/?p=51</guid>
		<description><![CDATA[Each designer has his own methods and tools for everyday use. Since everything in the world is constantly developing, a lot of handy tools for making really great designs appear to make your work a lot easier. Different online generators can create graphics or code or even layouts in less than no time. So if [...]]]></description>
			<content:encoded><![CDATA[<p>Each designer has his own methods and tools for everyday use. Since everything in the world is constantly developing, a lot of handy tools for making really great designs appear to make your work a lot easier. Different <strong>online generators</strong> can create graphics or code or even layouts in less than no time. So if you need any help with “XHTML valid” CSS banners, micro buttons or css website templates, you can always turn to some of generators that are presented below. Hope you’ll find them useful!<span id="more-51"></span></p>
<h4>Color Palette Generator</h4>
<p>Enter the URL of an image to get a color palette that matches the image. This is useful for coming up with a website color palette that matches a key image a client wants to work with.<br />
<a href="http://www.degraeve.com/color-palette/"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/01.jpg" alt="Online generators" /></a></p>
<h4>Color Blender</h4>
<p>ColorBlender – free online tool for color matching and palette design.<br />
<a href="http://www.colorblender.com/"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/02.jpg" alt="Online generators" /></a></p>
<h4>Color Hunter</h4>
<p>Color Hunter is a place to find and make color palettes created from images.<br />
<a href="http://www.colorhunter.com"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/03.jpg" alt="Online generators" /></a></p>
<h4>Color Scheme Designer</h4>
<p>Pick your main color and then you can determine other colors you’d like to use, like compliments or triads. It also gives you examples of real world applications.<br />
<a href="http://colorschemedesigner.com/"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/04.jpg" alt="Online generators" /></a></p>
<h4>Color Schemer</h4>
<p>Enter an RGB or HEX value, or click on the Color Palette below.<br />
<a href="http://www.colorschemer.com/online.html"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/05.jpg" alt="Online generators" /></a></p>
<h4>Combo Maker</h4>
<p>Generate Color Palette Images to Share.<br />
<a href="http://www.colorcombos.com/combomaker.html"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/06.jpg" alt="Online generators" /></a></p>
<h4>Generate It!</h4>
<p>Color Scheme Generator is a HTML and RGB color code generator that will show you how to match your web site colors and will save you time when choosing a web site color scheme or color code. Easily find out what color matches,  specify the main color by entering red green and blue values between 0 and 255 or by entering a hex color code.<br />
<a href="http://www.generateit.net/color-schemes/"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/07.jpg" alt="Online generators" /></a></p>
<h4>Kuler</h4>
<p>Adobe® Kuler™ — the web-hosted application for generating color themes that can inspire any project. No matter what you&#8217;re creating, with Kuler you can experiment quickly with color variations and browse thousands of themes from the Kuler community.<br />
<a href="http://kuler.adobe.com"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/08.jpg" alt="Online generators" /></a></p>
<h4>Border Radius</h4>
<p>This is a simple radius generator. just enter the border radius for each corner!<br />
<a href="http://border-radius.com/"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/09.jpg" alt="Online generators" /></a></p>
<h4>Button Maker</h4>
<p>From CSS-Tricks with love! Lets you create custom CSS3 buttons with gradients.<br />
<a href="http://css-tricks.com/examples/ButtonMaker/#"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/10.jpg" alt="Online generators" /></a></p>
<h4>CSS3 Gradient Generator</h4>
<p>Nice tool for generating css3 code of your custom gradient.<br />
<a href="http://gradients.glrzad.com/"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/11.jpg" alt="Online generators" /></a></p>
<h4>CSS3 Sandbox</h4>
<p>CSS3 Sandbox can generate linear gradients, radial gradients, text properties, box properties, and transforms.<br />
<a href="http://westciv.com/tools/gradients/"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/12.jpg" alt="Online generators" /></a></p>
<h4>CSS3 Generator</h4>
<p><a href="http://css3generator.com/"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/13.jpg" alt="Online generators" /></a></p>
<h4>CSS3 Maker</h4>
<p>CSS Maker is a free tool to experiment with CSS properties and values and generate a simple stylesheet for your site.<br />
<a href="http://www.css3maker.com"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/14.jpg" alt="Online generators" /></a></p>
<h4>CSS3 Please</h4>
<p>You can edit the underlined values in this css file, but don&#8217;t worry about making sure the corresponding values match, that&#8217;s all done automagically for you.<br />
<a href="http://css3please.com/"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/15.jpg" alt="Online generators" /></a></p>
<h4>CSS Typeset</h4>
<p>Paste in text you want to modify, and then use the options at the bottom to customize it and it will generate the CSS in real-time.<br />
<a href="http://csstypeset.com/"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/16.jpg" alt="Online generators" /></a></p>
<h4>Navigation Tabs Generator</h4>
<p><a href="http://www.pagecolumn.com/tool/top_tabs_generator.htm"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/17.jpg" alt="Online generators" /></a></p>
<h4>Primer</h4>
<p>Primer undercoats your CSS by pulling out all of your classes and id&#8217;s and placing them into a starter stylesheet. Paste your HTML in to get started.<br />
<a href="http://www.primercss.com/index.php"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/18.jpg" alt="Online generators" /></a></p>
<h4>BG Patterns</h4>
<p>BgPatterns is a tiny web app for making background patterns in a few clicks. It was created mostly for fun and experimentation by Sergii Iavorskyi.<br />
<a href="http://bgpatterns.com/"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/19.jpg" alt="Online generators" /></a></p>
<h4>CSS Menu Maker</h4>
<p>Explorer our gallery of professionally designed CSS Menus. Personalize your menus features with our easy to use Menu Maker. Download the HTML, CSS, and Images for your custom menu in a nice neat package.<br />
<a href="http://www.cssmenumaker.com/"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/20.jpg" alt="Online generators" /></a></p>
<h4>Dotted Background Generator</h4>
<p>This generator lets you create dotted, half-tone style backgrounds.<br />
<a href="http://www.pixelknete.de/dotter<br />
"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/21.jpg" alt="Online generators" /></a></p>
<h4>Php Form</h4>
<p>Create HTML Form in Seconds!<br />
<a href="http://www.phpform.org/"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/22.jpg" alt="Online generators" /></a></p>
<h4>Pure CSS Menu</h4>
<p>This site lets you create a menu with dropdowns that only uses CSS, no images. It’s simple, but it’s also quick to set up.<br />
<a href="http://purecssmenu.com/"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/23.jpg" alt="Online generators" /></a></p>
<h4>Stripe Generator 2.0</h4>
<p>Play with sliders and color pickers, untill you obtain a super-cool stripe tile!<br />
<a href="http://www.stripegenerator.com/"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/24.jpg" alt="Online generators" /></a></p>
<h4>Striped Backgrounds</h4>
<p>Striped Backgrounds creates boldly-striped backgrounds in any resolution.<br />
<a href="http://stripedbgs.com/"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/25.jpg" alt="Online generators" /></a></p>
<h4>Stripe Mania</h4>
<p>Stripemania is a simple and free web 2.0 tool to create seamless diagonal stripes for your designs. You are able to choose the size of the stripes and the spacing between those. You can even add color gradient effect for all of your stripes.<br />
Feel free to play with it. You are allowed to use the created image for whatever you would like to.<br />
<a href="http://www.stripemania.com/"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/26.jpg" alt="Online generators" /></a></p>
<h4>Tabs Generator</h4>
<p>Tweak size, colors, corners and more, generate your design, then download and use in your css style sheet!<br />
<a href="http://www.tabsgenerator.com"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/27.jpg" alt="Online generators" /></a></p>
<h4>Tartan Maker</h4>
<p><a href="http://www.tartanmaker.com"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/28.jpg" alt="Online generators" /></a></p>
<h4>Text generator</h4>
<p>Tired of using Lorem Ipsum for dummy text in your latest masterpiece?<br />
This text generator has been developed based on years of careful research and is guaranteed to improve even the most lacklustre of designs.<br />
<a href="http://www.malevole.com/mv/misc/text/"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/29.jpg" alt="Online generators" /></a></p>
<h4>Type Tester</h4>
<p>The Typetester is an online application for comparison of the fonts for the screen. Its primary role is to make web designer’s life easier. As the new fonts are bundled into operating systems, the list of the common fonts will be updated.<br />
<a href="http://www.typetester.org"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/30.jpg" alt="Online generators" /></a></p>
<h4>1kb Grid</h4>
<p>The 1KB CSS Grid is a lightweight approach to creating a grid system. Simply select the number of columns you want, the column width and gutter width and your sorted!<br />
<a href="http://www.1kbgrid.com/"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/31.jpg" alt="Online generators" /></a></p>
<h4>Blueprint Grid CSS Generator</h4>
<p>This tool will help you generate more flexible versions of Blueprint&#8217;s grid.css and compressed.css and grid.png files.<br />
<a href="http://bgg.kematzy.com/"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/32.jpg" alt="Online generators" /></a></p>
<h4>Yaml</h4>
<p>Yet Another Multicolumn Layout&#8221; (YAML) is an (X)HTML/CSS framework for creating modern and flexible floated layouts. The structure is extremely versatile in its programming and absolutely accessible for end users.<br />
<a href="http://builder.yaml.de/"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/33.jpg" alt="Online generators" /></a></p>
<h4>Colorotate</h4>
<p>Browse color palettes, or create your own!<br />
<a href="http://www.colorotate.org/"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/34.jpg" alt="Online generators" /></a></p>
<h4>Grid System Generator</h4>
<p>The grid system generator will create custom grid systems in valid css / xhtml for rapid prototyping, development and production environments.<br />
<a href="http://www.gridsystemgenerator.com/"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/35.jpg" alt="Online generators" /></a></p>
<h4>Templatr</h4>
<p>Templatr is simple generator for creating quick WordPress layouts.<br />
<a href="http://templatr.cc/"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/36.jpg" alt="Online generators" /></a></p>
<h4>Variable Grid System</h4>
<p>The variable grid system is a quick way to generate an underlying CSS grid for your site. The CSS generated file is based on the 960 Grid System.<br />
<a href="http://spry-soft.com/grids/<br />
"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/37.jpg" alt="Online generators" /></a></p>
<h4>WordPress Theme Generator</h4>
<p>This online generator creates your own custom unique WordPress Theme. Without any need for HTML, JS, PHP, or CSS knowledge.<br />
Change the colors, settings, layout, preview live, click &#8220;save&#8221; and download your unique WordPress theme zip-file.<br />
<a href="http://www.yvoschaap.com/wpthemegen/"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/38.jpg" alt="Online generators" /></a></p>
<h4>Cool Text</h4>
<p>Cool Text is a FREE graphics generator for web pages and anywhere else you need an impressive logo without a lot of design work.  Simply choose what kind of image you would like. Then fill out a form and you&#8217;ll have your own custom image created on the fly.<br />
<a href="http://cooltext.com/"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/39.jpg" alt="Online generators" /></a></p>
<h4>Lorem-Ipsum</h4>
<p><a href="http://www.lorem-ipsum.info/generator3<br />
"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/40.jpg" alt="Online generators" /></a></p>
<h4>My Cool Button</h4>
<p><a href="http://www.mycoolbutton.com/online-web-button-generators.php"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/41.jpg" alt="Online generators" /></a></p>
<h4>Official Seal Maker</h4>
<p>Enter some text, choose a border and an emblem, pick your colors, and click the &#8216;Go&#8217; button. An Official Seal will be generated for you. Collect &#8216;em, trade &#8216;em, put &#8216;em on your website, or e-mail &#8216;em to your friends.<br />
<a href="http://www.says-it.com/seal/circle.php"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/42.jpg" alt="Online generators" /></a></p>
<h4>Quick Ribbon</h4>
<p>QuickRibbon is a completely free Web2.0 tool, a website ribbon generator which lets you create a custom ribbon, insert a link in it and place it in the top right corner of your website. It will take you less than 5 minutes to generate your own website ribbon with this trendy widget and add a stylish Web2.0 look to your page – it&#8217;s quick, easy and fun. We recommend using our QuickRibbon tool to attract your site&#8217;s visitors attention to new features, announcements, sales, etc. Get rid of the boring banners and make your news stand out with a style.<br />
<a href="http://www.quickribbon.com/"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/43.jpg" alt="Online generators" /></a></p>
<h4>Rounded Cornr</h4>
<p>Generate HTML/CSS code and images for rounded corners.<br />
<a href="http://www.roundedcornr.com/"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/44.jpg" alt="Online generators" /></a></p>
<h4>Web 2.0 Badges</h4>
<p>They are probably one of the most popular trend in Web 2.0 time. It&#8217;s most over-used trendy little design technique in our days, they immediately attract visitor&#8217;s attention. Web badges have various round or square corners and eye-catchy colours.<br />
<a href="http://www.web20badges.com/"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/45.jpg" alt="Online generators" /></a></p>
<h4>Web 2.0 Free Logo Generator</h4>
<p><a href="http://www.simwebsol.com/ImageTool/"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/46.jpg" alt="Online generators" /></a></p>
<h4>Web 2.0 Stylr</h4>
<p>Enter your text, select your options and you have a logo! You can also &#8220;sign&#8221; your masterpiece to give yourself some well deserved credit!<br />
<a href="http://web2.0stylr.com/stylr.aspx"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/47.jpg" alt="Online generators" /></a></p>
<h4>Web Form Factory</h4>
<p>Web Form Factory is an open source web form generator which automatically generates the necessary backend code to tie your form to a database. By generating the backend code for you, WFF saves you time&#8230; time you could spend doing more interesting stuff.<br />
<a href="http://www.webformfactory.com/"><img src="http://static.dtuts.com/web/tuts/Online-generators-for-web-development/48.jpg" alt="Online generators" /></a></p>
<div id="crp_related"><h3>Related Posts</h3><ul class="related-posts"><li><a href="http://web.dtuts.com/tutorials/about-png-optimization-techniques/" rel="bookmark"><img src="http://static.dtuts.com/web/tuts/png-optimization-techniques/header.png" alt="About PNG Optimization Techniques" title="About PNG Optimization Techniques" width="100" height="100" border="0" class="crp_thumb" /></a> </li><li><a href="http://web.dtuts.com/tutorials/useful-html5-css3-toolbox-for-web-developers/" rel="bookmark"><img src="http://static.dtuts.com/web/tuts/HTML5-CSS3-Toolbox/header.jpg" alt="Useful HTML5 &#038; CSS3 Toolbox For Web Developers" title="Useful HTML5 &#038; CSS3 Toolbox For Web Developers" width="100" height="100" border="0" class="crp_thumb" /></a> </li><li><a href="http://web.dtuts.com/articles/15-handy-html5css3-frameworks-for-web-developers/" rel="bookmark"><img src="http://static.dtuts.com/web/tuts/CSS-Frameworks/header.jpg" alt="15 Handy HTML5/CSS3 Frameworks For Web Developers" title="15 Handy HTML5/CSS3 Frameworks For Web Developers" width="100" height="100" border="0" class="crp_thumb" /></a> </li><li><a href="http://web.dtuts.com/articles/35-fresh-css3-articles-tutorials/" rel="bookmark"><img src="http://static.dtuts.com/web/tuts/35-Fresh-CSS3-Articles-Tutorials/header.jpg" alt="35 Fresh CSS3 Articles &#038; Tutorials" title="35 Fresh CSS3 Articles &#038; Tutorials" width="100" height="100" border="0" class="crp_thumb" /></a> </li><li><a href="http://web.dtuts.com/tutorials/constructor-theme-for-wordpress/" rel="bookmark"><img src="http://static.dtuts.com/web/tuts/constructor-theme-for-wordpress/header.jpg" alt="Constructor Theme for WordPress" title="Constructor Theme for WordPress" width="100" height="100" border="0" class="crp_thumb" /></a> </li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://web.dtuts.com/articles/online-generators-for-web-development-ultimate-colle%d1%81tion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to create a Progress bar with HTML5 Canvas</title>
		<link>http://web.dtuts.com/tutorials/how-to-create-a-progress-bar-with-html5-canvas/</link>
		<comments>http://web.dtuts.com/tutorials/how-to-create-a-progress-bar-with-html5-canvas/#comments</comments>
		<pubDate>Thu, 24 Feb 2011 21:51:52 +0000</pubDate>
		<dc:creator>AndrewG</dc:creator>
				<category><![CDATA[HTML and CSS]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Canvas]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Progress bar]]></category>

		<guid isPermaLink="false">http://web.dtuts.com/?p=50</guid>
		<description><![CDATA[There is a great amount of articles about Canvas on the internet, but I would like to show the example of how you can use Canvas on practice, namely the creation of animated progress bar. Those who are impatient can find the result of the experiment here, as well as a screenshot of the final [...]]]></description>
			<content:encoded><![CDATA[<p>There is a great amount of articles about Canvas on the internet, but I would like to show the example of how you can use Canvas on practice, namely the creation of animated progress bar. <span id="more-50"></span></p>
<p>Those who are impatient can find the result of the experiment <a href="http://pastehtml.com/view/1d7z824.html">here</a>, as well as a screenshot of the final result:<br />
<img src="http://static.dtuts.com/web/tuts/Progress-bar-HTML5-Canvas/dd3c65.png"  alt="" /></p>
<p>The progress bar has turned out pretty simple, but at the same time, in the style of Web 2.0 &#8211; round (of course!), with elements of depth and volume: that is, shadows and gradients. </p>
<h4>Substrate</h4>
<p>Let&#8217;s start with a substrate, which will be filled with progress. We are going to round the angles of the rectangle with the help of <a href="https://developer.mozilla.org/en/Canvas_tutorial/Drawing_shapes#Arcs">arc () function</a>, so in this case the rectangle will always be rounded at the angles in a way of semicircles. To create an arbitrary rounding (as when using a border-radius) it is sufficient to use two <a href="http://en.wikipedia.org/wiki/Bezier_curves">Bezier curves</a> (<a href="https://developer.mozilla.org/en/Canvas_tutorial/Drawing_shapes#Bezier_and_quadratic_curves">Bezier and quadratic curves</a>) and direct interval between them (degenerating to a point in a semicircle, as in our case). Thus, the function of creation of the substrate’s filled outline will look in the following way: </p>
<pre class="brush: php; title: ; notranslate">function roundRect(ctx, x, y, width, height, radius) {
    ctx.beginPath();
    ctx.moveTo(x + radius, y);
    ctx.lineTo(x + width - radius, y);
    ctx.arc(x+width-radius, y+radius, radius, -Math.PI/2, Math.PI/2, false);
    ctx.lineTo(x + radius, y + height);
    ctx.arc(x+radius, y+radius, radius, Math.PI/2, 3*Math.PI/2, false);
    ctx.closePath();
    ctx.fill();
}
</pre>
<p>Then we add shadows and volume to the substrate. Create volume using a linear gradient with three stops, the shadows &#8211; with the standard properties of the context:</p>
<pre class="brush: php; title: ; notranslate">function progressLayerRect(ctx, x, y, width, height, radius) {
    ctx.save();
    // Define the shadows
    ctx.shadowOffsetX = 2;
    ctx.shadowOffsetY = 2;
    ctx.shadowBlur = 5;
    ctx.shadowColor = '#666';

     // first grey layer
    ctx.fillStyle = 'rgba(189,189,189,1)';
    roundRect(ctx, x, y, width, height, radius);

    // second layer with gradient
    // remove the shadow
    ctx.shadowColor = 'rgba(0,0,0,0)';
    var lingrad = ctx.createLinearGradient(0,y+height,0,0);
    lingrad.addColorStop(0, 'rgba(255,255,255, 0.1)');
    lingrad.addColorStop(0.4, 'rgba(255,255,255, 0.7)');
    lingrad.addColorStop(1, 'rgba(255,255,255,0.4)');
    ctx.fillStyle = lingrad;
    roundRect(ctx, x, y, width, height, radius);

    ctx.restore();
}</pre>
<p>Two layers are being used here &#8211; the lower solid gray and the top white with gradients of transparency. In my opinion it provides more precise boundaries of the substrate and looks more realistic, in any case you can always experiment with all the color settings.<br />
 If everything was done correctly, you will get something like this:<br />
<img src="http://static.dtuts.com/web/tuts/Progress-bar-HTML5-Canvas/ec3d99.png"  alt="" /></p>
<h4>Progress bar</h4>
<p>Now let’s move to the creation of progress that will fill the substrate. Progress &#8211; it&#8217;s the same rectangle with rounded angles, it only has a different color.<br />
But it has a special feature that differs it from the substrate and which should be taken into account in drawing – when the width of the progress is less than the radius of rounding and when the width is greater than the length of the substrate minus radius. In this case it is necessary to determine the angles of rounding’s drawing and the position of <a href="http://en.wikipedia.org/wiki/Chord_%28geometry%29">chord of circle</a>, all the calculations can be made with the help of geometry course, see the picture below:<br />
<img src="http://static.dtuts.com/web/tuts/Progress-bar-HTML5-Canvas/9a3621.png"  alt="" /></p>
<p>Plus we add the shadow on the right angle of the progress to attach the volume effect.<br />
At the end we get the following drawing code of the progress:</p>
<pre class="brush: php; title: ; notranslate">function progressBarRect(ctx, x, y, width, height, radius, max) {
    // deplacement for chord drawing
    var offset = 0;
    ctx.beginPath();
    if (width&lt;radius) {
        offset = radius - Math.sqrt(Math.pow(radius,2)-Math.pow((radius-width),2));
        // Left angle
        var left_angle = Math.acos((radius - width) / radius);
        ctx.moveTo(x + width, y+offset);
        ctx.lineTo(x + width, y+height-offset);
        ctx.arc(x + radius, y + radius, radius, Math.PI - left_angle, Math.PI + left_angle, false);
    }
    else if (width+radius&gt;max) {
        offset = radius - Math.sqrt(Math.pow(radius,2)-Math.pow((radius - (max-width)),2));
        // Right angle
        var right_angle = Math.acos((radius - (max-width)) / radius);
        ctx.moveTo(x + radius, y);
        ctx.lineTo(x + width, y);
        ctx.arc(x+max-radius, y + radius, radius, -Math.PI/2, -right_angle, false);
        ctx.lineTo(x + width, y+height-offset);
        ctx.arc(x+max-radius, y + radius, radius, right_angle, Math.PI/2, false);
        ctx.lineTo(x + radius, y + height);
        ctx.arc(x+radius, y+radius, radius, Math.PI/2, 3*Math.PI/2, false);
    }
    else {
        ctx.moveTo(x + radius, y);
        ctx.lineTo(x + width, y);
        ctx.lineTo(x + width, y + height);
        ctx.lineTo(x + radius, y + height);
        ctx.arc(x+radius, y+radius, radius, Math.PI/2, 3*Math.PI/2, false);
    }
    ctx.closePath();
    ctx.fill();

    // shadow on the right
    if (width&lt;max-1) {
        ctx.save();
        ctx.shadowOffsetX = 1;
        ctx.shadowBlur = 1;
        ctx.shadowColor = '#666';
        if (width+radius&gt;max)
            offset = offset+1;
        ctx.fillRect(x+width,y+offset,1,total_height-offset*2);
        ctx.restore();
    }
}
</pre>
<p>Here, unlike the previous function, we don’t save and renew the context as in case with the substrate, because we are going to define context’s global attributes for the progress.</p>
<h4>Text of the progress</h4>
<p>Now we add the text that will display the state of progress in per cent. If the length of the text is less than the length of the progress, text will be placed directly at the right angle of the progress, otherwise it will be on the left angle of the progress. To measure the text length we use <a href="https://developer.mozilla.org/en/drawing_text_using_a_canvas#measureText%28%29"> measureText() function</a>:</p>
<pre class="brush: php; title: ; notranslate">function progressText(ctx, x, y, width, height, radius, max) {
    ctx.save();
    ctx.fillStyle = 'white';
    var text = Math.floor(width/max*100)+&quot;%&quot;;
    var text_width = ctx.measureText(text).width;
    var text_x = x+width-text_width-radius/2;
    if (width&lt;=radius+text_width) {
        text_x = x+radius/2;
    }
    ctx.fillText(text, text_x, y+22);
    ctx.restore();
}
</pre>
<h4>Full-fledged progress indicator</h4>
<p>Now we need to unite all the parts together and define the animation that will fill the progress from 0 to 100%. To create the animation we use <a href="https://developer.mozilla.org/en/DOM/window.setInterval">sеtInterval()</a> and <a href="https://developer.mozilla.org/en/DOM/window.clearInterval">clearInterval()</a> functions:</p>
<pre class="brush: php; title: ; notranslate">// Define the size and position of indicator
var i = 0;
var res = 0;
var context = null;
var total_width = 300;
var total_height = 34;
var initial_x = 20;
var initial_y = 20;
var radius = total_height/2;

window.onload = function() {
    // Get the canvas element
    var elem = document.getElementById('myCanvas');
    // Check the canvas support with the help of browser
    if (!elem || !elem.getContext) {
        return;
    }

    context = elem.getContext('2d');
    if (!context) {
        return;
    }

    // Text’s font of the progress
    context.font = &quot;16px Verdana&quot;;

    // Gradient of the progress
    var progress_lingrad = context.createLinearGradient(0,initial_y+total_height,0,0);
    progress_lingrad.addColorStop(0, '#4DA4F3');
    progress_lingrad.addColorStop(0.4, '#ADD9FF');
    progress_lingrad.addColorStop(1, '#9ED1FF');
    context.fillStyle = progress_lingrad;

    // Create the animation
    res = setInterval(draw, 50);
}

function draw() {
    // augment the length on 1 for every iteration
    i+=1;

    // Clear the layer
    context.clearRect(initial_x-5,initial_y-5,total_width+15,total_height+15);
    progressLayerRect(context, initial_x, initial_y, total_width, total_height, radius);
    progressBarRect(context, initial_x, initial_y, i, total_height, radius, total_width);
    progressText(context, initial_x, initial_y, i, total_height, radius, total_width );
    // stop the animation when it reaches 100%
    if (i&gt;=total_width) {
        clearInterval(res);
    }
}
</pre>
<p>That’s all, now all we need is to put javascript code in <i>script</i> tag, and in <i>body</i>  document we should add: </p>
<pre class="brush: php; title: ; notranslate">&lt;canvas id=&quot;myCanvas&quot; width=&quot;500&quot; height=&quot;150&quot;&gt;Your browser does not have support for canvas.&lt;/canvas&gt;</pre>
<p>The link for the final result: http://pastehtml.com/view/1d7z824.html</p>
<h4>Inset Shadow</h4>
<p>The thing is that there is no such tools for creation of the inset shadow in canvas as easy as in CSS, and the essence of the method described above is in using the «Opposite winding» technique that also can be used in canvas.<br />
And finally, I prepared another style of the substrate that can be created with the help of inset shadow, in this case the substrate will be sunken inside. The original idea was taken here: http://weblog.bocoup.com/can-i-draw-an-inset-shadow-with-the-html5-canvas-api</p>
<p>To reach the desirable effect first you need to draw an inset shadow, you will first need to punch the shape of your hole in a clockwise direction, onto a large square being drawn in an anti-clockwise direction. Once you have done this, it’s simply a matter of adding your shadow parameters to the Canvas context. To get the inset shadow effect we need to create a new function roundInsetRect()  and to modify progressLayerRect() function in the following way:</p>
<pre class="brush: php; title: ; notranslate">function roundInsetRect(ctx, x, y, width, height, radius) {
    ctx.beginPath();

    // draw the outward rectangle in an anti-clockwise direction
    ctx.moveTo(1000, 1000);
    ctx.lineTo(1000, -1000);
    ctx.lineTo(-1000, -1000);
    ctx.lineTo(-1000, 1000);
    ctx.lineTo(1000, 1000);

    ctx.moveTo(x + radius, y);
    ctx.lineTo(x + width - radius, y);
    ctx.arc(x+width-radius, y+radius, radius, -Math.PI/2, Math.PI/2, false);
    ctx.lineTo(x + radius, y + height);
    ctx.arc(x+radius, y+radius, radius, Math.PI/2, 3*Math.PI/2, false);
    ctx.closePath();
    ctx.fill();
}
function progressLayerRect(ctx, x, y, width, height, radius) {
    ctx.save();
    // define the shadows
    ctx.shadowOffsetX = 2;
    ctx.shadowOffsetY = 2;
    ctx.shadowBlur = 5;
    ctx.shadowColor = '#666';

     // first gray layer
    ctx.fillStyle = 'rgba(189,189,189,1)';
    roundRect(ctx, x, y, width, height, radius);

    ctx.fillStyle = 'white';
    roundInsetRect(ctx, x, y, width, height, radius);

    ctx.restore();
}
</pre>
<p>Here you can see the way it will look: http://pastehtml.com/view/1d80e6t.html</p>
<div id="crp_related"><h3>Related Posts</h3><ul class="related-posts"><li><a href="http://web.dtuts.com/tutorials/creating-a-framework-for-canvas-objects-and-mouse/" rel="bookmark"><img src="http://static.dtuts.com/web/tuts/Creating-a-Framework-For-Canvas-Objects-and-Mouse/header.jpg" alt="Creating a Framework For Canvas: Objects and Mouse" title="Creating a Framework For Canvas: Objects and Mouse" width="100" height="100" border="0" class="crp_thumb" /></a> </li><li><a href="http://web.dtuts.com/articles/scss-%e2%80%94-a-new-icing-from-sass/" rel="bookmark"><img src="http://static.dtuts.com/web/tuts/sass/header.jpg" alt="SCSS — a new icing from Sass" title="SCSS — a new icing from Sass" width="100" height="100" border="0" class="crp_thumb" /></a> </li><li><a href="http://web.dtuts.com/tutorials/useful-html5-css3-toolbox-for-web-developers/" rel="bookmark"><img src="http://static.dtuts.com/web/tuts/HTML5-CSS3-Toolbox/header.jpg" alt="Useful HTML5 &#038; CSS3 Toolbox For Web Developers" title="Useful HTML5 &#038; CSS3 Toolbox For Web Developers" width="100" height="100" border="0" class="crp_thumb" /></a> </li><li><a href="http://web.dtuts.com/tutorials/universal-method-of-block-decoration/" rel="bookmark"><img src="http://static.dtuts.com/web/tuts/universal-method-block-decoration/header.jpg" alt="Universal Method of Block Decoration" title="Universal Method of Block Decoration" width="100" height="100" border="0" class="crp_thumb" /></a> </li><li><a href="http://web.dtuts.com/articles/35-fresh-css3-articles-tutorials/" rel="bookmark"><img src="http://static.dtuts.com/web/tuts/35-Fresh-CSS3-Articles-Tutorials/header.jpg" alt="35 Fresh CSS3 Articles &#038; Tutorials" title="35 Fresh CSS3 Articles &#038; Tutorials" width="100" height="100" border="0" class="crp_thumb" /></a> </li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://web.dtuts.com/tutorials/how-to-create-a-progress-bar-with-html5-canvas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

