<?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>bijusubhash.com &#187; Javascript</title> <atom:link href="http://www.bijusubhash.com/blog/category/javascript/feed" rel="self" type="application/rss+xml" /><link>http://www.bijusubhash.com</link> <description>Blog for Graphic Tutorials, Tips, Tricks, Technical Tutorials and Free stuffs</description> <lastBuildDate>Sat, 21 Jan 2012 17:39:16 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.2.1</generator> <item><title>Show/ hide a div element at a time with jQuery</title><link>http://www.bijusubhash.com/blog/show-hide-a-div-element-at-a-time-with-jquery</link> <comments>http://www.bijusubhash.com/blog/show-hide-a-div-element-at-a-time-with-jquery#comments</comments> <pubDate>Mon, 08 Aug 2011 21:28:09 +0000</pubDate> <dc:creator>Biju Subhash</dc:creator> <category><![CDATA[downloads]]></category> <category><![CDATA[Javascript]]></category> <category><![CDATA[hide]]></category> <category><![CDATA[JQuery]]></category> <category><![CDATA[jquery-show-hide.]]></category> <category><![CDATA[show]]></category> <category><![CDATA[show-hide-div]]></category> <guid
isPermaLink="false">http://www.bijusubhash.com/?p=4713</guid> <description><![CDATA[Here I would like to give a tutorial that if you have few div elements which you like to show/hide at a time with jQuery while clicking on a button. Its need a simple line of code for running through jQuery. First just call the jquery file from jquery website or download your server and [...]]]></description> <content:encoded><![CDATA[<p>Here I would like to give a tutorial that if you have few div elements which you like to show/hide at a time with jQuery while clicking on a button. Its need a simple line of code for running through jQuery. First just call the jquery file from jquery website or download your server and call from it self.<br
/> <img
src="http://www.bijusubhash.com/wp-content/uploads/2011/08/show-hide-div-with-jquery.jpg" alt="show-hide-div-with-jquery" title="show-hide-div-with-jquery" width="402" height="261" class="alignnone size-full wp-image-4723" /></p><pre class="brush: js; auto-links: true;">
&lt;script type=&quot;text/javascript&quot; src=&quot;http://code.jquery.com/jquery-latest.js&quot;&gt;&lt;/script&gt;
</pre><h3>HTML part</h3><pre class="brush: html;">
&lt;div class=&quot;btnCntnr&quot;&gt;
	&lt;input class=&quot;btns&quot; type=&quot;button&quot; value=&quot;cbox1&quot; id=&quot;b1&quot; /&gt;
	&lt;input class=&quot;btns&quot; type=&quot;button&quot; value=&quot;cbox2&quot; id=&quot;b2&quot; /&gt;
	&lt;input class=&quot;btns&quot; type=&quot;button&quot; value=&quot;cbox3&quot; id=&quot;b3&quot; /&gt;
&lt;/div&gt;
&lt;div&gt;
	&lt;div id=&quot;cbox1&quot; style=&quot;display:block;&quot;&gt;&lt;/div&gt;
	&lt;div id=&quot;cbox2&quot; style=&quot;display:none;&quot;&gt;&lt;/div&gt;
	&lt;div id=&quot;cbox3&quot; style=&quot;display:none;&quot;&gt;&lt;/div&gt;
&lt;/div&gt;
</pre><p>Here what we are going to do is, getting the value and assign to a variable. That value should be match with div ids. While clicking on each buttons it will set the set the css style property display to block and other div elements to display none. See the jQuery code below.</p><h3>jQuery Part</h3><pre class="brush: js;">
&lt;script&gt;
	$(document).ready(function(){
		$('.btns').click(function(){
		var btnv = this.value;
			$('#'+btnv).show('slideUp').siblings().hide('slideDown');
		})
	})
&lt;/script&gt;
</pre><p>This css part is for just styling my demo only. So you should create your own styles.</p><pre class="brush: css;">
&lt;style&gt;
	.btns{
		width:36px;
		height:32px;
		text-indent:-2000px;
		border:none;
	}
	.btnCntnr{padding-left:28px;}
	.btns#b1{
	background:url(images/buttons_bg.jpg) no-repeat 0 0;
	}
	.btns#b2{
	background:url(images/buttons_bg.jpg) no-repeat -46px 0;
	}
	.btns#b3{
	background:url(images/buttons_bg.jpg) no-repeat -92px 0;
	}
	#cbox1, #cbox2, #cbox3 {width:364px; height:140px;}
	#cbox1{
		background:url(images/div_bgs.jpg) no-repeat;
	}
	#cbox2{
		background:url(images/div_bgs.jpg) no-repeat 0 -142px;
	}
	#cbox3{
		background:url(images/div_bgs.jpg) no-repeat 0 -283px;
	}
