<?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>SmartnetzoneTitorials</title>
	<atom:link href="http://demo.smartnetzone.com/category/tutorials/feed/" rel="self" type="application/rss+xml" />
	<link>http://demo.smartnetzone.com</link>
	<description></description>
	<lastBuildDate>Mon, 15 Aug 2011 16:12:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>Five Great SEO Tips Of Improving Traffic</title>
		<link>http://demo.smartnetzone.com/five-great-seo-tips-of-improving-traffic/</link>
		<comments>http://demo.smartnetzone.com/five-great-seo-tips-of-improving-traffic/#comments</comments>
		<pubDate>Wed, 03 Aug 2011 15:25:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://demo.smartnetzone.com/?p=885</guid>
		<description><![CDATA[
SEO is one of the primary things that you must do in order to start earning from your website. Here are some of the best tips that you must follow so as to improve traffic on your website.
1. Commenting: Commenting is one of the easiest and difficult tasks in any SEO. Commenting is easy because you don’t have to do ...]]></description>
			<content:encoded><![CDATA[<p><a href="http://demo.smartnetzone.com/wp-content/uploads/2011/08/seo-search-engine-tips.jpg"><img class="aligncenter size-full wp-image-886" title="seo-search-engine-tips" src="http://demo.smartnetzone.com/wp-content/uploads/2011/08/seo-search-engine-tips.jpg" alt="" width="590" height="350" /></a></p>
<p style="text-align: justify;">SEO is one of the primary things that you must do in order to start earning from your website. Here are some of the best tips that you must follow so as to improve traffic on your website.</p>
<p style="text-align: justify;">1. Commenting: Commenting is one of the easiest and difficult tasks in any SEO. Commenting is easy because you don’t have to do anything i.e. you simply have to read the post and put in your comment. The commenting is also difficult because of the topic and the time it take to get your comment approved. You must respond to the comments that are posted by the others on your post as this will encourage the two way communication that will increase enthusiasm in the readers and the readers will become loyal and they come back again and again. Commenting also helps in bringing backlinks that will improve the page rank of your blog.</p>
<p style="text-align: justify;">2. Social Networking: Social Networking sites can have a viral influence on your website. This can be used to boost the blog traffic and is a best way to catch attention of masses that use these sites on the daily basis. Share your blog posts and articles with your friends and family on the Facebook, twitter, etc. and see the boost in the traffic yourself.</p>
<p style="text-align: justify;">3. Directory Submissions: The traffic on your website is directory proportion to the Page Rank of your website. The more backlinks you have the better will be the Page Rank. In order to have backlinks submit your site in web directories that has a good page rank. This will enable you to have quality backlinks that will attribute to your top position in the search engines. Another way of improving Page Rank is to exchange links where you give them the link of your site and then obtain theirs in return.</p>
<p style="text-align: justify;">4. Guest Posts: Inviting guests to write post on your blog will be of great help in boosting traffic on your site. This will ensure that you reach out newer audiences that will be interested in your blog. The guest will share some of his expertise that will be informative and qualitative and will surely redirect some of the readers on your blog. Thus if your blog is experiencing lagging leadership then guest post is the best way to catch some attention.</p>
<p style="text-align: justify;">5. Blog Organization: The organization of the blog is another important factor that will bring in new readers on your site. The layout must be easy to guide and the readers should feel it as a worth reading the post. The categories and other posting titles must be self-explanatory and descriptive so that the readers become loyal and come back to your site again and again.</p>
<p style="text-align: justify;"><strong>Author Bio</strong> : Dan Jaslanek is a certified Microsoft Professional, and active member of Microsoft’s MVP program. Dan’s company specializes in providing <a href="http://www.techinline.com/" target="_blank">remote desktop</a> support to commercial and residential clients.</p>
]]></content:encoded>
			<wfw:commentRss>http://demo.smartnetzone.com/five-great-seo-tips-of-improving-traffic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Content slide on menu hover using jquery</title>
		<link>http://demo.smartnetzone.com/content-slide-on-menu-hover-using-jquery/</link>
		<comments>http://demo.smartnetzone.com/content-slide-on-menu-hover-using-jquery/#comments</comments>
		<pubDate>Thu, 28 Jul 2011 15:36:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Html & Css]]></category>
		<category><![CDATA[Jquery]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://demo.smartnetzone.com/?p=876</guid>
		<description><![CDATA[Hi everyone, Most of the web clients dont like the page loading to see the content. They want it to be very user friendly and without the page loading. So Today we will slide the content of each page on mouse over using jquery. We use jquery mouse over effect to slide the content of each menu. It will be ...]]></description>
			<content:encoded><![CDATA[<p>Hi everyone, Most of the web clients dont like the page loading to see the content. They want it to be very user friendly and without the page loading. So Today we will slide the content of each page on mouse over using jquery. We use jquery mouse over effect to slide the content of each menu. It will be very useful for all kind of web applications.</p>
<p><a href="http://demo.smartnetzone.com/wp-content/uploads/2011/07/slide_content_mouse_over.png"><img src="http://demo.smartnetzone.com/wp-content/uploads/2011/07/slide_content_mouse_over.png" alt="" title="slide_content_mouse_over" width="580" height="580" class="aligncenter size-full wp-image-881" /></a></p>
<div id="slider_content">
<div id="source">
<ul>
<li><a target="_blank" href="http://www.smartnetzone.com/blog_demos/content_slide_on_mouseover_jquery.zip">Download</a></li>
<li><a target="_blank" href="http://www.smartnetzone.com/blog_demos/content_slide_on_mouseover_jquery/index.html">Demo</a></li>
</ul>
</div>
</div>
<h2>So how we do it?</h2>
<p>I have implemented both horizontal and vertical menu in demo with some additional styles. And we will focus on horizontal menu in this tutorial. At first we create a menu with some content. The code will look like the following,</p>
<pre class="html">
<span class="htmlOtherTag">&lt;div id=<span class="htmlAttributeValue">&quot;container&quot;</span>&gt;</span>
	<span class="htmlOtherTag">&lt;h2&gt;</span>Menu with mouse over content slide using jquery<span class="htmlOtherTag">&lt;/h2&gt;</span>
	<span class="htmlOtherTag">&lt;div id=<span class="htmlAttributeValue">&quot;content-tab&quot;</span>&gt;</span>
	  <span class="htmlOtherTag">&lt;ul id=<span class="htmlAttributeValue">&quot;menu&quot;</span>&gt;</span>
	    <span class="htmlOtherTag">&lt;li&gt;</span><span class="htmlAnchorTag">&lt;a href=<span class="htmlAttributeValue">&quot;#&quot;</span>&gt;</span>Home<span class="htmlAnchorTag">&lt;/a&gt;</span><span class="htmlOtherTag">&lt;/li&gt;</span>
	    <span class="htmlOtherTag">&lt;li&gt;</span><span class="htmlAnchorTag">&lt;a href=<span class="htmlAttributeValue">&quot;#&quot;</span>&gt;</span>About<span class="htmlAnchorTag">&lt;/a&gt;</span><span class="htmlOtherTag">&lt;/li&gt;</span>
	    <span class="htmlOtherTag">&lt;li&gt;</span><span class="htmlAnchorTag">&lt;a href=<span class="htmlAttributeValue">&quot;#&quot;</span>&gt;</span>Services<span class="htmlAnchorTag">&lt;/a&gt;</span><span class="htmlOtherTag">&lt;/li&gt;</span>
	    <span class="htmlOtherTag">&lt;li&gt;</span><span class="htmlAnchorTag">&lt;a href=<span class="htmlAttributeValue">&quot;#&quot;</span>&gt;</span>Clients<span class="htmlAnchorTag">&lt;/a&gt;</span><span class="htmlOtherTag">&lt;/li&gt;</span>
	  <span class="htmlOtherTag">&lt;/ul&gt;</span>
		<span class="htmlComment"><span class="htmlOtherTag">&lt;!-- All tab content goes here--&gt;</span></span>
		<span class="htmlOtherTag">&lt;div id=<span class="htmlAttributeValue">&quot;tab&quot;</span>&gt;</span>
			<span class="htmlOtherTag">&lt;h4&gt;</span>Home<span class="htmlOtherTag">&lt;/h4&gt;</span>
	Vivamus quis lectus ut tellus elementum aliquam. Praesent fermentum adipiscing ligula;
		<span class="htmlOtherTag">&lt;/div&gt;</span>
		<span class="htmlOtherTag">&lt;div id=<span class="htmlAttributeValue">&quot;tab&quot;</span>&gt;</span>
			<span class="htmlOtherTag">&lt;h4&gt;</span>About<span class="htmlOtherTag">&lt;/h4&gt;</span>
			Duis nisl risus, ultricies ac iaculis fringilla, ultricies ac nisi.
		<span class="htmlOtherTag">&lt;/div&gt;</span>
		<span class="htmlOtherTag">&lt;div id=<span class="htmlAttributeValue">&quot;tab&quot;</span>&gt;</span>
			<span class="htmlOtherTag">&lt;h4&gt;</span>Services<span class="htmlOtherTag">&lt;/h4&gt;</span>
	Nulla hendrerit pellentesque feugiat. In adipiscing orci at nunc laoreet
		<span class="htmlOtherTag">&lt;/div&gt;</span>
		<span class="htmlOtherTag">&lt;div id=<span class="htmlAttributeValue">&quot;tab&quot;</span>&gt;</span>
			<span class="htmlOtherTag">&lt;h4&gt;</span>Clients<span class="htmlOtherTag">&lt;/h4&gt;</span>
			Donec ac arcu sit amet libero mollis feugiat non non tellus.
		<span class="htmlOtherTag">&lt;/div&gt;</span>
	<span class="htmlOtherTag">&lt;/div&gt;</span>
<span class="htmlOtherTag">&lt;/div&gt;</span>
</pre>
<p>Here we have created a menu with four links, and the content of each link available in each tab respectively. Now we apply some styles to make it look like a menu with some content. the css will look like,</p>
<pre class="css">
<span class="cssSelector">body {</span>
	<span class="cssProperty">background</span><span class="cssRest">:</span><span class="cssValue"> #eeeeee</span><span class="cssRest">;</span>
<span class="cssSelector">}</span>
<span class="cssSelector">#container {</span>
	<span class="cssProperty">width</span><span class="cssRest">:</span><span class="cssValue"> 630px</span><span class="cssRest">;</span>
	<span class="cssProperty">margin</span><span class="cssRest">:</span><span class="cssValue"> 0 auto</span><span class="cssRest">;</span>
<span class="cssSelector">}</span>
<span class="cssSelector">#menu {</span>
	<span class="cssProperty">padding</span><span class="cssRest">:</span><span class="cssValue"> 0</span><span class="cssRest">;</span>
	<span class="cssProperty">width</span><span class="cssRest">:</span><span class="cssValue">630px</span><span class="cssRest">;</span>
<span class="cssSelector">}</span>
<span class="cssSelector">#menu li {</span>
	<span class="cssProperty">display</span><span class="cssRest">:</span><span class="cssValue"> inline</span><span class="cssRest">;</span>
<span class="cssSelector">}</span>
<span class="cssSelector">#menu li a {</span>
	<span class="cssProperty">font-family</span><span class="cssRest">:</span><span class="cssValue"> Arial</span><span class="cssRest">;</span>
	<span class="cssProperty">font-size</span><span class="cssRest">:</span><span class="cssValue">11px</span><span class="cssRest">;</span>
	<span class="cssProperty">text-decoration</span><span class="cssRest">:</span><span class="cssValue"> none</span><span class="cssRest">;</span>
	<span class="cssProperty">float</span><span class="cssRest">:</span><span class="cssValue">left</span><span class="cssRest">;</span>
	<span class="cssProperty">padding</span><span class="cssRest">:</span><span class="cssValue"> 10px 18px 10px 17px</span><span class="cssRest">;</span>
	<span class="cssProperty">background-color</span><span class="cssRest">:</span><span class="cssValue"> #2175bc</span><span class="cssRest">;</span>
	<span class="cssProperty">color</span><span class="cssRest">:</span><span class="cssValue"> #fff</span><span class="cssRest">;</span>
