<?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>GeekTantra &#187; Plugins</title>
	<atom:link href="http://www.geektantra.com/tag/plugins/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.geektantra.com</link>
	<description>yet another geek&#039;s blog</description>
	<lastBuildDate>Thu, 03 Jun 2010 00:46:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>jQuery Sliding Menu (AKA Lavalamp Menu)</title>
		<link>http://www.geektantra.com/2010/02/jquery-sliding-menu/</link>
		<comments>http://www.geektantra.com/2010/02/jquery-sliding-menu/#comments</comments>
		<pubDate>Sun, 28 Feb 2010 07:21:16 +0000</pubDate>
		<dc:creator>GeekTantra</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Technology/Internet]]></category>
		<category><![CDATA[User Interface]]></category>

		<guid isPermaLink="false">http://www.geektantra.com/2010/02/jquery-sliding-menu-aka-lavalamp/</guid>
		<description><![CDATA[<p><img class="alignleft" title="jquery-sliding-menu" src="http://www.geektantra.com/wp-content/uploads/2010/02/jquery-sliding-menu.jpg" alt="jquery-sliding-menu" width="225" height="140" /></p>

<p>Finally, I am back after a long time with a refreshing new jQuery plugin to make your Web Page menus look better. Its the jQuery Sliding Menu.<br />
 Demo: <a title="jQuery Sliding Menu" href="http://www.geektantra.com/projects/jquery-sliding-menu/" target="_blank">Click Here</a><br />
 Download: <a title="jQuery Sliding Menu" href="http://jquery-sliding-menu.googlecode.com/files/jquery-sliding-menu-1.0.zip">Click Here</a><br />
 Project Repository: <a title="jQuery Live Form Validation" href="http://code.google.com/p/jquery-sliding-menu/" target="_blank">Click Here</a></p>]]></description>
			<content:encoded><![CDATA[<p>Finally, I am back after a long time with a refreshing new jQuery plugin to make your Web Page menus look better. Its the jQuery Sliding Menu also known as the Lavalamp Menu or Fancy menu by some.</p>
<p>Demo: <a title="jQuery Sliding Menu" href="http://www.geektantra.com/projects/jquery-sliding-menu/" target="_blank">Click Here</a><br />
Download: <a title="jQuery Sliding Menu" href="http://jquery-sliding-menu.googlecode.com/files/jquery-sliding-menu-1.0.zip">Click Here</a><br />
Project Repository: <a title="jQuery Live Form Validation" href="http://code.google.com/p/jquery-sliding-menu/" target="_blank">Click Here</a></p>
<div style="font-size: 14px; font-weight: bold">Usage:</div>
<ul style="margin: 0px;">
<li>
In the head section add the following code:</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p148code1'); return false;">View Code</a> XML</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p1481"><td class="code" id="p148code1"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;link</span> <span style="color: #000066;">rel</span>=<span style="color: #ff0000;">&quot;stylesheet&quot;</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;stylesheets/jquery.sliding-menu.css&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;text/css&quot;</span> <span style="color: #000066;">media</span>=<span style="color: #ff0000;">&quot;screen&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;script</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;text/javascript&quot;</span> <span style="color: #000066;">src</span>=<span style="color: #ff0000;">&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/script<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #808080; font-style: italic;">&lt;!-- jQuery UI is Optional. Its only required if using easing functions. --&gt;</span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;script</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;text/javascript&quot;</span> <span style="color: #000066;">src</span>=<span style="color: #ff0000;">&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/script<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;script</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;text/javascript&quot;</span> <span style="color: #000066;">src</span>=<span style="color: #ff0000;">&quot;javascripts/jquery.sliding-menu.js&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/script<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;script</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;text/javascript&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
jQuery(function(){
  jQuery('#HorizontalSlidingMenu .SlidingMenu').slidingMenu();
  jQuery('#VerticalSlidingMenu .SlidingMenu').slidingMenu({ initialOpacity: 0.5 });
});
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/script<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

</li>
<li>
Add the form in the body as shown below</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p148code2'); return false;">View Code</a> XML</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p1482"><td class="code" id="p148code2"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;div</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;HorizontalSlidingMenu&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ul</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;SlidingMenu Horizontal&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;a</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;#&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>First Link<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;a</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;#&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Second Link<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;a</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;#&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Third Link<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;a</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;#&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Fourth Link<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;a</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;#&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Fifth Link<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/ul<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/div<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;div</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;VerticalSlidingMenu&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ul</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;SlidingMenu&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;a</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;#&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>First Link<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;a</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;#&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Second Link<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;a</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;#&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Third Link<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;a</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;#&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Fourth Link<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;a</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;#&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Fifth Link<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/ul<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/div<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

</li>
</ul>
<p>That&#8217;s it you are done!</p>
<p><em style="font-size: 14px;">For advanced users:</em></p>
<div style="font-size: 14px; font-weight: bold">List of options available:</div>
<table>
<tr>
<td><strong>backgroundClass</strong></td>
<td>Class of the moving background (Default: &#8220;Background&#8221;)</td>
</tr>
<tr>
<td><strong>initialOpacity</strong></td>
<td>Opacity of the moving background (Default: 1)</td>
</tr>
<tr>
<td><strong>slideSpeed</strong></td>
<td>Speed at which the background should slide (Default: 1, should be a fraction less than 1 which is max speed)</td>
</tr>
<tr>
<td><strong>easing</strong></td>
<td>Type of easying with which the background should slide (Default: &#8220;linear&#8221;, must include jQuery UI core for this to work)</td>
</tr>
<tr>
<td><strong>callback</strong></td>
<td>Callback of the sliding menu event (Default: &#8220;&#8221;)</td>
</tr>
<tr>
<td><strong>backgroundContent</strong></td>
<td>HTML for moving background (Default: &#8220;&lt;div&gt;&lt;/div&gt;&#8221;)</td>
</tr>
<tr>
<td><strong>activeClass</strong></td>
<td>Class for the clicked link (Default: &#8220;ActiveLink&#8221;)</td>
</tr>
<tr>
<td><strong>highlightOnClick</strong></td>
<td>Tells whether the menu item should get highlighted on clicking it (Default: false)</td>
</tr>
</table>
<p>Hope you liked the plugin. Awaiting your comments</p>
<p>If you liked the plugin please spread it for your friends to use and please rate it at <a href="http://plugins.jquery.com/project/jquery-sliding-menu" target="_blank">http://plugins.jquery.com/project/jquery-sliding-menu</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.geektantra.com/2010/02/jquery-sliding-menu/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>jQuery Live Form Validation</title>
		<link>http://www.geektantra.com/2009/09/jquery-live-form-validation/</link>
		<comments>http://www.geektantra.com/2009/09/jquery-live-form-validation/#comments</comments>
		<pubDate>Sun, 20 Sep 2009 20:56:34 +0000</pubDate>
		<dc:creator>GeekTantra</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Technology/Internet]]></category>

		<guid isPermaLink="false">http://www.geektantra.com/?p=99</guid>
		<description><![CDATA[<p><img class="alignleft" title="jquery-form-validate" src="http://www.geektantra.com/wp-content/uploads/2009/09/jquery-form-validate.jpg" alt="jquery-form-validate" width="225" height="140" /></p>

<p>After trying a load of non intuitive and not very useful jQuery form validation plugins I came up with this plugin. Its a jQuery plugin which helps create easy form validations with high flexibility and a large set of options.<br />
 Simple Demo: <a title="jQuery Live Form Validation" href="http://www.geektantra.com/projects/jquery-form-validate/" target="_blank">Click Here</a><br />
 Advanced Demo: <a title="jQuery Live Form Validation" href="http://www.geektantra.com/projects/jquery-form-validate/advanced_demo" target="_blank">Click Here</a><br />
 Download: <a title="jQuery Live Form Validation" href="http://jquery-form-validate.googlecode.com/files/jquery-form-validate.1.2.zip">Click Here</a></p>]]></description>
			<content:encoded><![CDATA[<p>After trying a load of non intuitive and not very useful jQuery form validation plugins I came up with this plugin. Its a jQuery plugin which helps create easy form validations with high flexibility and a large set of options.</p>
<p>Demo: <a title="jQuery Live Form Validation" href="http://www.geektantra.com/projects/jquery-form-validate/" target="_blank">Click Here</a><br />
Advanced Demo: <a title="jQuery Live Form Validation" href="http://www.geektantra.com/projects/jquery-form-validate/advanced_demo" target="_blank">Click Here</a><br />
Download: <a title="jQuery Live Form Validation" href="http://jquery-form-validate.googlecode.com/files/jquery-form-validate.1.2.zip">Click Here</a><br />
Project Repository: <a title="jQuery Live Form Validation" href="http://code.google.com/p/jquery-form-validate/" target="_blank">Click Here</a></p>
<div style="font-size: 14px; font-weight: bold">Features:</div>
<ul style="margin: 0px;">
<li>Supports custom validations</li>
<li>Options to toggle between live and onsubmit validations</li>
<li>Completely customizable CSS</li>
</ul>
<div style="font-size: 14px; font-weight: bold">Usage:</div>
<ul style="margin: 0px;">
<li>
In the head section add the following code:</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p99code3'); return false;">View Code</a> XML</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p993"><td class="code" id="p99code3"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;script</span> <span style="color: #000066;">src</span>=<span style="color: #ff0000;">&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;text/javascript&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/script<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;script</span> <span style="color: #000066;">src</span>=<span style="color: #ff0000;">&quot;javascripts/jquery.validate.js&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;text/javascript&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/script<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;script</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;text/javascript&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
            jQuery(function(){
                jQuery(&quot;#<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;id</span> of field to be validated<span style="color: #000000; font-weight: bold;">&gt;</span></span>&quot;).validate({
                    expression: &quot;if (<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;expression</span> for validation<span style="color: #000000; font-weight: bold;">&gt;</span></span>) return true; else return false;&quot;,
                    message: &quot;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;message</span> on validation failure<span style="color: #000000; font-weight: bold;">&gt;</span></span>&quot;
                });
            });
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/script<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

</li>
<li>
Add the form in the body as shown below</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p99code4'); return false;">View Code</a> XML</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p994"><td class="code" id="p99code4"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;form</span> <span style="color: #000066;">action</span>=<span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000066;">method</span>=<span style="color: #ff0000;">&quot;post&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;input</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;text&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;&lt;name of field to be validated&gt;</span></span>&quot; id=&quot;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;id</span> of field to be validated<span style="color: #000000; font-weight: bold;">&gt;</span></span>&quot; /&gt;
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;input</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;submit&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;Submit&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/form<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

</li>
</ul>
<p>That&#8217;s it you are done!</p>
<p><em style="font-size: 14px;">For advanced users:</em></p>
<div style="font-size: 14px; font-weight: bold">Options:</div>
<ul style="margin: 0px;">
<li><strong>expression:</strong> The javascript code which should have two outputs<br />
<true> or <false>. The value of the field is given by <val>. As this is a string escape characters for backslash and other non standard characters must be used. <em>(Default: return true;)</em> </li>
<li><strong>message: </strong>The validation message for the field. <em>(Default: &#8220;&#8221;)</em></li>
<li><strong>error_class:</strong> The CSS class of the error message container. <em>(Default: &#8220;ValidationErrors&#8221;)</em></li>
<li><strong>error_field_class:</strong> The CSS class added to the field when found invalid. <em>(Default: &#8220;ErrorField&#8221;)</em></li>
<li><strong>live:</strong> Sets whether the validation of the field should be live or on form submit. <em>(Default: true)</em></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.geektantra.com/2009/09/jquery-live-form-validation/feed/</wfw:commentRss>
		<slash:comments>87</slash:comments>
		</item>
		<item>
		<title>jQuery Mega Menu</title>
		<link>http://www.geektantra.com/2009/09/jquery-mega-menu/</link>
		<comments>http://www.geektantra.com/2009/09/jquery-mega-menu/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 19:43:23 +0000</pubDate>
		<dc:creator>GeekTantra</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Plugins]]></category>

		<guid isPermaLink="false">http://www.geektantra.com/?p=14</guid>
		<description><![CDATA[<p><img class="alignleft" title="jquery-megamenu-thumbnail" src="http://www.geektantra.com/wp-content/uploads/2009/09/jquery-megamenu-thumbnail.jpg" alt="jquery-megamenu-thumbnail" width="225" height="140" /></p>

<p>This is a simple jQuery based MegaMenu plugin.<br />
 Demo: <a title="jQuery Mega Menu" href="http://www.geektantra.com/projects/jquery-megamenu/" target="_blank">Click Here</a><br />
 Download: <a title="jQuery Mega Menu" href="http://jquery-megamenu.googlecode.com/files/jquery-megamenu.2.0.zip" target="_blank">Click Here</a></p>]]></description>
			<content:encoded><![CDATA[<div style="text-align: center;background: #FFFCBC; color: #C00; border: 1px solid #C00; font-size: 14px; padding: 5px;">A new version is available at<br />
<a href="http://www.geektantra.com/2010/05/jquery-megamenu-2/">http://www.geektantra.com/2010/05/jquery-megamenu-2/</a>
</div>
<p>The other day I was searching for a jQuery based MegaMenu over google but couldn&#8217;t find any good plugin for the same so sat down and wrote one for myself. Here is a simple jQuery plugin to create an unbloated MegaMenu in seconds.</p>
<p>Demo: <a title="jQuery Mega Menu" href="http://www.geektantra.com/projects/jquery-megamenu/" target="_blank">Click Here</a><br />
Download: <a title="jQuery Mega Menu" href="http://jquery-megamenu.googlecode.com/files/jquery-megamenu.2.0.zip" target="_blank">Click Here</a><br />
Project Repository: <a title="jQuery Mega Menu" href="http://code.google.com/p/jquery-megamenu/" target="_blank">Click Here</a></p>
<div style="font-size: 14px; font-weight: bold">Usage:</div>
<ul style="margin: 0px;">
<li>In your header section add the following:

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p14code5'); return false;">View Code</a> XML</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p145"><td class="code" id="p14code5"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;script</span> <span style="color: #000066;">src</span>=<span style="color: #ff0000;">&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;text/javascript&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/script<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;script</span> <span style="color: #000066;">src</span>=<span style="color: #ff0000;">&quot;javascripts/jquery.megamenu.js&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;text/javascript&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/script<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;script</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;text/javascript&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
$(document).ready(function(){
    $(&quot;.MegaMenuLink&quot;).megamenu(&quot;.MegaMenuContent&quot;, {
        width: &quot;900px&quot;
    });
});
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/script<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

<p>We can replace <em>MegaMenuLink</em> with the class of the menu links and <em>MegaMenuContent</em> with the class of the menu content. To have a flexible width of the megamenu just disable the width options or set width:&#8221;auto&#8221;.</p>
</li>
<li>Next in your body add the following code:

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p14code6'); return false;">View Code</a> XML</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p146"><td class="code" id="p14code6"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;a</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;MegaMenuLink&quot;</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;javascript:void(0)&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>First Mega Menu<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;div</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;MegaMenuContent&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
  Menu Content goes here
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/div<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

</li>
</ul>
<p>Enjoy the plugin and do not forget to comment about it here.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geektantra.com/2009/09/jquery-mega-menu/feed/</wfw:commentRss>
		<slash:comments>122</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->