&lt;/style&gt;
</pre><table
width="100%"><tbody><tr><td> <a
href="http://www.bijusubhash.com/wp-content/plugins/download-monitor/download.php?id=163" title="Downloaded 61 times"><img
src="http://www.bijusubhash.com/images/download_btn.png" alt="Show/ hide a div element at a time with jQuery" /></a></td><td
style="text-align:right;"> <a
href="http://www.bijusubhash.com/demo/show-hide-a-div-at-a-time-with-jquery/index.html" target="_blank"><img
class="alignnone size-full wp-image-4209" title="Demo" src="http://www.bijusubhash.com/wp-content/uploads/2010/12/demo_btn.png" alt="" width="177" height="139"></a></td></tr></tbody></table><div
class="awmp_tags"><a
href="http://www.bijusubhash.com/blog/tag/show" rel="tag">show</a> <a
href="http://www.bijusubhash.com/blog/tag/hide" rel="tag">hide</a> <a
href="http://www.bijusubhash.com/blog/tag/show-hide-div" rel="tag">show-hide-div</a> <a
href="http://www.bijusubhash.com/blog/tag/jquery-show-hide." rel="tag">jquery-show-hide.</a></div>]]></content:encoded> <wfw:commentRss>http://www.bijusubhash.com/blog/show-hide-a-div-element-at-a-time-with-jquery/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Create a Simple Accordion with jQuery and CSS</title><link>http://www.bijusubhash.com/blog/create-a-simple-accordion-with-jquery-and-css</link> <comments>http://www.bijusubhash.com/blog/create-a-simple-accordion-with-jquery-and-css#comments</comments> <pubDate>Wed, 08 Jun 2011 16:14:53 +0000</pubDate> <dc:creator>Biju Subhash</dc:creator> <category><![CDATA[downloads]]></category> <category><![CDATA[Javascript]]></category> <category><![CDATA[accordion]]></category> <category><![CDATA[CSS]]></category> <category><![CDATA[JQuery]]></category> <guid
isPermaLink="false">http://www.bijusubhash.com/?p=4601</guid> <description><![CDATA[As per the project I have to build a simple accordion and would like to share with you. So here I&#8217;m explaining how to build an accordion with jQuery and css. A plus and minus and a small gray gradient images are used in accordion. You can download and use for personal or commercial works [...]]]></description> <content:encoded><![CDATA[<p>As per the project I have to build a simple accordion and would like to share with you. So here I&#8217;m explaining how to build an accordion with jQuery and css. A plus and minus and a small gray gradient images are used in accordion. You can download and use for personal or commercial works but forbidden to redistribute other than bijusubhash.com. If you like this then please spread or back link from your website.The steps are explaining below. You can see a demo and  download too.<br
/> <img
src="http://www.bijusubhash.com/wp-content/uploads/2011/06/Simple-Accordion-Example.png" alt="Simple Accordion Example" title="Simple Accordion Example" width="693" class="alignnone size-full wp-image-4620" /></p><h3>Step 1: The jQuery Code</h3><pre class="brush: js;">
&lt;script type=&quot;text/javascript&quot; src=&quot;../js/jquery.js&quot; &gt;&lt;/script&gt;
&lt;script  type=&quot;text/javascript&quot; language=&quot;javascript&quot;&gt;
$(document).ready(function(){
$('.adCntnr div.acco2:eq(0)').find('div.expand:eq(0)').addClass('openAd').end() /*find the first child and opended by default, and add class openAd*/
.find('div.collapse:gt(0)').hide().end()
.find('div.expand').click(function() {
$(this).toggleClass('openAd').siblings().removeClass('openAd').end()
.next('div.collapse').slideToggle().siblings('div.collapse:visible').slideUp();
return false;
});
})
&lt;/script&gt;
</pre><h3>Step 2 : CSS Markup</h3><pre class="brush: css;">
/* Accordion Styles starts */
.adqstdts {
min-height:75px;
background:#f0f0f1;
border:1px solid #dbdbdc;
border-left:none;
border-right:none;
margin-top:7px;
padding:7px;
}
.asdDts {
color:#737374;
font-size:12px;
font-weight:normal;
line-height:25px;
}
.printAd {
background:url(../images/printer.png) no-repeat ;
padding-left:25px;
padding-bottom:2px;
padding-top:2px;
color:#737374;
}
.exportAd {
background:url(../images/document-export.png) no-repeat ;
padding-bottom:2px;
padding-left:25px;
padding-top:2px;
color:#737374;
}
.adCntnr .acco2 .expand {
background:url(../images/title_bar_bg.gif) repeat-x ;
line-height:28px;
border-left:1px solid #cfcece;
border-right:1px solid #cfcece;
padding-left:5px;
}
.adCntnr .acco2 .expand a{
background:url(../images/rnd_plus_icon.png) no-repeat 0 4px;
padding-left:25px;
text-decoration:none;
}
.adCntnr .acco2 .openAd a{
background:url(../images/rnd_minus_icon.png) no-repeat 0 4px ;
padding-left:25px;
color:#333 !important;
text-decoration:none;
}
.adCntnr .acco2 .openAd {
background:url(../images/title_bar_bg.gif) repeat-x ;
line-height:27px;
border-left:1px solid #cfcece;
border-right:1px solid #cfcece;
padding-left:5px;
}
.adCntnr .acco2 .expand a{
color:#676f72;
}
.adCntnr  .accCntnt {
border:1px solid #cfcece;
border-top:none;
padding:10px;
background:#f1f1f1;
}
/* Accordion Styles starts */
</pre><h3>Step 3 : HTML Markup</h3><pre class="brush: html;">
&lt;div class=&quot;adCntnr&quot; &gt;
&lt;div class=&quot;acco2&quot;&gt;
&lt;div class=&quot;expand&quot;&gt;&lt;a title=&quot;expand/collapse&quot; href=&quot;#&quot; style=&quot;display: block;&quot;&gt;Title for the First Heading&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;collapse&quot;&gt;
&lt;div class=&quot;accCntnt&quot;&gt;
&lt;div class=&quot;titlebarLeftc&quot; style=&quot;height:25px; border-bottom:1px solid #dadada;&quot;&gt;
&lt;div class=&quot;titlebarRightc&quot; style=&quot;height:25px;&quot;&gt;
&lt;div class=&quot;titlebar&quot; style=&quot;height:25px;&quot;&gt;
&lt;table class=&quot;dataGridHdr&quot; width=&quot;100%&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;
&lt;tr&gt;
&lt;td class=&quot;dataGridHdr_boder&quot; style=&quot;padding-left:0;&quot;;&gt;Label One&lt;/td&gt;
&lt;td width=&quot;210&quot; class=&quot;dataGridHdr_boder2&quot;&gt;Label Two&lt;/td&gt;
&lt;td width=&quot;45&quot; class=&quot;dataGridHdr_boder2&quot;&gt;Label&lt;/td&gt;
&lt;td width=&quot;40&quot; class=&quot;dataGridHdr_boder3&quot;&gt;Label&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;dataGrid_container&quot;&gt;
&lt;table class=&quot;dataGrid&quot; width=&quot;100%&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;
&lt;tr class=&quot;dataAlterRw1&quot;&gt;
&lt;td class=&quot;dataGridHdr_boder&quot;&gt;Lorem ipsum dolor sit amet, consectetur&lt;/td&gt;
&lt;td  width=&quot;210&quot; class=&quot;dataGridHdr_boder&quot; style=&quot;padding:0 7px;&quot;&gt;Lorem ipsum&lt;/td&gt;
&lt;td  width=&quot;45&quot; class=&quot;dataGridHdr_boder&quot; style=&quot;padding:0 7px;&quot;&gt;60%&lt;/td&gt;
&lt;td  width=&quot;47&quot; class=&quot;dataGridHdr_boder3&quot; style=&quot;padding:0 7px;&quot;&gt;17&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class=&quot;dataAlterRw2&quot;&gt;
&lt;td class=&quot;dataGridHdr_boder&quot;&gt;Lorem ipsum dolor sit amet&lt;/td&gt;
&lt;td  width=&quot;210&quot; class=&quot;dataGridHdr_boder&quot; style=&quot;padding:0 7px;&quot;&gt;Lorem ipsum&lt;/td&gt;
&lt;td  width=&quot;45&quot; class=&quot;dataGridHdr_boder&quot; style=&quot;padding:0 7px;&quot;&gt;10%&lt;/td&gt;
&lt;td  width=&quot;47&quot; class=&quot;dataGridHdr_boder3&quot; style=&quot;padding:0 7px;&quot;&gt;17&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class=&quot;dataAlterRw1&quot;&gt;
&lt;td class=&quot;dataGridHdr_boder&quot;&gt;Lorem ipsum dolor sit &lt;/td&gt;
&lt;td  width=&quot;210&quot; class=&quot;dataGridHdr_boder&quot; style=&quot;padding:0 7px;&quot;&gt;Lorem ipsum&lt;/td&gt;
&lt;td  width=&quot;45&quot; class=&quot;dataGridHdr_boder&quot; style=&quot;padding:0 7px;&quot;&gt;20%&lt;/td&gt;
&lt;td  width=&quot;47&quot; class=&quot;dataGridHdr_boder3&quot; style=&quot;padding:0 7px;&quot;&gt;17&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class=&quot;dataAlterRw2&quot;&gt;
&lt;td class=&quot;dataGridHdr_boder&quot; &gt;Lorem ipsum dolor sit amet, consectetur&lt;/td&gt;
&lt;td  width=&quot;210&quot; class=&quot;dataGridHdr_boder&quot; style=&quot;padding:0 7px;&quot;&gt;Lorem ipsum&lt;/td&gt;
&lt;td  width=&quot;45&quot; class=&quot;dataGridHdr_boder&quot; style=&quot;padding:0 7px;&quot;&gt;30%&lt;/td&gt;
&lt;td  width=&quot;47&quot; class=&quot;dataGridHdr_boder3&quot; style=&quot;padding:0 7px;&quot;&gt;17&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;height:5px;&quot;&gt;&lt;/div&gt;
&lt;div class=&quot;expand&quot;&gt;&lt;a title=&quot;expand/collapse&quot; href=&quot;#&quot; style=&quot;display: block;&quot;&gt;Title for the Second Heading&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;collapse&quot;&gt;
&lt;div class=&quot;accCntnt&quot;&gt;
&lt;p style=&quot;font-weight:normal; color:#333;&quot;&gt;
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;height:5px;&quot;&gt;&lt;/div&gt;
&lt;div class=&quot;expand&quot;&gt;&lt;a title=&quot;expand/collapse&quot; href=&quot;#&quot; style=&quot;display: block;&quot;&gt;Title for the Third Heading&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;collapse&quot;&gt;
&lt;div class=&quot;accCntnt&quot;&gt;
&lt;p style=&quot;font-weight:normal; color:#333;&quot;&gt;
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;height:5px;&quot;&gt;&lt;/div&gt;
&lt;div class=&quot;expand&quot;&gt;&lt;a title=&quot;expand/collapse&quot; href=&quot;#&quot; style=&quot;display: block;&quot;&gt;Back to Tutorial&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;collapse&quot;&gt;
&lt;div class=&quot;accCntnt&quot;&gt;
&lt;p style=&quot;font-weight:normal; color:#333;&quot;&gt;
&lt;div style=&quot;text-align:center;&quot;&gt;&lt;a href=&quot;#&quot;&gt;Back to the Tutorial&lt;/a&gt;&lt;/div&gt;
&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</pre><table
width="100%"><tbody><tr><td><a
href="http://www.bijusubhash.com/wp-content/plugins/download-monitor/download.php?id=140" title="Downloaded 351 times"><img
src="http://www.bijusubhash.com/images/download_btn.png" alt="Simple Accordion with jQuery" /></a></td><td
style="text-align: right;"><a
href="http://www.bijusubhash.com/demo/Simple-Accordion/simple_accordion_sample.html" target="_blank"><img
class="alignnone size-full wp-image-4209" title="Simple Accordion Demo" src="http://www.bijusubhash.com/wp-content/uploads/2010/12/demo_btn.png" alt="" width="177" height="139" /></a></td></tr></tbody></table> ]]></content:encoded> <wfw:commentRss>http://www.bijusubhash.com/blog/create-a-simple-accordion-with-jquery-and-css/feed</wfw:commentRss> <slash:comments>8</slash:comments> </item> <item><title>Simple Popup using CSS and jQuery</title><link>http://www.bijusubhash.com/blog/simple-popup-using-css-and-jquery</link> <comments>http://www.bijusubhash.com/blog/simple-popup-using-css-and-jquery#comments</comments> <pubDate>Sun, 24 Apr 2011 13:30:32 +0000</pubDate> <dc:creator>Biju Subhash</dc:creator> <category><![CDATA[downloads]]></category> <category><![CDATA[HTML]]></category> <category><![CDATA[Javascript]]></category> <category><![CDATA[css-popup]]></category> <category><![CDATA[JQuery]]></category> <category><![CDATA[jQuery-popup]]></category> <category><![CDATA[modal window]]></category> <category><![CDATA[popup]]></category> <category><![CDATA[simple-popup]]></category> <guid
isPermaLink="false">http://www.bijusubhash.com/?p=4483</guid> <description><![CDATA[In this post I&#8217;m explaining, how to create a simple popup using CSS and jQuery. There is a lot of popup script available over the net like, lightbox, tinybox etc. As per the part of my project I want to create a simple popup without any animation and it should be automatically aligned center vertical [...]]]></description> <content:encoded><![CDATA[<p>In this post I&#8217;m explaining, how to create a simple popup using CSS and jQuery. There is a lot of popup script available over the net like, lightbox, tinybox etc. As per the part of my project I want to create a simple popup without any animation and it should be automatically aligned center vertical and horizontal. For this popup, here I&#8217;m explaining each code html, css and jquery. Ok lets start with html first.<br
/> <img
src="http://www.bijusubhash.com/wp-content/uploads/2011/04/Simple-Popup-Box-using-CSS-and-jQuery.jpg" alt="Simple Popup Box using CSS and jQuery" title="Simple Popup Box using CSS and jQuery" width="728" class="alignnone size-full wp-image-4485" /></p><h3>Step One HTML</h3><pre class="brush: html;">
&lt;div class=&quot;QTPopup&quot;&gt;
    	&lt;div class=&quot;popupGrayBg&quot;&gt;&lt;/div&gt;
    	&lt;div class=&quot;QTPopupCntnr&quot;&gt;
        	&lt;div class=&quot;gpBdrLeftTop&quot;&gt;&lt;/div&gt;
            &lt;div class=&quot;gpBdrRightTop&quot;&gt;&lt;/div&gt;
            &lt;div class=&quot;gpBdrTop&quot;&gt;&lt;/div&gt;
            &lt;div class=&quot;gpBdrLeft&quot;&gt;
            	&lt;div class=&quot;gpBdrRight&quot;&gt;
                	&lt;div class=&quot;caption&quot;&gt;
                    	Send Your Messages
                    &lt;/div&gt;
                    &lt;a href=&quot;#&quot; class=&quot;closeBtn&quot; title=&quot;Close&quot;&gt;&lt;/a&gt;
                    &lt;div class=&quot;content&quot;&gt;
                    	&lt;table width=&quot;100%&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;
                        	&lt;tr&gt;
                            	&lt;td&gt;Name&lt;/td&gt;
                            	&lt;td width=&quot;260&quot;&gt;
                                    &lt;div class=&quot;titlebarLeftc&quot;&gt;
                                    &lt;div class=&quot;titlebarRightc&quot;&gt;
                                    &lt;div class=&quot;titlebar&quot; style=&quot;width:250px;&quot;&gt;&lt;input type=&quot;text&quot; value=&quot;&quot;  style=&quot;border:0px;  background:none; margin-top:5px; width:245px;&quot;/&gt;
                                    &lt;/div&gt;
                                    &lt;/div&gt;
                                    &lt;/div&gt;
                                &lt;/td&gt;
                            &lt;/tr&gt;
                            &lt;tr&gt;
                            	&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;
                            &lt;/tr&gt;
                        	&lt;tr&gt;
                            	&lt;td&gt;Email&lt;/td&gt;
                            	&lt;td width=&quot;260&quot;&gt;
                                    &lt;div class=&quot;titlebarLeftc&quot;&gt;
                                    &lt;div class=&quot;titlebarRightc&quot;&gt;
                                    &lt;div class=&quot;titlebar&quot; style=&quot;width:250px;&quot;&gt;&lt;input type=&quot;text&quot; value=&quot;&quot;  style=&quot;border:0px;  background:none; margin-top:5px; width:245px;&quot;/&gt;
                                    &lt;/div&gt;
                                    &lt;/div&gt;
                                    &lt;/div&gt;
                                &lt;/td&gt;
                            &lt;/tr&gt;
                        &lt;/table&gt;&lt;br /&gt;
                        &lt;table&gt;
                            &lt;tr&gt;
                            	&lt;td&gt;&amp;nbsp;&lt;/td&gt;
                            &lt;/tr&gt;
                        	&lt;tr&gt;
                            	&lt;td&gt;
                                	Subject
                                &lt;/td&gt;
                            &lt;/tr&gt;
                            &lt;tr&gt;
                            	&lt;td style=&quot;height:5px;&quot;&gt;&lt;/td&gt;
                            &lt;/tr&gt;
                        	&lt;tr&gt;
                            	&lt;td&gt;
                                	&lt;div class=&quot;titlebarLeftc&quot;&gt;
                                    &lt;div class=&quot;titlebarRightc&quot;&gt;
                                    &lt;div class=&quot;titlebar&quot; style=&quot;width:414px;&quot;&gt;&lt;input type=&quot;text&quot; value=&quot;&quot;  style=&quot;border:0px;  background:none; margin-top:5px; width:405px;&quot;/&gt;
                                    &lt;/div&gt;
                                    &lt;/div&gt;
                                    &lt;/div&gt;
                                &lt;/td&gt;
                            &lt;/tr&gt;
                            &lt;tr&gt;
                            	&lt;td&gt;&amp;nbsp;&lt;/td&gt;
                            &lt;/tr&gt;
                        	&lt;tr&gt;
                            	&lt;td&gt;
                                	Message
                                &lt;/td&gt;
                            &lt;/tr&gt;
                             &lt;tr&gt;
                            	&lt;td style=&quot;height:5px;&quot;&gt;&lt;/td&gt;
                            &lt;/tr&gt;
                            &lt;tr&gt;
                            	&lt;td&gt;
									&lt;textarea class=&quot;textareagradiant&quot; style=&quot;width:428px; height:116px; border:1px solid #CFCECE;&quot;&gt; &lt;/textarea&gt;
                                &lt;/td&gt;
                            &lt;/tr&gt;
                            &lt;tr&gt;
	                            &lt;td style=&quot;height:5px;&quot;&gt;&lt;/td&gt;
                            &lt;/tr&gt;
                            &lt;tr&gt;
	                            &lt;td style=&quot;height:10px;&quot;&gt;&lt;/td&gt;
                            &lt;/tr&gt;
                            &lt;tr&gt;
                            	&lt;td&gt;
                                &lt;input type=&quot;button&quot; value=&quot;Submit&quot; class=&quot;gbtn_s&quot;  /&gt;
                                &lt;input type=&quot;button&quot; value=&quot;Reset&quot; class=&quot;gbtn_s&quot;  /&gt;
                                &lt;/td&gt;
                            &lt;/tr&gt;
                        &lt;/table&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
            &lt;/div&gt;
            &lt;div class=&quot;gpBdrLeftBottom&quot;&gt;&lt;/div&gt;
            &lt;div class=&quot;gpBdrRightBottom&quot;&gt;&lt;/div&gt;
            &lt;div class=&quot;gpBdrBottom&quot;&gt;&lt;/div&gt;
    &lt;/div&gt;
    &lt;/div&gt;