<span class="cssSelector">}</span>
<span class="cssSelector">#menu li.selected a {</span>
	<span class="cssProperty">background-color</span><span class="cssRest">:</span><span class="cssValue"> #2586d7</span><span class="cssRest">;</span>
	<span class="cssProperty">margin-top</span><span class="cssRest">:</span><span class="cssValue">-2px</span><span class="cssRest">;</span>
	<span class="cssProperty">padding-bottom</span><span class="cssRest">:</span><span class="cssValue">12px</span><span class="cssRest">;</span>
<span class="cssSelector">}</span>
<span class="cssSelector">#content-tab {</span>
    <span class="cssProperty">margin</span><span class="cssRest">:</span><span class="cssValue"> auto</span><span class="cssRest">;</span>
    <span class="cssProperty">width</span><span class="cssRest">:</span><span class="cssValue"> 480px</span><span class="cssRest">;</span>
    <span class="cssProperty">height</span><span class="cssRest">:</span><span class="cssValue"> 100%</span><span class="cssRest">;</span>
		<span class="cssProperty">float</span><span class="cssRest">:</span><span class="cssValue"> left</span><span class="cssRest">;</span>
<span class="cssSelector">}</span>
<span class="cssSelector">#content-tab ul li.selected {</span>
    <span class="cssProperty">background</span><span class="cssRest">:</span><span class="cssValue"> url(<span class="cssString">"../images/arrow.png"</span>) no-repeat scroll 0 -2px transparent</span><span class="cssRest">;</span>
    <span class="cssProperty">border</span><span class="cssRest">:</span><span class="cssValue"> medium none</span><span class="cssRest">;</span>
    <span class="cssProperty">position</span><span class="cssRest">:</span><span class="cssValue"> relative</span><span class="cssRest">;</span>
    <span class="cssProperty">z-index</span><span class="cssRest">:</span><span class="cssValue"> 10</span><span class="cssRest">;</span>
    <span class="cssProperty">color</span><span class="cssRest">:</span><span class="cssValue"> #ffffff</span><span class="cssRest">;</span>
<span class="cssSelector">}</span>
<span class="cssSelector">#content-tab div#tab {</span>
	<span class="cssProperty">float</span><span class="cssRest">:</span><span class="cssValue"> left</span><span class="cssRest">;</span>
	<span class="cssProperty">height</span><span class="cssRest">:</span><span class="cssValue"> 212px</span><span class="cssRest">;</span>
	<span class="cssProperty">padding</span><span class="cssRest">:</span><span class="cssValue"> 12px</span><span class="cssRest">;</span>
	<span class="cssProperty">width</span><span class="cssRest">:</span><span class="cssValue"> 537px</span><span class="cssRest">;</span>
	z-index: 9;
	<span class="cssProperty">border</span><span class="cssRest">:</span><span class="cssValue"> 1px solid #2175bc</span><span class="cssRest">;</span>
	<span class="cssProperty">min-height</span><span class="cssRest">:</span><span class="cssValue"> 200px</span><span class="cssRest">;</span>
<span class="cssSelector">}</span>
</pre>
<p>Now our menu with its content is ready. we add jquery now to apply mouse over effect. Mouse over on a menu link will be show it&#8217;s content  in the content area. The jquery will look like,</p>
<pre class="html">
    <span class="htmlComment"><span class="htmlOtherTag">&lt;!-- Jquery package --&gt;</span></span>
    <span class="htmlScriptTag">&lt;script type=<span class="htmlAttributeValue">&quot;text/javascript&quot;</span> src=<span class="htmlAttributeValue">&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js&quot;</span>&gt;</span><span class="htmlScriptTag">&lt;/script&gt;</span>
    <span class="htmlComment"><span class="htmlOtherTag">&lt;!-- content slide script on mouse over --&gt;</span></span>
    <span class="htmlScriptTag">&lt;script type=<span class="htmlAttributeValue">&quot;text/javascript&quot;</span>&gt;</span>
        $(function() {
            var $items = $(&#039;#content-tab ul li&#039;);
            $items.mouseover(function() {
                $items.removeClass(&#039;selected&#039;);
                $(this).addClass(&#039;selected&#039;);
                var index = $items.index($(this));
                $(&#039;#content-tab div#tab&#039;).hide().eq(index).show();
            }).eq(1).mouseover();
        });
    <span class="htmlScriptTag">&lt;/script&gt;</span>
</pre>
<p>We have added the jquery package and the script to slide the content. The script will find the mouse over menu item and adds a class &#8220;selected&#8221;. &#8220;selected&#8221; class is used to highlight that particular link. Then the script hides all other links and shows only the mouse over menu link content. Thats it very simple. check out the demo and download it.</p>
]]></content:encoded>
			<wfw:commentRss>http://demo.smartnetzone.com/content-slide-on-menu-hover-using-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Jquery in html</title>
		<link>http://demo.smartnetzone.com/jquery-in-html/</link>
		<comments>http://demo.smartnetzone.com/jquery-in-html/#comments</comments>
		<pubDate>Thu, 16 Jun 2011 18:39:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://demo.smartnetzone.com/?p=858</guid>
		<description><![CDATA[Hi everyone, This post is mainly for very basic jquery beginners. The first problem they find is about integrating jquery in html. jQuery is a lightweight &#8220;write less, do more&#8221; JavaScript library. So we are going to write less and do a lot with integrating jquery in html. 

Lets have a look at a very basic html code for a ...]]></description>
			<content:encoded><![CDATA[<p>Hi everyone, This post is mainly for very basic jquery beginners. The first problem they find is about integrating jquery in html. jQuery is a lightweight &#8220;write less, do more&#8221; JavaScript library. So we are going to write less and do a lot with integrating jquery in html. </p>
<p><a href="http://demo.smartnetzone.com/wp-content/uploads/2011/06/jquery_scratch.jpg"><img src="http://demo.smartnetzone.com/wp-content/uploads/2011/06/jquery_scratch.jpg" alt="jquery_scratch" title="jquery_scratch" width="200" height="200" class="aligncenter size-full wp-image-860" /></a></p>
<p>Lets have a look at a very basic html code for a web page.</p>
<pre class="html">
<span class="htmlOtherTag">&lt;html&gt;</span>
	<span class="htmlOtherTag">&lt;head&gt;</span>
        <span class="htmlOtherTag">&lt;/head&gt;</span>
	<span class="htmlOtherTag">&lt;body&gt;</span>
		<span class="htmlOtherTag">&lt;p&gt;</span>This is another paragraph.<span class="htmlOtherTag">&lt;/p&gt;</span>
	<span class="htmlOtherTag">&lt;/body&gt;</span>
<span class="htmlOtherTag">&lt;/html&gt;</span>
</pre>
<p>Here we have a simple html page, which contains only a paragraph. Now we will integrate jquery inside the head tag of this html page.</p>
<pre class="html">
<span class="htmlOtherTag">&lt;html&gt;</span>
	<span class="htmlOtherTag">&lt;head&gt;</span>
        <span class="htmlScriptTag">&lt;script type=<span class="htmlAttributeValue">&quot;text/javascript&quot;</span> src=<span class="htmlAttributeValue">&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js&quot;</span>&gt;</span><span class="htmlScriptTag">&lt;/script&gt;</span>
        <span class="htmlOtherTag">&lt;/head&gt;</span>
	<span class="htmlOtherTag">&lt;body&gt;</span>
		<span class="htmlOtherTag">&lt;p&gt;</span>This is another paragraph.<span class="htmlOtherTag">&lt;/p&gt;</span>
	<span class="htmlOtherTag">&lt;/body&gt;</span>
<span class="htmlOtherTag">&lt;/html&gt;</span>
</pre>
<p>I have integrated jquery package using the script tag. and src attribute contains the path of jquery package. You can also download the package and use it. Now you can write jquery to provide some animation effects to your web page. Lets say for example,</p>
<pre class="html">
<span class="htmlOtherTag">&lt;html&gt;</span>
	<span class="htmlOtherTag">&lt;head&gt;</span>
        <span class="htmlScriptTag">&lt;script type=<span class="htmlAttributeValue">&quot;text/javascript&quot;</span> src=<span class="htmlAttributeValue">&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js&quot;</span>&gt;</span><span class="htmlScriptTag">&lt;/script&gt;</span>
	<span class="htmlScriptTag">&lt;script type=<span class="htmlAttributeValue">&quot;text/javascript&quot;</span>&gt;</span>
	$(document).ready(function(){
		$(&quot;p&quot;).click(function(){
		  $(&quot;p&quot;).hide();
		});
	});
	<span class="htmlScriptTag">&lt;/script&gt;</span>
        <span class="htmlOtherTag">&lt;/head&gt;</span>
	<span class="htmlOtherTag">&lt;body&gt;</span>
		<span class="htmlOtherTag">&lt;p&gt;</span>Click me. I will go away from this website<span class="htmlOtherTag">&lt;/p&gt;</span>
	<span class="htmlOtherTag">&lt;/body&gt;</span>
<span class="htmlOtherTag">&lt;/html&gt;</span>
</pre>
<p>When we click on the content of p tag(Click me. I will go away from this website), It will be removed. Like this you can do a lot with jquery. Spend some time with it. You will feel the power of jquery. Thank you.</p>
<div id="slider_content">
<div id="source">
<ul>
<li><a href="http://www.smartnetzone.com/blog_demos/jquery_in_html.zip" target="_blank">Download</a></li>
<li><a href="http://www.smartnetzone.com/blog_demos/jquery_in_html/index.html" target="_blank">Demo</a></li>
</ul>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://demo.smartnetzone.com/jquery-in-html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>php code in drupal</title>
		<link>http://demo.smartnetzone.com/php-code-in-drupal/</link>
		<comments>http://demo.smartnetzone.com/php-code-in-drupal/#comments</comments>
		<pubDate>Mon, 23 May 2011 08:14:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://demo.smartnetzone.com/?p=755</guid>
		<description><![CDATA[Beginners of drupal will always find a way to put their php code in drupal. If you couldn&#8217;t run the php code. It means you are not aware of &#8220;php filter module&#8220;. This post will help you to know about php filter module and a way to put your php code in drupal.
You can make the php code run in ...]]></description>
			<content:encoded><![CDATA[<p>Beginners of drupal will always find a way to put their <strong>php code in drupal</strong>. If you couldn&#8217;t run the php code. It means you are not aware of &#8220;<strong>php filter module</strong>&#8220;. This post will help you to know about php filter module and a way to put your php code in drupal.</p>
<p>You can make the php code run in any body area of drupal. But here we will begin with creating a block, naming it, and putting the php code in the body section of the block. Then assigning the block to a region to view the output of the php code.</p>
<h3>Step 1:</h3>
<p>Go to <strong>Administration =&gt; Structure =&gt; Blocks =&gt; Add Block </strong>to add a block, you will find the following page,</p>
<p><a href="http://demo.smartnetzone.com/wp-content/uploads/2011/05/add_block2.png"><img class="aligncenter size-large wp-image-757" title="add_block" src="http://demo.smartnetzone.com/wp-content/uploads/2011/05/add_block2-629x1024.png" alt="" width="629" height="1024" /></a></p>
<p>Name the block and fill its description. then you will find a drop down select field &#8220;Text Format&#8221;. you will find &#8220;PHP code&#8221; as an option. Choose it and write your php code in the body section.</p>
<h3>Step 2:</h3>
<p>If you dont find &#8220;PHP code&#8221; option. You have to enable the &#8220;<strong>PHP filter module</strong>&#8220;. Go to <strong>Administration =&gt; Modules. </strong>Scroll down to the <strong>PHP filter</strong> module  and check the Enabled box.  Press the Save Configuration button.</p>
<p><a href="http://demo.smartnetzone.com/wp-content/uploads/2011/05/php_filter_module.png"><img class="aligncenter size-full wp-image-759" title="php_filter_module" src="http://demo.smartnetzone.com/wp-content/uploads/2011/05/php_filter_module.png" alt="php_filter_module" width="630" height="45" /></a></p>
<p>Again scroll down to the same PHP filter module, you will find permissions link. Click on this to go to the Permissions page, Scroll down to the <strong>Filter</strong> section and you will find a new item called &#8220;Use the PHP code text format&#8221;.It&#8217;s checkbox  for the Administrator is not checked. Check the box and save the permission page. Now u r ready to put your php code anywhere in the drupal content area.</p>
<h3>Step 3:</h3>
<p>Go to <strong>Administration =&gt; Structure =&gt; Blocks, </strong>then click on the &#8220;configure&#8221; link next to your block. Scroll down to the Text Format dropdown.  You should see a new option called <strong>&#8220;PHP code&#8221;</strong>.  Select it.</p>
<p><a href="http://demo.smartnetzone.com/wp-content/uploads/2011/05/php_code.png"><img class="aligncenter size-full wp-image-758" title="php_code" src="http://demo.smartnetzone.com/wp-content/uploads/2011/05/php_code.png" alt="php_code_drupal" width="630" height="101" /></a></p>
<p>Write your php code in the body section and assign the block to a region. Save the block and view the php code output in that region.</p>
]]></content:encoded>
			<wfw:commentRss>http://demo.smartnetzone.com/php-code-in-drupal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Top 10 drupal modules</title>
		<link>http://demo.smartnetzone.com/top-10-drupal-modules/</link>
		<comments>http://demo.smartnetzone.com/top-10-drupal-modules/#comments</comments>
		<pubDate>Wed, 11 May 2011 20:45:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://demo.smartnetzone.com/?p=654</guid>
		<description><![CDATA[Drupal is the most popular content management system today, the strength of drupal comes from its modules. Modules are used to add new features to drupal CMS. In this post i have listed most popular and top 10 modules used today.

1.Administration Menu
Administration menu module provides an interface for Drupal. It’s very useful for Drupal users. It is must for all ...]]></description>
			<content:encoded><![CDATA[<p>Drupal is the most popular content management system today, the strength of drupal comes from its modules. Modules are used to add new features to drupal CMS. In this post i have listed most popular and top 10 modules used today.</p>
<p><a href="http://demo.smartnetzone.com/wp-content/uploads/2011/05/drupal-modules.png"><img src="http://demo.smartnetzone.com/wp-content/uploads/2011/05/drupal-modules.png" alt="drupal-modules" title="drupal-modules" width="650" height="234" class="aligncenter size-full wp-image-655" /></a></p>
<h3>1.Administration Menu</h3>
<p>Administration menu module provides an interface for Drupal. It’s very useful for Drupal users. It is must for all the drupal developers and site developers. The menu will be appeared at the top of the site. Which is a drop down menu with each categories. It gives you fast access for drupal backend.</p>
<p>Visit: <a href="http://drupal.org/project/admin_menu">http://drupal.org/project/admin_menu</a></p>
<h3>2.Views</h3>
<p>Probably the second most important module for Drupal website development. Views module is used to create views from content. This module creates query for the database and executes it to display the related content view. It is very useful when we want to display news, latest posts etc.</p>
<p>Visit: <a href="http://drupal.org/project/Views">http://drupal.org/project/Views</a></p>
<h3>3.CCK (Content Construction Kit)</h3>
<p>Content Construction Kit is a module, which allows you to create custom content types. It is a very handy module. This module is included in the core of drupal 7 version</p>
<p>Visit: <a href="http://drupal.org/project/cck">http://drupal.org/project/cck</a></p>
<h3>4.Panels</h3>
<p>This module allows you to create pages that are divided into areas of the page. It includes a couple of 2 column and 3 column layouts by default, With a little knowledge of html,css and php we can edit the layout. It also uses AJAX GUI.</p>
<p>Visit: <a href="http://drupal.org/project/Panels">http://drupal.org/project/Panels<br />
</a></p>
<h3>5.MultiBlock</h3>
<p>We can assign a block to only one region in drupal. MultiBlock creates another instance of that block to place in another region. We can have another block to a region. If you change the parent block its instance changes as well.</p>
<p>Visit: <a href="http://drupal.org/project/MultiBlock">http://drupal.org/project/MultiBlock</a></p>
<h3>6.Coder</h3>
<p>Latest version of drupal will not have support for older version modules. Coder module allows us to convert the older version module to higher version. Very useful for drupal developers.</p>
<p>Visit: <a href="http://drupal.org/project/coder">http://drupal.org/project/coder</a></p>
<h3>7.SEO Checklist</h3>
<p>Search Engine Optimization is very important for most of the sites. This module allows us to make the site popular by its checklist. Checklist will provide the actions need to be taken to maximize the site&#8217;s presence.</p>
<p>Visit: <a href="http://drupal.org/project/backup_migrate">http://drupal.org/project/backup_migrate</a></p>
<h3>8.Devel</h3>
<p>Devel very useful for drupal website designers and developers. It shows a summary of all database queries for each page request at the bottom of each page.</p>
<p>Visit: <a href="http://drupal.org/project/devel">http://drupal.org/project/devel</a></p>
<h3>9.Backup &amp; Migrate</h3>
<p>Backup &amp; Migrate module is used for automatic scheduled backups that run in the background with cron. It is also used to copy the database from one site to another.</p>
<p>Visit: <a href="http://drupal.org/project/backup_migrate">http://drupal.org/project/backup_migrate</a></p>
<h3>10.Pathauto</h3>
<p>The Pathauto module automatically generates path aliases for various kinds of content. The aliases are based upon a “pattern” system which the administrator can control.</p>
<p>Visit: <a href="http://drupal.org/project/pathauto">http://drupal.org/project/pathauto</a></p>
]]></content:encoded>
			<wfw:commentRss>http://demo.smartnetzone.com/top-10-drupal-modules/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Auto rotating tabs using jquery</title>
		<link>http://demo.smartnetzone.com/auto-rotating-tabs-using-jquery/</link>
		<comments>http://demo.smartnetzone.com/auto-rotating-tabs-using-jquery/#comments</comments>
		<pubDate>Mon, 09 May 2011 18:37:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Jquery]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://demo.smartnetzone.com/?p=640</guid>
		<description><![CDATA[Introduction:
Most of the websites use tabs to show their content today. Because it is a very useful user interface. Each tab contains some amount of content. We can view the content by clicking a tab. 

In this tutorial we implement a new feature called auto rotating tabs. Which will switch over each tabs automatically and we can also stop it ...]]></description>
			<content:encoded><![CDATA[<h3>Introduction:</h3>
<p>Most of the websites use tabs to show their content today. Because it is a very useful user interface. Each tab contains some amount of content. We can view the content by clicking a tab. </p>
<p><a href="http://demo.smartnetzone.com/wp-content/uploads/2011/05/auto_rotating_tabs1.png"><img src="http://demo.smartnetzone.com/wp-content/uploads/2011/05/auto_rotating_tabs1.png" alt="" title="auto_rotating_tabs" width="619" height="402" class="aligncenter size-full wp-image-647" /></a></p>
<p>In this tutorial we implement a new feature called <strong>auto rotating tabs</strong>. Which will switch over each tabs automatically and we can also stop it by clicking on a tab. So lets get started.</p>
<p><strong>Source code:</strong></p>
<pre class="html">
<span class="htmlOtherTag">&lt;html&gt;</span>
	<span class="htmlOtherTag">&lt;head&gt;</span>
		<span class="htmlOtherTag">&lt;title&gt;</span>Auto rotating tabs jquery<span class="htmlOtherTag">&lt;/title&gt;</span>
		<span class="htmlComment"><span class="htmlOtherTag">&lt;!-- stylesheet for the tabs --&gt;</span></span>
		<span class="htmlOtherTag">&lt;link rel=<span class="htmlAttributeValue">&quot;stylesheet&quot;</span> href=<span class="htmlAttributeValue">&quot;css/ui.css&quot;</span> type=<span class="htmlAttributeValue">&quot;text/css&quot;</span> media=<span class="htmlAttributeValue">&quot;print, projection, screen&quot;</span>&gt;</span>
		<span class="htmlComment"><span class="htmlOtherTag">&lt;!-- jquery package --&gt;</span></span>
		<span class="htmlScriptTag">&lt;script type=<span class="htmlAttributeValue">&quot;text/javascript&quot;</span> src=<span class="htmlAttributeValue">&quot;https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js &quot;</span>&gt;</span><span class="htmlScriptTag">&lt;/script&gt;</span>
		<span class="htmlComment"><span class="htmlOtherTag">&lt;!-- jquery ui package--&gt;</span></span>
		<span class="htmlScriptTag">&lt;script src=<span class="htmlAttributeValue">&quot;scripts/ui.js&quot;</span> type=<span class="htmlAttributeValue">&quot;text/javascript&quot;</span>&gt;</span><span class="htmlScriptTag">&lt;/script&gt;</span>
		<span class="htmlComment"><span class="htmlOtherTag">&lt;!-- jquery ui tabs package--&gt;</span></span>
		<span class="htmlScriptTag">&lt;script src=<span class="htmlAttributeValue">&quot;scripts/ui_tabs.js&quot;</span> type=<span class="htmlAttributeValue">&quot;text/javascript&quot;</span>&gt;</span><span class="htmlScriptTag">&lt;/script&gt;</span>
		<span class="htmlScriptTag">&lt;script type=<span class="htmlAttributeValue">&quot;text/javascript&quot;</span>&gt;</span>
		$(document).ready(function() {
			$(&#039;#rotate &gt; ul&#039;).tabs({ fx: { opacity: &#039;none&#039; } }).tabs(&#039;rotate&#039;, 1600);
		});
		<span class="htmlScriptTag">&lt;/script&gt;</span>
	<span class="htmlOtherTag">&lt;/head&gt;</span>
	<span class="htmlOtherTag">&lt;body&gt;</span>
		<span class="htmlOtherTag">&lt;div class=<span class="htmlAttributeValue">&quot;container&quot;</span> id=<span class="htmlAttributeValue">&quot;rotate&quot;</span> &gt;</span>
			<span class="htmlOtherTag">&lt;h1&gt;</span>Auto tabs using jquery<span class="htmlOtherTag">&lt;/h1&gt;</span>
			<span class="htmlComment"><span class="htmlOtherTag">&lt;!-- all tabs listed  --&gt;</span></span>
			<span class="htmlOtherTag">&lt;ul id=<span class="htmlAttributeValue">&quot;flip-navigation&quot;</span> class=<span class="htmlAttributeValue">&quot;tabs ui-tabs-nav&quot;</span>&gt;</span>
				<span class="htmlOtherTag">&lt;li&gt;</span><span class="htmlAnchorTag">&lt;a href=<span class="htmlAttributeValue">&quot;#fragment-1&quot;</span>&gt;</span><span class="htmlOtherTag">&lt;span&gt;</span>NEWEST<span class="htmlOtherTag">&lt;/span&gt;</span><span class="htmlAnchorTag">&lt;/a&gt;</span><span class="htmlOtherTag">&lt;/li&gt;</span>
				<span class="htmlOtherTag">&lt;li&gt;</span><span class="htmlAnchorTag">&lt;a target=<span class="htmlAttributeValue">&quot;_featurebox&quot;</span> href=<span class="htmlAttributeValue">&quot;#fragment-2&quot;</span>&gt;</span><span class="htmlOtherTag">&lt;span&gt;</span>MOST POPULAR<span class="htmlOtherTag">&lt;/span&gt;</span><span class="htmlAnchorTag">&lt;/a&gt;</span><span class="htmlOtherTag">&lt;/li&gt;</span>
				<span class="htmlOtherTag">&lt;li&gt;</span><span class="htmlAnchorTag">&lt;a target=<span class="htmlAttributeValue">&quot;_featurebox&quot;</span> href=<span class="htmlAttributeValue">&quot;#fragment-3&quot;</span>&gt;</span><span class="htmlOtherTag">&lt;span&gt;</span>MOST DISCUSSED<span class="htmlOtherTag">&lt;/span&gt;</span><span class="htmlAnchorTag">&lt;/a&gt;</span><span class="htmlOtherTag">&lt;/li&gt;</span>
			<span class="htmlOtherTag">&lt;/ul&gt;</span>
			<span class="htmlComment"><span class="htmlOtherTag">&lt;!-- all tabs content container  --&gt;</span></span>
			<span class="htmlOtherTag">&lt;div class=<span class="htmlAttributeValue">&quot;tab_container&quot;</span>&gt;</span>
				<span class="htmlOtherTag">&lt;div id=<span class="htmlAttributeValue">&quot;fragment-1&quot;</span> class=<span class="htmlAttributeValue">&quot;tab_content ui-tabs-panel ui-tabs-hide&quot;</span>&gt;</span>
					<span class="htmlComment"><span class="htmlOtherTag">&lt;!-- Tab 1 content goes here   --&gt;</span></span>
				<span class="htmlOtherTag">&lt;/div&gt;</span>
				<span class="htmlOtherTag">&lt;div id=<span class="htmlAttributeValue">&quot;fragment-2&quot;</span> class=<span class="htmlAttributeValue">&quot;tab_content ui-tabs-panel ui-tabs-hide&quot;</span>&gt;</span>
				           <span class="htmlComment"><span class="htmlOtherTag">&lt;!-- Tab 2 content goes here   --&gt;</span></span>
				<span class="htmlOtherTag">&lt;/div&gt;</span>
				<span class="htmlOtherTag">&lt;div id=<span class="htmlAttributeValue">&quot;fragment-3&quot;</span> class=<span class="htmlAttributeValue">&quot;tab_content ui-tabs-panel&quot;</span>&gt;</span>
					<span class="htmlComment"><span class="htmlOtherTag">&lt;!-- Tab 3 content goes here   --&gt;</span></span>
				<span class="htmlOtherTag">&lt;/div&gt;</span>
			<span class="htmlOtherTag">&lt;/div&gt;</span>
		<span class="htmlOtherTag">&lt;/div&gt;</span>
	<span class="htmlOtherTag">&lt;/body&gt;</span>
<span class="htmlOtherTag">&lt;/html&gt;</span>
</pre>
<p>In the source code we have included the style sheet for the tabs. and we have also included the jquery, jquery ui and jquery ui tabs package for tabbing the content using jquery. then we have a jquery script which is used for auto rotating the content. we can also <strong>change the speed of rotation by changing the value</strong>(1600 in the above code). Then inside the body we have listed all the tabs and created the content area for each tab.   </p>
<p>When the page is loaded, the jquery script will <strong>auto rotate all the tabs</strong>. If we click on a tab it will stop rotating and views its particular content.</p>
<div id="slider_content">
<div id="source">
<ul>
<li><a target="_blank" href="http://www.duckload.com/download/5543514/auto_rotating_tabs.zip">Download</a></li>
<li><a target="_blank" href="http://www.smartnetzone.com/blog_demos/auto_rotating_tabs/">Demo</a></li>
</ul>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://demo.smartnetzone.com/auto-rotating-tabs-using-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Same height columns using jquery</title>
		<link>http://demo.smartnetzone.com/same-height-columns-using-jquery/</link>
		<comments>http://demo.smartnetzone.com/same-height-columns-using-jquery/#comments</comments>
		<pubDate>Sun, 08 May 2011 22:07:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Jquery]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://demo.smartnetzone.com/?p=622</guid>
		<description><![CDATA[Tutorial Details:


Difficulty: Beginner
Technology: HTML, CSS &#038; Jquery
Duration: 5 min

Hi everyone, While creating layout for a website, most of the times we need some columns with same height even though the amount of content differs for each column. The website looks great by making all the columns with same height. So lets focus on that issue today. we can solve it ...]]></description>
			<content:encoded><![CDATA[<h3>Tutorial Details:</h3>
<p></p>
<ul>
<li>Difficulty: Beginner</li>
<li>Technology: HTML, CSS &#038; Jquery</li>
<li>Duration: 5 min</li>
</ul>
<p>Hi everyone, While creating layout for a website, most of the times we need some columns with same height even though the amount of content differs for each column. The website looks great by making all the columns with same height. So lets focus on that issue today. we can solve it by using jquery.</p>
<p>At first we create the layout with multiple columns using html</p>
<pre class="html">
<span class="htmlOtherTag">&lt;html xmlns=<span class="htmlAttributeValue">&quot;http://www.w3.org/1999/xhtml&quot;</span>&gt;</span>
	<span class="htmlOtherTag">&lt;head&gt;</span>
		<span class="htmlOtherTag">&lt;title&gt;</span>Same height columns using jquery<span class="htmlOtherTag">&lt;/title&gt;</span>
	<span class="htmlOtherTag">&lt;/head&gt;</span>
	<span class="htmlOtherTag">&lt;body&gt;</span>
		<span class="htmlComment"><span class="htmlOtherTag">&lt;!-- content of the website --&gt;</span></span>
		<span class="htmlOtherTag">&lt;div class=<span class="htmlAttributeValue">&quot;content&quot;</span>&gt;</span>
			<span class="htmlOtherTag">&lt;h1&gt;</span>Columns with jquery same height script<span class="htmlOtherTag">&lt;/h1&gt;</span>
			<span class="htmlComment"><span class="htmlOtherTag">&lt;!-- Three columns with different amount of content --&gt;</span></span>
			<span class="htmlOtherTag">&lt;ul class=<span class="htmlAttributeValue">&quot;three-columns&quot;</span>&gt;</span>
				<span class="htmlComment"><span class="htmlOtherTag">&lt;!-- Column 1 --&gt;</span></span>
				<span class="htmlOtherTag">&lt;li&gt;</span>
					<span class="htmlOtherTag">&lt;div class=<span class="htmlAttributeValue">&quot;col&quot;</span>&gt;</span>
					<span class="htmlOtherTag">&lt;h2&gt;</span>Column 1<span class="htmlOtherTag">&lt;/h2&gt;</span>
					<span class="htmlOtherTag">&lt;p&gt;</span>Odio velit vulpes zelus elit euismod. Singularis abluo autem saepius tego quod letatio meus. Os, tamen, tincidunt facilisi laoreet consectetuer quis. Feugiat ille, indoles, turpis tincidunt, ea iriure capto esse nostrud paratus populus vulputate. <span class="htmlOtherTag">&lt;/p&gt;</span>
					<span class="htmlOtherTag">&lt;/div&gt;</span>
				<span class="htmlOtherTag">&lt;/li&gt;</span>
				<span class="htmlComment"><span class="htmlOtherTag">&lt;!-- Column 2 --&gt;</span></span>
				<span class="htmlOtherTag">&lt;li&gt;</span>
					<span class="htmlOtherTag">&lt;div class=<span class="htmlAttributeValue">&quot;col&quot;</span>&gt;</span>
					<span class="htmlOtherTag">&lt;h2&gt;</span>Column 2<span class="htmlOtherTag">&lt;/h2&gt;</span>
					<span class="htmlOtherTag">&lt;p&gt;</span>Odio velit vulpes zelus elit euismod. Quisque non urna vel elit faucibus tempor eu ut quam. Aliquam laoreet;ligula vitae volutpat iaculis.<span class="htmlOtherTag">&lt;/p&gt;</span>
					<span class="htmlOtherTag">&lt;/div&gt;</span>
				<span class="htmlOtherTag">&lt;/li&gt;</span>
				<span class="htmlComment"><span class="htmlOtherTag">&lt;!-- Column 3 --&gt;</span></span>
				<span class="htmlOtherTag">&lt;li&gt;</span>
					<span class="htmlOtherTag">&lt;div class=<span class="htmlAttributeValue">&quot;col&quot;</span>&gt;</span>
					<span class="htmlOtherTag">&lt;h2&gt;</span>Column 3<span class="htmlOtherTag">&lt;/h2&gt;</span>
					<span class="htmlOtherTag">&lt;p&gt;</span>Odio velit vulpes zelus elit euismod.  <span class="htmlOtherTag">&lt;/p&gt;</span>
					<span class="htmlOtherTag">&lt;/div&gt;</span>
				<span class="htmlOtherTag">&lt;/li&gt;</span>
			<span class="htmlOtherTag">&lt;/ul&gt;</span>
		<span class="htmlOtherTag">&lt;/div&gt;</span>
	<span class="htmlOtherTag">&lt;/body&gt;</span>
<span class="htmlOtherTag">&lt;/html&gt;</span>
</pre>
<p>Here we have created three columns with different amount of content. and we add some css to align it and look better.</p>
<pre class="css">
<span class="cssSelector">.content {</span>
	<span class="cssProperty">background</span><span class="cssRest">:</span><span class="cssValue"> #f0f0f0</span><span class="cssRest">;</span>
	<span class="cssProperty">margin</span><span class="cssRest">:</span><span class="cssValue"> 10px auto</span><span class="cssRest">;</span>
	<span class="cssProperty">padding</span><span class="cssRest">:</span><span class="cssValue"> 25px 40px</span><span class="cssRest">;</span>
	<span class="cssProperty">overflow</span><span class="cssRest">:</span><span class="cssValue"> hidden</span><span class="cssRest">;</span>
	<span class="cssProperty">font-size</span><span class="cssRest">:</span><span class="cssValue"> 12px</span><span class="cssRest">;</span>
	<span class="cssProperty">width</span><span class="cssRest">:</span><span class="cssValue"> 800px</span><span class="cssRest">;</span>
<span class="cssSelector">}</span>
<span class="cssSelector">ul.three-columns {</span>
	<span class="cssProperty">width</span><span class="cssRest">:</span><span class="cssValue"> 100%</span><span class="cssRest">;</span>
	<span class="cssProperty">margin</span><span class="cssRest">:</span><span class="cssValue"> 10px 0</span><span class="cssRest">;</span>
	<span class="cssProperty">padding</span><span class="cssRest">:</span><span class="cssValue"> 0</span><span class="cssRest">;</span>
	<span class="cssProperty">list-style</span><span class="cssRest">:</span><span class="cssValue"> none</span><span class="cssRest">;</span>
	<span class="cssProperty">overflow</span><span class="cssRest">:</span><span class="cssValue"> hidden</span><span class="cssRest">;</span>
<span class="cssSelector">}</span>
<span class="cssSelector">ul.three-columns li {</span>
	<span class="cssProperty">float</span><span class="cssRest">:</span><span class="cssValue"> left</span><span class="cssRest">;</span>
	<span class="cssProperty">width</span><span class="cssRest">:</span><span class="cssValue"> 33.3%</span><span class="cssRest">;</span>
	<span class="cssProperty">padding</span><span class="cssRest">:</span><span class="cssValue"> 0</span><span class="cssRest">;</span>
	<span class="cssProperty">margin</span><span class="cssRest">:</span><span class="cssValue"> 0</span><span class="cssRest">;</span>
<span class="cssSelector">}</span>
<span class="cssSelector">.col {</span>
	<span class="cssProperty">margin-right</span><span class="cssRest">:</span><span class="cssValue"> 10px</span><span class="cssRest">;</span>
	<span class="cssProperty">padding</span><span class="cssRest">:</span><span class="cssValue"> 20px</span><span class="cssRest">;</span>
	<span class="cssProperty">background</span><span class="cssRest">:</span><span class="cssValue"> #fff</span><span class="cssRest">;</span>
<span class="cssSelector">}</span>
<span class="cssSelector">h2 {</span>
	<span class="cssProperty">font-size</span><span class="cssRest">:</span><span class="cssValue"> 2.4em</span><span class="cssRest">;</span>
	<span class="cssProperty">margin</span><span class="cssRest">:</span><span class="cssValue"> 0 0 10px 0px</span><span class="cssRest">;</span>
	<span class="cssProperty">font-family</span><span class="cssRest">:</span><span class="cssValue"> Georgia</span><span class="cssRest">;</span>
	<span class="cssProperty">font-weight</span><span class="cssRest">:</span><span class="cssValue"> normal</span><span class="cssRest">;</span>
<span class="cssSelector">}</span>
</pre>
<p>Now the page will look like the following image,</p>
<p><a href="http://demo.smartnetzone.com/wp-content/uploads/2011/05/same_height.png"><img src="http://demo.smartnetzone.com/wp-content/uploads/2011/05/same_height.png" alt="same_height" title="same_height" width="654" height="218" class="aligncenter size-full wp-image-623" /></a></p>
<p>You can see that all the column&#8217;s height are different. to make all the columns in same height we use jquery</p>
<pre class="php">
<span class="phpOperator">&lt;</span>script type=<span class="phpString">"text/javascript"</span> src=<span class="phpString">"https<span class="phpOperator">:</span><span class="phpComment"><span class="phpComment">//ajax<span class="phpOperator">.</span>googleapis<span class="phpOperator">.</span>com/ajax/libs/jquery/<span class="phpNumber">1</span><span class="phpOperator">.</span><span class="phpNumber">5</span><span class="phpOperator">.</span><span class="phpNumber">2</span>/jquery<span class="phpOperator">.</span>min<span class="phpOperator">.</span>js "</span></span><span class="phpOperator">&gt;</span><span class="phpOperator">&lt;</span>/script<span class="phpOperator">&gt;</span>
</span><span class="phpOperator">&lt;</span>script type=<span class="phpString">"text/javascript"</span> <span class="phpOperator">&gt;</span>
$<span class="phpOperator">(</span>document<span class="phpOperator">)</span>.ready<span class="phpOperator">(</span><span class="phpFunctionKeyword">function</span><span class="phpOperator">(</span><span class="phpOperator">)</span> <span class="phpOperator">{</span>
    setHeight<span class="phpOperator">(</span><span class="phpString">'<span class="phpOperator">.</span>col'</span><span class="phpOperator">)</span><span class="phpText">;</span>
<span class="phpOperator">}</span><span class="phpOperator">)</span><span class="phpText">;</span>
<span class="phpKeyword">
var </span>maxHeight <span class="phpOperator">=</span> 0;
<span class="phpFunctionKeyword">function</span> setHeight<span class="phpOperator">(</span>column<span class="phpOperator">)</span> <span class="phpOperator">{</span>
    <span class="phpComment">//Get all the element with <span class="phpKeyword">class </span><span class="phpOperator">=</span> col
</span>    column <span class="phpOperator">=</span> $<span class="phpOperator">(</span>column<span class="phpOperator">)</span><span class="phpText">;</span>
    <span class="phpComment">//Loop all the column
</span>    column<span class="phpOperator">.</span><span class="phpFunction">each</span><span class="phpOperator">(</span><span class="phpFunctionKeyword">function</span><span class="phpOperator">(</span><span class="phpOperator">)</span> <span class="phpOperator">{</span>       
        <span class="phpComment">//Store the highest value
</span>       <span class="phpKeyword"> if<span class="phpOperator">(</span></span>$<span class="phpOperator">(</span>this<span class="phpOperator">)</span>.height<span class="phpOperator">(</span><span class="phpOperator">)</span> <span class="phpOperator">&gt;</span> maxHeight<span class="phpOperator">)</span> <span class="phpOperator">{</span>
            maxHeight <span class="phpOperator">=</span> $<span class="phpOperator">(</span>this<span class="phpOperator">)</span>.height<span class="phpOperator">(</span><span class="phpOperator">)</span><span class="phpText">;</span>;
        <span class="phpOperator">}</span>
    <span class="phpOperator">}</span><span class="phpOperator">)</span><span class="phpText">;</span>
    <span class="phpComment">//Set the height
</span>    column<span class="phpOperator">.</span>height<span class="phpOperator">(</span>maxHeight<span class="phpOperator">)</span><span class="phpText">;</span>
<span class="phpOperator">}</span>
<span class="phpOperator">&lt;</span>/script<span class="phpOperator">&gt;</span>
</pre>
<p>Here we call a setHeight function with an argument of each column&#8217;s class. and we initialize the maxHeight value to 0, which will store the max height of all three columns. In the setHeight function definition we get all the element with class col. and looping all the columns to find out the max height of all columns then setting the height for all the columns.</p>
<p>In non code language, <strong>finding the maximum height of all the columns and setting all the columns height with the maximum.</strong> thats it. Now the page will look like,</p>
<p><a href="http://demo.smartnetzone.com/wp-content/uploads/2011/05/same_height_jquery.png"><img src="http://demo.smartnetzone.com/wp-content/uploads/2011/05/same_height_jquery.png" alt="" title="same_height_jquery" width="654" height="218" class="aligncenter size-full wp-image-624" /></a></p>
<p>Now all the columns are in same height and looks good. Thats it we have done it. </p>
<div id="slider_content">
<div id="source">
<ul>
<li><a href="http://www.duckload.com/download/5514390/same_height_jquery.zip" target="_blank">Download</a></li>
<li><a href="http://www.smartnetzone.com/blog_demos/same_height_jquery/" target="_blank">Demo</a></li>
</ul>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://demo.smartnetzone.com/same-height-columns-using-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Centering a website</title>
		<link>http://demo.smartnetzone.com/centering-a-website/</link>
		<comments>http://demo.smartnetzone.com/centering-a-website/#comments</comments>
		<pubDate>Sat, 07 May 2011 21:13:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Html & Css]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://demo.smartnetzone.com/?p=602</guid>
		<description><![CDATA[Tutorial Details:


Technology  : HTML &#038; CSS
Difficulty  : Beginner
Duration    : 5 min

Hi everyone, most of the beginners find difficult for centering a website. Even i found it difficult when i was a beginner. I thought of helping the beginners with this tutorial. Today we will learn to center a website using css. 

The html code for ...]]></description>
			<content:encoded><![CDATA[<h3>Tutorial Details:</h3>
<p></p>
<ul>
<li>Technology  : HTML &#038; CSS</li>
<li>Difficulty  : Beginner</li>
<li>Duration    : 5 min</li>
</ul>
<p>Hi everyone, most of the beginners find difficult for centering a website. Even i found it difficult when i was a beginner. I thought of helping the beginners with this tutorial. Today we will learn to center a website using css. </p>
<p><a href="http://demo.smartnetzone.com/wp-content/uploads/2011/05/center-site.png"><img src="http://demo.smartnetzone.com/wp-content/uploads/2011/05/center-site.png" alt="center-site" title="center-site" width="600" height="382" class="aligncenter size-full wp-image-604" /></a><br />
The html code for the website will look like the following,</p>
<pre class="html">
<span class="htmlOtherTag">&lt;html xmlns=<span class="htmlAttributeValue">&quot;http://www.w3.org/1999/xhtml&quot;</span>&gt;</span>
	<span class="htmlOtherTag">&lt;head&gt;</span>
		<span class="htmlOtherTag">&lt;meta http-equiv=<span class="htmlAttributeValue">&#039;Content-Type&#039;</span> content=<span class="htmlAttributeValue">&#039;text/html; charset=UTF-8&#039;</span> /&gt;</span>
		<span class="htmlOtherTag">&lt;title&gt;</span>Centering a website<span class="htmlOtherTag">&lt;/title&gt;</span>
	<span class="htmlOtherTag">&lt;/head&gt;</span>
	<span class="htmlOtherTag">&lt;body&gt;</span>
		<span class="htmlOtherTag">&lt;div id=<span class="htmlAttributeValue">&quot;website-wrapper&quot;</span>&gt;</span>
		  <span class="htmlComment"><span class="htmlOtherTag">&lt;!-- all websites HTML here --&gt;</span></span>
		<span class="htmlOtherTag">&lt;/div&gt;</span>
	<span class="htmlOtherTag">&lt;/body&gt;</span>
<span class="htmlOtherTag">&lt;/html&gt;</span>
</pre>
<p>Here we have created a html page for the website, which has a div with an id called website-wrapper. all the website code will go here. Now our html code is ready and we have to apply some css to center the website. The entire code with css will look like the following,</p>
<pre class="html">
<span class="htmlOtherTag">&lt;html xmlns=<span class="htmlAttributeValue">&quot;http://www.w3.org/1999/xhtml&quot;</span>&gt;</span>
	<span class="htmlOtherTag">&lt;head&gt;</span>
		<span class="htmlOtherTag">&lt;meta http-equiv=<span class="htmlAttributeValue">&#039;Content-Type&#039;</span> content=<span class="htmlAttributeValue">&#039;text/html; charset=UTF-8&#039;</span> /&gt;</span>
		<span class="htmlOtherTag">&lt;title&gt;</span>Centering a website<span class="htmlOtherTag">&lt;/title&gt;</span>
	<span class="htmlStyleTag">&lt;style&gt;</span>
	<span class="cssSelector">#page-wrap {</span>
		   <span class="cssProperty">width</span><span class="cssRest">:</span><span class="cssValue"> 800px</span><span class="cssRest">;</span>
		   <span class="cssProperty">margin</span><span class="cssRest">:</span><span class="cssValue"> 0 auto</span><span class="cssRest">;</span>
	<span class="cssSelector">}</span>
	<span class="htmlStyleTag">&lt;/style&gt;</span>
	<span class="htmlOtherTag">&lt;/head&gt;</span>
	<span class="htmlOtherTag">&lt;body&gt;</span>
		<span class="htmlOtherTag">&lt;div id=<span class="htmlAttributeValue">&quot;page-wrap&quot;</span>&gt;</span>
		  <span class="htmlComment"><span class="htmlOtherTag">&lt;!-- all websites HTML here --&gt;</span></span>
		<span class="htmlOtherTag">&lt;/div&gt;</span>
	<span class="htmlOtherTag">&lt;/body&gt;</span>
<span class="htmlOtherTag">&lt;/html&gt;</span>
</pre>
<p>Here we set width for the website and centering it by setting margin auto for the left and right side of the website(refer the above image). Which means the website will be centered. </p>
<div id="slider_content">
<div id="source">
<ul>
<li><a target="_blank" href="http://www.duckload.com/download/5463135/centering_a_website.zip">Download</a></li>
<li><a target="_blank" href="http://www.smartnetzone.com/blog_demos/centering_a_website/">Demo</a></li>
</ul>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://demo.smartnetzone.com/centering-a-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Jquery Registration Form with elastic effect</title>
		<link>http://demo.smartnetzone.com/jquery-registration-form-with-elastic-effect/</link>
		<comments>http://demo.smartnetzone.com/jquery-registration-form-with-elastic-effect/#comments</comments>
		<pubDate>Fri, 06 May 2011 22:57:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Jquery]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://demo.smartnetzone.com/?p=594</guid>
		<description><![CDATA[Generally speaking, any one can become a registered user by providing some personal information,and he can access information and privileges unavailable to non-registered users. But the important thing is,Most users will not use your web site if they have to register, because registration takes time. In most cases, the user will just move on to another web site.

So it is ...]]></description>
			<content:encoded><![CDATA[<p>Generally speaking, any one can become a registered user by providing some personal information,and he can access information and privileges unavailable to non-registered users. But the important thing is,Most users will not use your web site if they have to register, because registration takes time. In most cases, the user will just move on to another web site.</p>
<p><a href="http://demo.smartnetzone.com/wp-content/uploads/2011/05/registration_form.png"><img class="aligncenter size-full wp-image-595" title="registration_form" src="http://demo.smartnetzone.com/wp-content/uploads/2011/05/registration_form.png" alt="registration form" width="442" height="315" /></a></p>
<p>So it is very necessary for the web developers to impress the users with an interactive and less time taking registration form. Because in most of the websites, the first step will be registration. &#8220;First impression is the best impression&#8221; right?. So today we will learn about an interactive jquery registration form with an elastic jquery effect.</p>
<p>First we have to create a <strong>registration form</strong> with required fields.</p>
<pre class="html">
<span class="htmlOtherTag">&lt;div id=<span class="htmlAttributeValue">&quot;form&quot;</span>&gt;</span>
<span class="htmlOtherTag">&lt;h2&gt;</span>Jquery registration form<span class="htmlOtherTag">&lt;/h2&gt;</span>
<span class="htmlFormTag">&lt;form id=<span class="htmlAttributeValue">&quot;form-elements&quot;</span> method=<span class="htmlAttributeValue">&quot;post&quot;</span>&gt;</span>
<span class="htmlOtherTag">&lt;ul&gt;</span>
	<span class="htmlOtherTag">&lt;li class=<span class="htmlAttributeValue">&quot;username&quot;</span>&gt;</span><span class="htmlOtherTag">&lt;label&gt;</span>Username: <span class="htmlOtherTag">&lt;/label&gt;</span>
<span class="htmlFormTag">&lt;input id=<span class="htmlAttributeValue">&quot;username&quot;</span> name=<span class="htmlAttributeValue">&quot;name&quot;</span> type=<span class="htmlAttributeValue">&quot;text&quot;</span> /&gt;</span>
<span class="htmlOtherTag">&lt;span class=<span class="htmlAttributeValue">&quot;error&quot;</span>&gt;</span> <span class="htmlOtherTag">&lt;/span&gt;</span><span class="htmlOtherTag">&lt;/li&gt;</span>
	<span class="htmlOtherTag">&lt;li class=<span class="htmlAttributeValue">&quot;password&quot;</span>&gt;</span><span class="htmlOtherTag">&lt;label&gt;</span>Password: <span class="htmlOtherTag">&lt;/label&gt;</span>
<span class="htmlFormTag">&lt;input id=<span class="htmlAttributeValue">&quot;password&quot;</span> name=<span class="htmlAttributeValue">&quot;password&quot;</span> type=<span class="htmlAttributeValue">&quot;password&quot;</span> /&gt;</span>
<span class="htmlOtherTag">&lt;span class=<span class="htmlAttributeValue">&quot;error&quot;</span>&gt;</span> <span class="htmlOtherTag">&lt;/span&gt;</span><span class="htmlOtherTag">&lt;/li&gt;</span>
	<span class="htmlOtherTag">&lt;li class=<span class="htmlAttributeValue">&quot;email&quot;</span>&gt;</span><span class="htmlOtherTag">&lt;label&gt;</span>Email: <span class="htmlOtherTag">&lt;/label&gt;</span>
<span class="htmlFormTag">&lt;input id=<span class="htmlAttributeValue">&quot;email&quot;</span> name=<span class="htmlAttributeValue">&quot;email&quot;</span> type=<span class="htmlAttributeValue">&quot;text&quot;</span> /&gt;</span>
<span class="htmlOtherTag">&lt;span class=<span class="htmlAttributeValue">&quot;error&quot;</span>&gt;</span> <span class="htmlOtherTag">&lt;/span&gt;</span><span class="htmlOtherTag">&lt;/li&gt;</span>
	<span class="htmlOtherTag">&lt;li class=<span class="htmlAttributeValue">&quot;phone&quot;</span>&gt;</span><span class="htmlOtherTag">&lt;label&gt;</span>Phone No: <span class="htmlOtherTag">&lt;/label&gt;</span>
<span class="htmlFormTag">&lt;input id=<span class="htmlAttributeValue">&quot;phone&quot;</span> name=<span class="htmlAttributeValue">&quot;phone&quot;</span> type=<span class="htmlAttributeValue">&quot;text&quot;</span> /&gt;</span>
<span class="htmlOtherTag">&lt;span class=<span class="htmlAttributeValue">&quot;error&quot;</span>&gt;</span> <span class="htmlOtherTag">&lt;/span&gt;</span><span class="htmlOtherTag">&lt;/li&gt;</span>
	<span class="htmlOtherTag">&lt;li class=<span class="htmlAttributeValue">&quot;submit&quot;</span>&gt;</span><span class="htmlFormTag">&lt;input id=<span class="htmlAttributeValue">&quot;submit&quot;</span> type=<span class="htmlAttributeValue">&quot;submit&quot;</span> value=<span class="htmlAttributeValue">&quot; Register &quot;</span> /&gt;</span>
      <span class="htmlOtherTag">&lt;/li&gt;</span>
<span class="htmlOtherTag">&lt;/ul&gt;</span>
<span class="htmlFormTag">&lt;/form&gt;</span><span class="htmlOtherTag">&lt;/div&gt;</span>
</pre>
<p>Here we have created a form with four input fields and a submit button to register. then we add some style to make it look better.</p>
<pre class="css">
&lt;style&gt;
body
<span class="cssSelector">{</span>
font-family:Arial, Helvetica, sans-serif
<span class="cssSelector">}</span>
h1, h2
<span class="cssSelector">{</span>
<span class="cssProperty">font-family</span><span class="cssRest">:</span><span class="cssValue"><span class="cssString">&#039;Georgia&#039;</span>, Times New Roman, Times, serif</span><span class="cssRest">;</span>
<span class="cssSelector">}</span>
h2
<span class="cssSelector">{</span>
color:#999;
<span class="cssSelector">}</span>
ul
<span class="cssSelector">{</span>
<span class="cssProperty">padding</span><span class="cssRest">:</span><span class="cssValue">0px</span><span class="cssRest">;</span>
<span class="cssProperty">margin</span><span class="cssRest">:</span><span class="cssValue">0px</span><span class="cssRest">;</span>
<span class="cssProperty">list-style</span><span class="cssRest">:</span><span class="cssValue">none</span><span class="cssRest">;</span>
<span class="cssSelector">}</span>
li
<span class="cssSelector">{</span>
<span class="cssProperty">padding</span><span class="cssRest">:</span><span class="cssValue">5px</span><span class="cssRest">;</span>
<span class="cssProperty">display</span><span class="cssRest">:</span><span class="cssValue">none</span><span class="cssRest">;</span>
<span class="cssSelector">}</span>
label
<span class="cssSelector">{</span>
<span class="cssProperty">font-size</span><span class="cssRest">:</span><span class="cssValue">14px</span><span class="cssRest">;</span>
<span class="cssProperty">font-weight</span><span class="cssRest">:</span><span class="cssValue">bold</span><span class="cssRest">;</span>
<span class="cssSelector">}</span>
input[type=<span class="cssString">"text"</span>], input[type=<span class="cssString">"password"</span>]
<span class="cssSelector">{</span>
<span class="cssProperty">-moz-border-radius</span><span class="cssRest">:</span><span class="cssValue"> 6px 6px 6px 6px</span><span class="cssRest">;</span>
<span class="cssProperty">-moz-box-shadow</span><span class="cssRest">:</span><span class="cssValue"> 3px 5px 10px #78D8F2</span><span class="cssRest">;</span>
<span class="cssProperty">border</span><span class="cssRest">:</span><span class="cssValue"> 1px solid #05BBED</span><span class="cssRest">;</span>
<span class="cssProperty">font-size</span><span class="cssRest">:</span><span class="cssValue"> 15px</span><span class="cssRest">;</span>
<span class="cssProperty">margin</span><span class="cssRest">:</span><span class="cssValue"> 8px</span><span class="cssRest">;</span>
<span class="cssProperty">padding</span><span class="cssRest">:</span><span class="cssValue"> 6px</span><span class="cssRest">;</span>
<span class="cssProperty">width</span><span class="cssRest">:</span><span class="cssValue"> 220px</span><span class="cssRest">;</span>
<span class="cssSelector">}</span>
input[type=<span class="cssString">"submit"</span>]
<span class="cssSelector">{</span>
<span class="cssProperty">background-color</span><span class="cssRest">:</span><span class="cssValue"> #078EA0</span><span class="cssRest">;</span>
<span class="cssProperty">border</span><span class="cssRest">:</span><span class="cssValue"> 1px solid #0094A7</span><span class="cssRest">;</span>
<span class="cssProperty">color</span><span class="cssRest">:</span><span class="cssValue"> #FFFFFF</span><span class="cssRest">;</span>
<span class="cssProperty">font-size</span><span class="cssRest">:</span><span class="cssValue"> 14px</span><span class="cssRest">;</span>
<span class="cssProperty">padding</span><span class="cssRest">:</span><span class="cssValue"> 4px</span><span class="cssRest">;</span>
<span class="cssProperty">-moz-border-radius</span><span class="cssRest">:</span><span class="cssValue">6px</span><span class="cssRest">;</span>
<span class="cssProperty">-webkit-border-radius</span><span class="cssRest">:</span><span class="cssValue">6px</span><span class="cssRest">;</span>
<span class="cssSelector">}</span>
.error
<span class="cssSelector">{</span>
<span class="cssProperty">font-size</span><span class="cssRest">:</span><span class="cssValue">11px</span><span class="cssRest">;</span>
<span class="cssProperty">color</span><span class="cssRest">:</span><span class="cssValue">#cc0000</span><span class="cssRest">;</span>
<span class="cssProperty">padding</span><span class="cssRest">:</span><span class="cssValue">4px</span><span class="cssRest">;</span>
<span class="cssSelector">}</span>
#form
<span class="cssSelector">{</span>
<span class="cssProperty">width</span><span class="cssRest">:</span><span class="cssValue">415px</span><span class="cssRest">;</span>
<span class="cssProperty">margin</span><span class="cssRest">:</span><span class="cssValue">0 auto</span><span class="cssRest">;</span>
<span class="cssProperty">margin-top</span><span class="cssRest">:</span><span class="cssValue">30px</span><span class="cssRest">;</span>
<span class="cssSelector">}</span>
<span class="cssSelector">#form-elements {</span>
<span class="cssProperty">border</span><span class="cssRest">:</span><span class="cssValue"> 1px solid #aeaeae</span><span class="cssRest">;</span>
<span class="cssProperty">background-color</span><span class="cssRest">:</span><span class="cssValue"> #F2F2F2</span><span class="cssRest">;</span>
<span class="cssProperty">padding</span><span class="cssRest">:</span><span class="cssValue"> 14px</span><span class="cssRest">;</span>
<span class="cssSelector">}</span>
&lt;/style&gt;
</pre>
<p>Now its time to make it very interactive and apply some effects using jquery.</p>
<pre class="html">
<span class="htmlScriptTag">&lt;script type=<span class="htmlAttributeValue">&quot;text/javascript&quot;</span> src=<span class="htmlAttributeValue">&quot;js/jquery.min.js&quot;</span>&gt;</span><span class="htmlScriptTag">&lt;/script&gt;</span>
<span class="htmlScriptTag">&lt;script type=<span class="htmlAttributeValue">&quot;text/javascript&quot;</span> src=<span class="htmlAttributeValue">&quot;js/jquery.easing.1.3.js.js&quot;</span>&gt;</span><span class="htmlScriptTag">&lt;/script&gt;</span>
<span class="htmlScriptTag">&lt;script type=<span class="htmlAttributeValue">&quot;text/javascript&quot;</span>&gt;</span>
	$(function() 
	{
		$(&quot;ul li:first&quot;).show();
		//regular expression for all the fields
		var ck_username = /^[A-Za-z0-9_]{5,20}$/;
		var ck_email = /^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i 
		var ck_password =  /^[A-Za-z0-9!@#$%^<span class="htmlSpecialChar">&amp;amp;</span>*()_]{6,20}$/;
		var ck_phone = /^[0-9-]{10,20}$/;
		//This function will be called for each key pressed in the username field 
		$(&#039;#username&#039;).keyup(function()
		{
			var username=$(this).val();
			if (!ck_username.test(username)) 
			{
			 	$(this).next().show().html(&quot;Minimum 5 characters&quot;);
			}
			else
			{
				$(this).next().hide();
				$(&quot;li&quot;).next(&quot;li.password&quot;).slideDown({duration: &#039;slow&#039;,easing: &#039;easeOutElastic&#039;});
			}
		});
		//This function will be called for each key pressed in the password field
		$(&#039;#password&#039;).keyup(function()
		{
			var password=$(this).val();
			if (!ck_password.test(password)) 
			{
			 	$(this).next().show().html(&quot;Minimum 6 Characters&quot;);
			}
			else
			{
				$(this).next().hide();
				$(&quot;li&quot;).next(&quot;li.email&quot;).slideDown({duration: &#039;slow&#039;,easing: &#039;easeOutElastic&#039;});
			}
		});
		//This function will be called for each key pressed in the email field
		$(&#039;#email&#039;).keyup(function()
		{
			var email=$(this).val();
			if (!ck_email.test(email)) 
			{
			 	$(this).next().show().html(&quot;Enter valid email&quot;);
			}
			else
			{
				$(this).next().hide();
				$(&quot;li&quot;).next(&quot;li.phone&quot;).slideDown({duration: &#039;slow&#039;,easing: &#039;easeOutElastic&#039;});
			}
		});
		//This function will be called for each key pressed in the phone number field
		$(&#039;#phone&#039;).keyup(function()
		{
			var phone=$(this).val();
			if (!ck_phone.test(phone)) 
			{
			 	$(this).next().show().html(&quot;Minimum 10 numbers&quot;);
			}
			else
			{
				$(this).next().hide();
				$(&quot;li&quot;).next(&quot;li.submit&quot;).slideDown({duration: &#039;slow&#039;,easing: &#039;easeOutElastic&#039;});
			}
		});
		//when we register it will show the status.
		$(&#039;#submit&#039;).click(function()
		{
			var email=$(&quot;#email&quot;).val();
			var username=$(&quot;#username&quot;).val();
			var password=$(&quot;#password&quot;).val();
			if(ck_email.test(email) <span class="htmlSpecialChar">&amp;amp;</span><span class="htmlSpecialChar">&amp;amp;</span> ck_username.test(username) <span class="htmlSpecialChar">&amp;amp;</span><span class="htmlSpecialChar">&amp;amp;</span> ck_password.test(password) )
			{
				$(&quot;#form&quot;).show().html(&quot;<span class="htmlOtherTag">&lt;h1&gt;</span>Thank you!<span class="htmlOtherTag">&lt;/h1&gt;</span><span class="htmlOtherTag">&lt;p&gt;</span>You have registered successfully<span class="htmlOtherTag">&lt;/p&gt;</span>&quot;);
			}
			return false;
		});
	})
<span class="htmlScriptTag">&lt;/script&gt;</span>
</pre>
<p>In this script, we only make the first field visible, when user completes it, the next field will be visible, this process will continue till the end of the form. here we have used jquery elastic effect.</p>
<div id="slider_content">
<div id="source">
<ul>
<li><a href="http://www.duckload.com/download/5435227/jquery_registration_form.zip" target="_blank">Download</a></li>
<li><a href="http://www.smartnetzone.com/blog_demos/jquery_registration_form/index.html" target="_blank">Demo</a></li>
</ul>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://demo.smartnetzone.com/jquery-registration-form-with-elastic-effect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>css 3 styles, you must know</title>
		<link>http://demo.smartnetzone.com/css-3-styles-you-must-know/</link>
		<comments>http://demo.smartnetzone.com/css-3-styles-you-must-know/#comments</comments>
		<pubDate>Thu, 05 May 2011 19:45:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Html & Css]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://demo.smartnetzone.com/?p=576</guid>
		<description><![CDATA[
There are a lot of new properties and features available in css 3, which makes our site look great. Today we will see some nice css 3 styles such as Box shadow, Border radius, Text Overflow, Text-shadow, Multiple Backgrounds. lets start one by one..

1.Box shadow﻿:
box-shadow allows us to apply shadow to elements. which makes the element look great.

Syntax:
box shadow property ...]]></description>
			<content:encoded><![CDATA[<div id="slider_content">
<p>There are a lot of new properties and features available in css 3, which makes our site look great. Today we will see some nice css 3 styles such as Box shadow, Border radius, Text Overflow, Text-shadow, Multiple Backgrounds. lets start one by one..</p>
<p><a href="http://demo.smartnetzone.com/wp-content/uploads/2011/05/css32.jpg"><img class="aligncenter size-full wp-image-580" title="css3" src="http://demo.smartnetzone.com/wp-content/uploads/2011/05/css32.jpg" alt="" width="437" height="199" /></a></p>
<h3>1.Box shadow﻿:</h3>
<p>box-shadow allows us to apply shadow to elements. which makes the element look great.</p>
<pre class="text">
Syntax:
box shadow property : x-offset y-offset blur color-of-shadow;
example:
-webkit-box-shadow: 1px 1px 3px #292929;
-moz-box-shadow: 1px 1px 3px #292929;
box-shadow: 1px 1px 3px #292929;
</pre>
<p>Here you find three lines of coding, which means we write code depends on the browser. for example . -webkit-box-shadow will be used for chrome browser. and -moz-box-shadow property will be used only for mozilla firefox. because every browser parse css differently. So it is necessary to write code depending on the browser. </p>
<h3>2. Border Radius:</h3>
<p>border-radius property is the most popular of all properties in css 3. Designers always having problem with rounded corners. It will be very useful for them and developers whenever they need rounded corners.</p>
<pre class="text">
syntax:
border radius property : value;
example:
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
</pre>
<p>we can also create circle by increasing the value of the property.</p>
<h3>3. Text Overflow:</h3>
<p>text-overflow property is originally developed by internet explorer. It is used to hide or overflow the text. </p>
<pre class="text">
syntax:
text overflow property : value;
example:
-o-text-overflow: ellipsis;
text-overflow:ellipsis;
</pre>
<p>This property can accept two values they are,<br />
1.clip<br />
2.ellipsis</p>
<h3>4. Text shadow:</h3>
<p>It is very similar to box shadow. We use text shadow to make text very effective.</p>
<pre class="text">
syntax:
text shadow property : x-offset y-offset blur color-of-shadow;
example:
text-shadow: 0 1px 0 #FFFFFF;
</pre>
<p></p>
<h3>5.Multiple Backgrounds:</h3>
<p>The background property is allowed for multiple backgrounds in css 3. We can able to use more than one background for our site.</p>
<pre class="text">
syntax:
background : background value 1, background value 2;
example:
background: url(images/bg_1.jpg) 0 0 no-repeat,
url(images/bg_2.jpg) 100% 0 no-repeat;
</pre>
<p>And finally i have created a page to show you all the effects of the above properties. visit the demo page or download it.</p>
<div id="source">
<ul>
<li><a target="_blank" href="http://www.duckload.com/download/5401929/css3_style.zip">Download</a></li>
<li><a target="_blank" href="http://www.smartnetzone.com/blog_demos/css3_style/index.html">Demo</a></li>
</ul>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://demo.smartnetzone.com/css-3-styles-you-must-know/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