</pre><h3>Step Two CSS</h3><p>Here we are using only three images for popup. One is for the curve of the popup, its using a master image for curves. And the another two are for close bottons which for normal and mouse over buttons.</p><pre class="brush: css;">
/*---popup styles starts here ----- */
	.popupGrayBg {
		position:fixed;
		width:100%;
		height:100%;
		background:black;
		z-index:1001;
		left:0;
		top:0;
		opacity:.5;
		filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);
		}
	.QTPopupCntnr {
		width:487px;
		position:fixed;
		z-index:1200;
		background:gray;
		left:50%;
		top:50%;
		margin-left:-244px;
		margin-top:-276px;
		}
	.gpBdrLeftTop {
		width:6px;
		height:6px;
		background:url(../images/greenPopupBdr.png) left top no-repeat;
		float:left;
		}
	.gpBdrRightTop {
		width:6px;
		height:6px;
		background:url(../images/greenPopupBdr.png) right top no-repeat;
		float:right;
		}
	.gpBdrTop {
		height:3px;
		background:#a9b6e1;
		border-top:3px solid #3b4f91;
		margin-left:6px;
		margin-right:6px;
		}
	.gpBdrLeft {
		border-left:3px solid #3b4f91;
		background:#fff;
		}
	.gpBdrRight {
		border-right:3px solid #3b4f91;
		background:#fff;
		min-height:400px;
		position:relative;
	}
	.gpBdrLeftBottom {
		width:6px;
		height:6px;
		background:url(../images/greenPopupBdr.png) left bottom no-repeat;
		float:left;
		}
	.gpBdrRightBottom {
		width:6px;
		height:6px;
		background:url(../images/greenPopupBdr.png) right bottom no-repeat;
		float:right;
		}
	.gpBdrBottom {
		height:3px;
		background:#fff;
		border-bottom:3px solid #3b4f91;
		margin-left:6px;
		margin-right:6px;
		}
	.gpBdrRight .caption {
		background:#a9b6e1;
		line-height:38px;
		padding-left:10px;
		font-family:Arial, Helvetica, sans-serif;
		font-size:15px;
		font-weight:bold;
		color:#3b4f91;
		}
	.gpBdrRight .closeBtn {
		background:red;
		width:31px;
		height:31px;
		position:absolute;
		right:-15px;
		top:-15px;
		background:url(../images/grn_pp_cls_btn_normal.png) no-repeat;
		}
	.gpBdrRight .closeBtn:hover {
		background:url(../images/grn_pp_cls_btn_over.png) no-repeat;
		}
	.gpBdrRight .content {
		padding:25px;
		font-weight:normal;
		}
/*---popup styles ends here ----- */
</pre><h3>Step Three jQuery</h3><pre class="brush: js;">
&lt;script type=&quot;text/javascript&quot; src=&quot;js/jquery.js&quot; &gt;&lt;/script&gt;
&lt;script  type=&quot;text/javascript&quot; language=&quot;javascript&quot;&gt;
$(document).ready(function(){
	$(&quot;.QTPopup&quot;).css('display','none') // set the popup display none default
	$(&quot;.lnchPopop&quot;).click(function(){ // launch the popup
		$(&quot;.QTPopup&quot;).animate({width: 'show'}, 'slow');})
		$(&quot;.closeBtn&quot;).click(function(){ // close the popup
			$(&quot;.QTPopup&quot;).css('display', 'none');
		})
})
&lt;/script&gt;
</pre><p>You can download the popup script and see the demo too.</p><table
width="100%"><tbody><tr><td> <a
href="http://www.bijusubhash.com/wp-content/plugins/download-monitor/download.php?id=113" title="Downloaded 691 times"><img
src="http://www.bijusubhash.com/images/download_btn.png" alt="Simple Popup using CSS and jQuery" /></a></td><td
style="text-align:right;"> <a
href="http://www.bijusubhash.com/demo/Simple-Popup-using-CSS-and-jQuery/simple-popup-using-css-and-jquery.html" target="_blank"><img
class="alignnone size-full wp-image-4209" title="Demo" src="http://www.bijusubhash.com/wp-content/uploads/2010/12/demo_btn.png" alt="" width="177" height="139"></a></td></tr></tbody></table><div
class="awmp_tags"><a
href="http://www.bijusubhash.com/blog/tag/popup" rel="tag">popup</a> <a
href="http://www.bijusubhash.com/blog/tag/simple-popup" rel="tag">simple-popup</a> <a
href="http://www.bijusubhash.com/blog/tag/jQuery-popup" rel="tag">jQuery-popup</a> <a
href="http://www.bijusubhash.com/blog/tag/css-popup" rel="tag">css-popup</a></div>]]></content:encoded> <wfw:commentRss>http://www.bijusubhash.com/blog/simple-popup-using-css-and-jquery/feed</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>jFormer &#8211; A jQuery Form Framework</title><link>http://www.bijusubhash.com/blog/jformer-a-jquery-form-framework</link> <comments>http://www.bijusubhash.com/blog/jformer-a-jquery-form-framework#comments</comments> <pubDate>Fri, 11 Mar 2011 03:15:56 +0000</pubDate> <dc:creator>Biju Subhash</dc:creator> <category><![CDATA[Javascript]]></category> <category><![CDATA[jFormer]]></category> <category><![CDATA[JQuery]]></category> <guid
isPermaLink="false">http://www.bijusubhash.com/?p=4405</guid> <description><![CDATA[jFormer is a form framework. Its allows you to quickly create beautiful, standards compliant forms. Leveraging the latest techniques in web design. Its helop to create web forms like validate client-side, validate server-side, process without changing the page (using AJAX). At 18K gzipped, jFormer is one of the first frameworks that comes Closure Compiled with [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://www.jformer.com/" target="_blank"><img
class="alignnone size-full wp-image-4406" title="jFormer - A jQuery Form Framework" src="http://www.bijusubhash.com/wp-content/uploads/2011/03/jFormer-A-jQuery-Form-Framework.jpg" alt="jFormer - A jQuery Form Framework" width="639" /></a><br
/> jFormer is a form framework. Its allows you to quickly create beautiful, standards compliant forms. Leveraging the latest techniques in web design. Its helop to create web forms like validate client-side, validate server-side, process without changing the page (using AJAX). At 18K gzipped, jFormer is one of the first frameworks that comes Closure Compiled with Google’s latest JavaScript compression technology. You may use any jFormer project under the terms of either the MIT License or the GNU General Public License (GPL) Version 2.<br
/> <a
href="http://www.jformer.com/" target="_blank"><img
class="alignnone size-full wp-image-2564" title="website url" src="http://www.bijusubhash.com/wp-content/uploads/2009/11/website-url.gif" alt="website url" width="128" height="54" /></a></p><div
class="awmp_tags"><a
href="http://www.bijusubhash.com/blog/tag/jQuery" rel="tag">jQuery</a> <a
href="http://www.bijusubhash.com/blog/tag/jFormer" rel="tag">jFormer</a></div>]]></content:encoded> <wfw:commentRss>http://www.bijusubhash.com/blog/jformer-a-jquery-form-framework/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>A Signature Pad for Your HTML Forms</title><link>http://www.bijusubhash.com/blog/a-signature-pad-for-your-html-forms</link> <comments>http://www.bijusubhash.com/blog/a-signature-pad-for-your-html-forms#comments</comments> <pubDate>Fri, 21 Jan 2011 14:50:13 +0000</pubDate> <dc:creator>Biju Subhash</dc:creator> <category><![CDATA[Javascript]]></category> <category><![CDATA[jQuery-Signature-pad]]></category> <category><![CDATA[Signature-Pad]]></category> <guid
isPermaLink="false">http://www.bijusubhash.com/?p=4259</guid> <description><![CDATA[The Signature Pad jQuery plugin will transform an HTML form into a signature pad. The Signature Pad has two modes: TypeIt and DrawIt. In TypeIt mode the user’s signature is automatically generated as HTML text, styled with @font-face, from the input field where they type their name. In DrawIt mode the user is able to [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://thomasjbradley.ca/lab/signature-pad" target="_blank"><img
class="alignnone size-full wp-image-4260" title="A Signature Pad for Your HTML Forms" src="http://www.bijusubhash.com/wp-content/uploads/2011/01/A-Signature-Pad-for-Your-HTML-Forms.jpg" alt="A Signature Pad for Your HTML Forms" width="855" /></a></p><p><a
title="The Signature Pad" href="http://thomasjbradley.ca/lab/signature-pad" target="_blank">The Signature Pad</a> jQuery plugin will transform an HTML form into a signature pad. The  Signature Pad has two modes: TypeIt and DrawIt. In TypeIt mode the  user’s signature is automatically generated as HTML text, styled with  @font-face, from the input field where they type their name. In DrawIt  mode the user is able to draw their signature on the canvas element.</p><p>The  drawn signature is written out to a hidden input field as a JSON array  using JSON.strinify(). Since the signature is saved as JSON it can be  submitted as part of the form and kept on file. Using the JSON array,  the signature can then be regenerated into the canvas element for  display. Signature Pad works with both mouse and touch devices.</p><p><a
href="http://thomasjbradley.ca/lab/signature-pad" target="_blank"><img
class="alignnone size-full wp-image-2564" title="website url" src="http://www.bijusubhash.com/wp-content/uploads/2009/11/website-url.gif" alt="website url" width="128" height="54" /></a></p><div
class="awmp_tags"><a
href="http://www.bijusubhash.com/blog/tag/jQuery-Signature-pad" rel="tag">jQuery-Signature-pad</a> <a
href="http://www.bijusubhash.com/blog/tag/Signature-Pad" rel="tag">Signature-Pad</a> <a
href="http://www.bijusubhash.com/blog/tag/JavaScript" rel="tag">JavaScript</a> <a
href="http://www.bijusubhash.com/blog/tag/" rel="tag"></a></div>]]></content:encoded> <wfw:commentRss>http://www.bijusubhash.com/blog/a-signature-pad-for-your-html-forms/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>jQuery E-Help Embedded Help System for Web Apps</title><link>http://www.bijusubhash.com/blog/jquery-e-help-embedded-help-system-for-web-apps</link> <comments>http://www.bijusubhash.com/blog/jquery-e-help-embedded-help-system-for-web-apps#comments</comments> <pubDate>Wed, 19 Jan 2011 18:24:30 +0000</pubDate> <dc:creator>Biju Subhash</dc:creator> <category><![CDATA[Javascript]]></category> <category><![CDATA[JQuery]]></category> <guid
isPermaLink="false">http://www.bijusubhash.com/?p=4253</guid> <description><![CDATA[Embedded Help System is &#8220;providing help where help is needed&#8221; concept that can be easily integrated into web interface. The point is to offer help to user in their working interface and actual situation. Jquery E-Help is plugin for procedural(&#8220;How to &#8230;&#8221;) web user interface help and it&#8217;s easy to integrate into any web interface [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://embedded-help.net/" target="_blank"><img
class="alignnone size-full wp-image-4254" title="jQuery E-Help Embedded Help System for Web Apps" src="http://www.bijusubhash.com/wp-content/uploads/2011/01/jQuery-E-Help-Embedded-Help-System-for-Web-Apps.jpg" alt="jQuery E-Help Embedded Help System for Web Apps" width="662" /></a></p><p>Embedded Help System is &#8220;<strong>providing help where help is needed</strong>&#8221;  concept that can be easily integrated into web interface. The point is  to offer help to user in their working interface and actual situation.</p><p>Jquery E-Help is plugin for procedural(&#8220;How to &#8230;&#8221;) web user interface  help and it&#8217;s easy to integrate into any web interface that supports  Jquery. Useful for all web applications, CMS and E-commerce systems.</p><p><a
href="http://embedded-help.net/" target="_blank"><img
class="alignnone size-full wp-image-2564" title="website url" src="http://www.bijusubhash.com/wp-content/uploads/2009/11/website-url.gif" alt="website url" width="128" height="54" /></a></p><div
class="awmp_tags"><a
href="http://www.bijusubhash.com/blog/tag/javascript" rel="tag">javascript</a> <a
href="http://www.bijusubhash.com/blog/tag/jQuery" rel="tag">jQuery</a></div>]]></content:encoded> <wfw:commentRss>http://www.bijusubhash.com/blog/jquery-e-help-embedded-help-system-for-web-apps/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>SlideNote- A jQuery plugin for Notifications</title><link>http://www.bijusubhash.com/blog/slidenote-a-jquery-plugin-for-notifications</link> <comments>http://www.bijusubhash.com/blog/slidenote-a-jquery-plugin-for-notifications#comments</comments> <pubDate>Mon, 06 Dec 2010 19:01:22 +0000</pubDate> <dc:creator>Biju Subhash</dc:creator> <category><![CDATA[Javascript]]></category> <category><![CDATA[JQuery]]></category> <category><![CDATA[notes]]></category> <category><![CDATA[Plugin]]></category> <category><![CDATA[Wordpress-Plugin]]></category> <guid
isPermaLink="false">http://www.bijusubhash.com/?p=4216</guid> <description><![CDATA[SlideNote is lightweight, customizable and flexible jQuery plugin. You can makes easly sliding notification on your website or application. This plugin also available for wordpress too. notes jQuery JavaScript Plugin WordPress-Plugin]]></description> <content:encoded><![CDATA[<p><a
href="http://slidenote.info/" target="_blank"><img
class="alignnone size-full wp-image-4217" title="Sliding Note jQuery Plugin" src="http://www.bijusubhash.com/wp-content/uploads/2010/12/sliding_note_jQuery_plugin.jpg" alt="Sliding Note jQuery Plugin" width="584" height="219" /></a></p><p>SlideNote is lightweight, customizable and flexible jQuery plugin. You can makes easly sliding notification on your website or application. This plugin also available for wordpress too.</p><p><a
href="http://slidenote.info/" target="_blank"><img
class="alignnone size-full wp-image-2564" title="website url" src="http://www.bijusubhash.com/wp-content/uploads/2009/11/website-url.gif" alt="website url" width="128" height="54" /></a></p><div
class="awmp_tags"><a
href="http://www.bijusubhash.com/blog/tag/notes" rel="tag">notes</a> <a
href="http://www.bijusubhash.com/blog/tag/jQuery" rel="tag">jQuery</a> <a
href="http://www.bijusubhash.com/blog/tag/JavaScript" rel="tag">JavaScript</a> <a
href="http://www.bijusubhash.com/blog/tag/Plugin" rel="tag">Plugin</a> <a
href="http://www.bijusubhash.com/blog/tag/Wordpress-Plugin" rel="tag">WordPress-Plugin</a></div>]]></content:encoded> <wfw:commentRss>http://www.bijusubhash.com/blog/slidenote-a-jquery-plugin-for-notifications/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>A jQuery Slideshow Plugin &#8211; Slides</title><link>http://www.bijusubhash.com/blog/a-jquery-slideshow-plugin-slides</link> <comments>http://www.bijusubhash.com/blog/a-jquery-slideshow-plugin-slides#comments</comments> <pubDate>Fri, 03 Dec 2010 16:27:06 +0000</pubDate> <dc:creator>Biju Subhash</dc:creator> <category><![CDATA[Javascript]]></category> <category><![CDATA[JQuery]]></category> <category><![CDATA[photo-slider]]></category> <category><![CDATA[Slider]]></category> <guid
isPermaLink="false">http://www.bijusubhash.com/?p=4213</guid> <description><![CDATA[Slides is a crazy simple slideshow plugin for jQuery. It is verry easy to customize, implement and style. Its have auto play, fade or slide transition effects, crossfading, image preloading, auto generated pagination etc&#8230; Its work with all modern browsers including IE7,8,9 and Firefox3+, Chrome and Safari, mobile Safari and also working with old IE6. [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://slidesjs.com/" target="_blank"><img
class="alignnone size-full wp-image-4214" src="http://www.bijusubhash.com/wp-content/uploads/2010/12/A-jQuery-Slideshow-Plugin-Slides.jpg" alt="A jQuery Slideshow Plugin - Slides" width="676" /></a><br
/> Slides is a crazy simple slideshow plugin for jQuery. It is verry easy to customize, implement and style. Its have auto play, fade or slide transition effects, crossfading, image preloading, auto generated pagination etc&#8230; Its work with all modern browsers including IE7,8,9 and Firefox3+, Chrome and Safari, mobile Safari and also working with old IE6.</p><p><a
href="http://slidesjs.com/" target="_blank"><img
class="alignnone size-full wp-image-2564" title="website url" src="http://www.bijusubhash.com/wp-content/uploads/2009/11/website-url.gif" alt="website url" width="128" height="54" /></a></p><div
class="awmp_tags"><a
href="http://www.bijusubhash.com/blog/tag/jQuery" rel="tag">jQuery</a> <a
href="http://www.bijusubhash.com/blog/tag/Slider" rel="tag">Slider</a> <a
href="http://www.bijusubhash.com/blog/tag/Photo-Slider" rel="tag">Photo-Slider</a></div>]]></content:encoded> <wfw:commentRss>http://www.bijusubhash.com/blog/a-jquery-slideshow-plugin-slides/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>RedBrown Drop Down Menu-Using jQuery and CSS</title><link>http://www.bijusubhash.com/blog/redbrown-drop-down-menu-using-jquery-and-css</link> <comments>http://www.bijusubhash.com/blog/redbrown-drop-down-menu-using-jquery-and-css#comments</comments> <pubDate>Wed, 01 Dec 2010 15:52:47 +0000</pubDate> <dc:creator>Biju Subhash</dc:creator> <category><![CDATA[CSS Tab Menu]]></category> <category><![CDATA[downloads]]></category> <category><![CDATA[Javascript]]></category> <category><![CDATA[DropDown-Menu]]></category> <category><![CDATA[JQuery]]></category> <category><![CDATA[jQuery-Menu]]></category> <guid
isPermaLink="false">http://www.bijusubhash.com/?p=4178</guid> <description><![CDATA[As part of my project I have to build a drop down menu with animation. Actually its need some fade in animation effects when user clicks on the main tab and some more effects for sub navigation too. There are lot of navigation menu scripts available over the internet (I had listed some of them [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://www.bijusubhash.com/demo/redBrown-jQuery-menu/"><img
class="alignnone size-full wp-image-4179" title="RedBrown Drop Down Menu- Using jQuery and CSS" src="http://www.bijusubhash.com/wp-content/uploads/2010/11/RedBrown-Drop-Down-Menu-Using-jQuery-and-CSS.jpg" alt="RedBrown Drop Down Menu- Using jQuery and CSS" width="657" /></a><br
/> As part of  my project I have to build a drop down menu with animation. Actually its need some fade in animation effects when user clicks on the main tab and some more effects for sub navigation too. There are lot of navigation menu scripts available over the internet (I had listed some of them in my past blog) but I would like to create my own and would like to share with you. Here I&#8217;m using some simple jQuery scripts for animating the menu.</p><h2>Step 1</h2><p>We are going to build the list first.</p><pre class="brush: html; collapse: false; gutter: true; smart-tabs: true; tab-size: 4;">
&amp;lt;ul id=&amp;quot;menu&amp;quot;&amp;gt;
&amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;#&amp;quot;&amp;gt;Categories&amp;lt;/a&amp;gt;
&amp;lt;ul class=&amp;quot;submenu&amp;quot;&amp;gt;
&amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;#&amp;quot;&amp;gt;Design&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
&amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;#&amp;quot;&amp;gt;Development&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
&amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;#&amp;quot;&amp;gt;Freebies&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
&amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;#&amp;quot;&amp;gt;Inspiration&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
&amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;#&amp;quot;&amp;gt;Resources&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
&amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;#&amp;quot;&amp;gt;Tutorials&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
&amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;#&amp;quot;&amp;gt;Wordpress&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
&amp;lt;/ul&amp;gt;
&amp;lt;/li&amp;gt;
&amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;#&amp;quot;&amp;gt;Categories&amp;lt;/a&amp;gt;
&amp;lt;ul class=&amp;quot;submenu&amp;quot;&amp;gt;
&amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;#&amp;quot;&amp;gt;Design&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
&amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;#&amp;quot;&amp;gt;Development&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
&amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;#&amp;quot;&amp;gt;Freebies&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
&amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;#&amp;quot;&amp;gt;Inspiration&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
&amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;#&amp;quot;&amp;gt;Resources&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
&amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;#&amp;quot;&amp;gt;Tutorials&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
&amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;#&amp;quot;&amp;gt;Wordpress&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
&amp;lt;/ul&amp;gt;
&amp;lt;/li&amp;gt;
&amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;#&amp;quot;&amp;gt;Categories&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
&amp;lt;/ul&amp;gt;
</pre><h2>Step 2</h2><p>Now we have to apply a skin to the list. Add some styles.</p><pre class="brush: css;">
body {
background:url(images/m_bg.gif) repeat-x #b29668;
margin:70px;
}
.red {
color:red;
}
.brown {
color:brown;
}
h2 {
font-family:&amp;quot;Courier New&amp;quot;, Courier, monospace;
font-size:19px;
font-weight:normal;
margin-left:39px;
color:#333333;
}
#menu {
background:url(images/menu_bg.gif) no-repeat 0 -1px;
font:normal 18px/36px Arial, Helvetica, sans-serif;
float:left;
width:1000px;
padding:0;
}
#menu li {
background:url(images/menu_bg.gif) no-repeat 0 -1px;
list-style:none;
padding:0;
margin:0;
float:left;
position:relative;
}
#menu li a{
color:#bfbfbf;
text-decoration:none;
padding-left:15px;
padding-right:40px;
background:url(images/menu_bg.gif) no-repeat left bottom;
display:block;
float:left;
}
#menu li  span{
background:url(images/arrow.png) no-repeat 0 12px ;
width:20px;
height:35px;
/*display:inline-block;*/
float:left;
/*top:-35px;*/
/*position:relative;*/
cursor:pointer;
}
#menu li ul{
background:url(images/submenu_bg.gif) no-repeat right bottom;
padding:0;
font-size:15px;
display:none;
width:250px;
z-index:5;
position:absolute;
margin:0;
float:left;
left:0;
top:36px;
}
#menu li ul li{
background:none;
width:250px;
overflow:hidden;
line-height:25px;
}
#menu li ul a{
background-image:none;
border-bottom:1px solid #171717;
border-top:1px solid #545454;
border-left:1px solid #171717;
width:237px;
}
#menu li:hover ul{
}
a:active, a:visited {
outline:none;
}
.overRed {
background:url(images/over_red.png) no-repeat left top !important;
color:#FFFFFF !important;
border-left:none !important;
border-right:none !important;
}
</pre><p>I have explained about some css rules above. Just take a look on it.</p><h2>Step 3</h2><p>Now the final step, we are going to add some animation effects for the menu with jQuery. First we need to call the jquery.js. It should be like this.</p><pre class="brush: js;">
&amp;lt;script src=&amp;quot;js/jquery.js&amp;quot; type=&amp;quot;text/javascript&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;
</pre><p>Now the animation jquery code which you have to put inside the head tag.</p><pre class="brush: js;">
&amp;lt;script&amp;gt;
$(document).ready(function(){
$(&amp;quot;ul.submenu&amp;quot;).parent().append(&amp;quot;&amp;lt;span&amp;gt;&amp;lt;/span&amp;gt;&amp;quot;);
$(&amp;quot;ul#menu li a, ul#menu li span&amp;quot;).click(function(){
$(this).parent().find(&amp;quot;ul.submenu&amp;quot;).animate({height: 'show', opacity: 'show'}, 'slow');
})
$(&amp;quot;ul#menu li&amp;quot;).not(&amp;quot;ul#menu li ul li&amp;quot;).hover(function(){
}, function(){
$(&amp;quot;.submenu&amp;quot;).animate({height: 'hide', opacity: 'hide'}, 'slow');
})
$(&amp;quot;.submenu li a&amp;quot;).hover(function(){
$(this).animate({paddingLeft: &amp;quot;30px&amp;quot;}, 'fast') ;
$(this).addClass(&amp;quot;overRed&amp;quot;) ;
},
function(){
$(this).animate({paddingLeft: &amp;quot;15px&amp;quot;}, 'fast') ;
$(this).removeClass(&amp;quot;overRed&amp;quot;) ;
}
)
})
&amp;lt;/script&amp;gt;
</pre><table
width="100%"><tr><td><a
href="http://www.bijusubhash.com/wp-content/plugins/download-monitor/download.php?id=65" title="Downloaded 1066 times"><img
src="http://www.bijusubhash.com/images/download_btn.png" alt="RedBrown Drop Down Menu-Using jQuery and CSS" /></a></td><td
style="text-align:right;"> <a
href="http://www.bijusubhash.com/demo/RedBrown-Menu/RedBrown-Menu-A-Jquery-animated-drop-down-menu.html#" target="_blank"><img
class="alignnone size-full wp-image-4209" title="Demo" src="http://www.bijusubhash.com/wp-content/uploads/2010/12/demo_btn.png" alt="" width="177" height="139" /></a></td></tr></table><div
class="awmp_tags"><a
href="http://www.bijusubhash.com/blog/tag/jQuery-Menu" rel="tag">jQuery-Menu</a> <a
href="http://www.bijusubhash.com/blog/tag/CSS-Menu" rel="tag">CSS-Menu</a> <a
href="http://www.bijusubhash.com/blog/tag/DropDown-Menu" rel="tag">DropDown-Menu</a></div>]]></content:encoded> <wfw:commentRss>http://www.bijusubhash.com/blog/redbrown-drop-down-menu-using-jquery-and-css/feed</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Head JS Speeds Up, Simplifies &amp; Modernizes Your Site</title><link>http://www.bijusubhash.com/blog/head-js-speeds-up-simplifies-modernizes-your-site</link> <comments>http://www.bijusubhash.com/blog/head-js-speeds-up-simplifies-modernizes-your-site#comments</comments> <pubDate>Wed, 01 Dec 2010 14:40:57 +0000</pubDate> <dc:creator>Biju Subhash</dc:creator> <category><![CDATA[Javascript]]></category> <category><![CDATA[Technology]]></category> <category><![CDATA[head-js]]></category> <category><![CDATA[JQuery]]></category> <category><![CDATA[speed-site]]></category> <guid
isPermaLink="false">http://www.bijusubhash.com/?p=4204</guid> <description><![CDATA[The HEAD section is the worst place to load scripts. It&#8217;s painfully slow. The more and the bigger the worse it gets. Move scrips to the bottom and you run into dependency issues and you cannot safely use HTML5 and CSS3. Enter Head JS. A compact solution to these universal issues. head-js jQuery JavaScript speed-site]]></description> <content:encoded><![CDATA[<p><a
href="http://headjs.com/" target="_blank"><img
class="alignnone size-full wp-image-4205" title="Head JS Speeds Up- Simplifies &amp; Modernizes Your Site" src="http://www.bijusubhash.com/wp-content/uploads/2010/12/Head-JS-Speeds-Up-Simplifies-Modernizes-Your-Site.jpg" alt="Head JS Speeds Up- Simplifies &amp; Modernizes Your Site" width="983" /></a></p><p>The HEAD section is the worst place to load scripts. It&#8217;s painfully  slow. The more and the bigger the worse it gets. Move scrips to the  bottom and you run into dependency issues and you cannot <em>safely</em> use HTML5 and CSS3. Enter Head JS. A compact solution to these universal issues.</p><p><a
href="http://headjs.com/" target="_blank"><img
class="alignnone size-full wp-image-2564" title="website url" src="http://www.bijusubhash.com/wp-content/uploads/2009/11/website-url.gif" alt="website url" width="128" height="54" /></a></p><div
class="awmp_tags"><a
href="http://www.bijusubhash.com/blog/tag/head-js" rel="tag">head-js</a> <a
href="http://www.bijusubhash.com/blog/tag/jQuery" rel="tag">jQuery</a> <a
href="http://www.bijusubhash.com/blog/tag/JavaScript" rel="tag">JavaScript</a> <a
href="http://www.bijusubhash.com/blog/tag/speed-site" rel="tag">speed-site</a></div>]]></content:encoded> <wfw:commentRss>http://www.bijusubhash.com/blog/head-js-speeds-up-simplifies-modernizes-your-site/feed</wfw:commentRss> <slash:comments>1</slash:comments> </item> </channel> </rss>
