<?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</title>
	<atom:link href="http://www.geektantra.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.geektantra.com</link>
	<description>yet another geek&#039;s blog</description>
	<lastBuildDate>Sat, 06 Mar 2010 15:09:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>From LAMP to CUMP</title>
		<link>http://www.geektantra.com/2010/03/from-lamp-to-cump/</link>
		<comments>http://www.geektantra.com/2010/03/from-lamp-to-cump/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 20:57:10 +0000</pubDate>
		<dc:creator>GeekTantra</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Server Administration]]></category>
		<category><![CDATA[Web Architecture]]></category>
		<category><![CDATA[Apache HTTP Server]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Cross-platform software]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Solution stack]]></category>
		<category><![CDATA[Technology/Internet]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.geektantra.com/?p=158</guid>
		<description><![CDATA[<p>LAMP, an acronym for Linux Apache MySQL PHP, happens to be one of the most common server side solution stack. It has been almost 12 years since this stack has been ruling. But is there a scope that this can be replaced in the near future? [...]</p>

<p><input id="gwProxy" type="hidden" /> <input id="jsProxy" onclick="jsCall();" type="hidden" /></p>]]></description>
			<content:encoded><![CDATA[<p>LAMP, an acronym for Linux Apache MySQL PHP, happens to be one of the most common server side solution stack. It has been almost 12 years since this stack has been ruling. But is there a scope that this can be replaced in the near future?  With Oracle taking over Sun, and therefore MySQL, there is little hope that MySQL will get enough attention from it&#8217;s company to grow. The most common free distribution to work as the server OS has been CentOS for sometime now. But again it&#8217;s configuration and package management is not as easy to handle as it should be for a modern server OS. Configuring Apache without an expensive control panel could be a nightmare at times. More over,  it is too bulky on the memory side and does sadly on the performance side. May be the future solution stack overcomes all these issues and becomes a bit more easy to use. The most promising contender for this seems to be CUMP.</p>
<p><img class="alignright" style="border: 0px initial initial;" src="http://www.geektantra.com/wp-content/uploads/2010/03/lamp-cump.jpg" alt="LAMP to CUMP" width="200" height="400" /></p>
<div id="_mcePaste">So what is CUMP? It is an acronym for Cherokee Ubuntu MariaDB PHP. It seems to be a very promising contender in becoming a popular solution stack of the future.</div>
<div>Components of CUMP:</div>
<ol>
<li><strong>Cherokee: </strong>Its a very light weight fast HTTP server and a very good replacement for the ageing Apache HTTPD. Cherokee has all the features that a modern HTTP server needs to have. Some of the features of Cherokee are:
<ol>
<li>A beautiful and usable admin panel. Thanks to which we might not require an expensive control panel to configure Virtual Hosts on apache or to load a module on to apache. (Although a control panel might be required for other functions of the server like configuring DNS or SMTP)</li>
<li>Very lightweight and has a small footprint on memory hence extremely fast</li>
<li>It&#8217;s caching infrastructure. Another promising feature which makes it much more efficient in handling surges of traffic than Apache.</li>
</ol>
</li>
<li><strong>Ubuntu: <span style="font-weight: normal;">Come on!! Every one knows Ubuntu is a Linux distro. But why did I be so specific in picking Ubuntu as the choice for the future stack? The reason is usability. No one in the open source community pays more heed to usability than the Ubuntu team. But why do we need usability in a server grade OS? The reason is simple, so that we need not spend hours fighting with rpm dependencies or compiling source or editing .conf files. Ubuntu has a very strong repository support and a very powerful package management system (the APT) which ensures that we can manage our servers with ease like a modern server OS.</span></strong></li>
<li><strong>MariaDB: </strong>A relatively new entrant to the scene. With the takeover of SUN by Oracle, the future of MySQL doesn&#8217;t look so bright. But eventually we will need something to replace MySQL with at-least the same or more features that it has. MariaDB is a fork of MySQL created by Michael Widenus (Monty), the creator of MySQL, which can act as a drop-in replacement for MySQL. It has some new features with the major being the inclusion of a new storage engine Maria Storage Engine which can be a much safer alternative to MyISAM. With the backing of the people who know the best about MySQL I am sure MariaDB is going to be the successor of MySQL</li>
<li><strong>PHP: </strong>This is the only part of the equation which remains the same. Why? As a language PHP happens to be one of the easiest to learn and swiftest to deploy. More over availability of loads of popular and stable CMSs and Blogging softwares written on PHP has secured it in a better position to face the future. Hope the release of PHP 6 adds something more to our equation. Although I am bit disappointed with the fact that PHP 6 has been delayed now for almost over 4 years. </li>
</ol>
<p>I expect CUMP to be the solution stack of the future.</p>
<p>Awaiting comments on this.</p>
<p>
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.geektantra.com/2010/03/from-lamp-to-cump/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
		<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>7</slash:comments>
		</item>
		<item>
		<title>Update for jQuery Live Form Validation Plugin</title>
		<link>http://www.geektantra.com/2009/10/update-for-jquery-live-form-validation-plugin/</link>
		<comments>http://www.geektantra.com/2009/10/update-for-jquery-live-form-validation-plugin/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 16:00:34 +0000</pubDate>
		<dc:creator>GeekTantra</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Javascipt]]></category>
		<category><![CDATA[JavaScript programming language]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Technology/Internet]]></category>

		<guid isPermaLink="false">http://www.geektantra.com/?p=143</guid>
		<description><![CDATA[<p><img class="alignleft" title="jquery-form-validate-advanced-demo" src="http://www.geektantra.com/wp-content/uploads/2009/09/jquery-form-validate-advanced-demo.jpg" alt="jquery-form-validate-advanced-demo" width="225" height="140" /></p>

<p>An update of the <a title="jQuery Live Form Validation" href="http://www.geektantra.com/2009/09/jquery-live-form-validation/">jQuery Live form validation plugin</a> is here with an important feature addition.<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>So we have yet another update for jQuery Live Form Validation Plugin. Its a small but important update.</p>
<p>An important feature which I missed out in versions 1.0 and 1.1 has been added in this version. It is a callback option which can help make AJAX callbacks or any other callbacks when the form is successfully validated. </p>
<p>Now we can make callbacks on successful validation.<br />
In this example I am making an AJAX post to post.php when the form is successfully validated. For this we just need to add the following to the head section of our HTML file</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('p143code3'); return false;">View Code</a> XML</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p1433"><td class="code" id="p143code3"><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(){
                //The Validation as earlier
                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;
                });
                //The callback for the form with ID FormID
                jQuery(&quot;#FormID&quot;).validated(function(){
                   jQuery.post(&quot;post.php&quot;, jQuery(&quot;#FormID&quot;).serialize(), function(data){ jQuery(&quot;#FormID&quot;).html(data); });
                });
            });
<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>I have updated the advanced demo with an alert callback.</p>
<div style="font-size: 14px; font-weight: bold">Download and Demo</div>
<p>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>
<p>Hope this feature helps. And many thanks to Vayu for pointing out this important feature. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.geektantra.com/2009/10/update-for-jquery-live-form-validation-plugin/feed/</wfw:commentRss>
		<slash:comments>29</slash:comments>
		</item>
		<item>
		<title>jQuery Live Form Validation Version 1.1</title>
		<link>http://www.geektantra.com/2009/09/jquery-live-form-validation-version-1-1/</link>
		<comments>http://www.geektantra.com/2009/09/jquery-live-form-validation-version-1-1/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 10:43:36 +0000</pubDate>
		<dc:creator>GeekTantra</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[JavaScript programming language]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Validation]]></category>

		<guid isPermaLink="false">http://www.geektantra.com/?p=132</guid>
		<description><![CDATA[<p><img class="alignleft" title="jquery-form-validate-advanced-demo" src="http://www.geektantra.com/wp-content/uploads/2009/09/jquery-form-validate-advanced-demo.jpg" alt="jquery-form-validate-advanced-demo" width="225" height="140" /></p>

<p>A new release of the <a title="jQuery Live Form Validation" href="http://www.geektantra.com/2009/09/jquery-live-form-validation/">jQuery Live form validation plugin</a> is here with new features.<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>I made some incremental changes to the previous version of jQuery Form Validation and added some new features to the same.</p>
</p>
<div style="font-size: 14px; font-weight: bold">New features in version 1.1</div>
<ol>
<li>Validations of radio-buttons and check-boxes now possible</li>
<li>Added jquery.validation.functions.js to modularize addition of new validation functions.</li>
<li>New validation functions added
<ol>
<li>isValidDate(year, month, day): It takes in three parameters the year(i.e. full year) of the date, the month of the date and the day part of the date and returns false if its not a valid date and true if valid. It includes checking of leap years. For example: 02-29-2008 will show as valid but 02-29-2009 as invalid.</li>
<li>isChecked(id): It takes the id of the container containing the group of check-boxes or radio-buttons and returns false if none of the children were checked and true if at-least one was checked.</li>
</ol>
</li>
</ol>
<div style="font-size: 14px; font-weight: bold">Download and Demo</div>
<p>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>
]]></content:encoded>
			<wfw:commentRss>http://www.geektantra.com/2009/09/jquery-live-form-validation-version-1-1/feed/</wfw:commentRss>
		<slash:comments>7</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[Javascipt]]></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('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;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('p99code5'); return false;">View Code</a> XML</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p995"><td class="code" id="p99code5"><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>43</slash:comments>
		</item>
		<item>
		<title>Create a Grayscale grunge in Gimp</title>
		<link>http://www.geektantra.com/2009/09/create-a-grayscale-grunge-in-gimp/</link>
		<comments>http://www.geektantra.com/2009/09/create-a-grayscale-grunge-in-gimp/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 19:53:56 +0000</pubDate>
		<dc:creator>GeekTantra</dc:creator>
				<category><![CDATA[Graphics]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Gimp]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.geektantra.com/?p=46</guid>
		<description><![CDATA[<p><img class="alignleft" title="gimp-tutorial-01" src="/wp-content/uploads/2009/09/gimp-tutorial-01.jpg" alt="gimp-tutorial-01" width="225" height="140" /></p>

<p>An eight step simple tutorial to create a grayscale grunge effect in Gimp</p>]]></description>
			<content:encoded><![CDATA[<p>Here is a short tutorial on how to create a Grayscale grunge and put some text on to it to get the following effect.</p>
<div id="attachment_45" class="wp-caption alignnone" style="width: 610px"><a title="Show Full Image" rel="lightbox" href="http://www.geektantra.com/wp-content/uploads/2009/09/Output.jpg"><img class="size-full wp-image-45 " title="Gray Grunge Effect" src="http://www.geektantra.com/wp-content/uploads/2009/09/Output.jpg" alt="Output" width="600" height="400" /></a><p class="wp-caption-text">Gray Grunge Effect</p></div>
<div><strong><span style="font-size: medium;">Step 1:</span> </strong>Create a new Image 600&#215;400 with a white background on gimp<br />
<div id="attachment_48" class="wp-caption alignnone" style="width: 660px"><a title="Show Full Image" rel="lightbox" href="http://www.geektantra.com/wp-content/uploads/2009/09/Screenshot.png"><img class="size-medium wp-image-48 " title="Step-1" src="http://www.geektantra.com/wp-content/uploads/2009/09/Screenshot-650x406.png" alt="Screenshot" width="650" height="406" /></a><p class="wp-caption-text">Step-1</p></div></p>
</div>
<div><strong><span style="font-size: medium;">Step 2:</span> </strong>Next, create a gradient with multiple nodes on two colors (#FFFFFF) and (#CCCCCC)<br />
<div id="attachment_50" class="wp-caption alignnone" style="width: 660px"><a title="Show Full Image" rel="lightbox" href="http://www.geektantra.com/wp-content/uploads/2009/09/Screenshot-1.png"><img class="size-medium wp-image-50 " title="Step-2" src="http://www.geektantra.com/wp-content/uploads/2009/09/Screenshot-1-650x406.png" alt="Step-2" width="650" height="406" /></a><p class="wp-caption-text">Step-2</p></div></p>
</div>
<div><strong><span style="font-size: medium;">Step 3:</span> </strong>Next in the menu go to <strong><em>Filters » Distort » Whirl and Pinch </em></strong>and enter the values shown in the image below.<br />
<div id="attachment_55" class="wp-caption alignnone" style="width: 660px"><a title="Show Full Image" rel="lightbox" href="http://www.geektantra.com/wp-content/uploads/2009/09/Screenshot-2.png"><img class="size-medium wp-image-55  " title="Step-3" src="http://www.geektantra.com/wp-content/uploads/2009/09/Screenshot-2-650x406.png" alt="Step-3" width="650" height="406" /></a><p class="wp-caption-text">Step-3</p></div></p>
</div>
<div><strong><span style="font-size: medium;">Step 4:</span> </strong>Next in the menu go to <strong><em>Filters » Distort » Ripple </em></strong>and enter the values shown in the image below.<br />
<div id="attachment_57" class="wp-caption alignnone" style="width: 660px"><a title="Show Full Image" rel="lightbox" href="http://www.geektantra.com/wp-content/uploads/2009/09/Screenshot-3.png"><img class="size-medium wp-image-57" title="Step-4" src="http://www.geektantra.com/wp-content/uploads/2009/09/Screenshot-3-650x406.png" alt="Step-4" width="650" height="406" /></a><p class="wp-caption-text">Step-4</p></div></p>
</div>
<div><strong><span style="font-size: medium;">Step 5:</span> </strong>Open a grunge map having exactly the same size as our project <em>(i.e. 600 x 400)</em><br />
<div id="attachment_59" class="wp-caption alignnone" style="width: 660px"><a title="Show Full Image" rel="lightbox" href="http://www.geektantra.com/wp-content/uploads/2009/09/Screenshot-4.png"><img class="size-medium wp-image-59 " title="Step-5" src="http://www.geektantra.com/wp-content/uploads/2009/09/Screenshot-4-650x406.png" alt="Step-5" width="650" height="406" /></a><p class="wp-caption-text">Step-5</p></div></p>
</div>
<div><strong><span style="font-size: medium;">Step 6:</span> </strong>Next in the menu go to <strong><em>Filters » Map » Displace </em></strong>and enter the values shown in the image below.<br />
<div id="attachment_61" class="wp-caption alignnone" style="width: 660px"><a title="Show Full Image" rel="lightbox" href="http://www.geektantra.com/wp-content/uploads/2009/09/Screenshot-5.png"><img class="size-medium wp-image-61 " title="Step-6" src="http://www.geektantra.com/wp-content/uploads/2009/09/Screenshot-5-650x406.png" alt="Step-6" width="650" height="406" /></a><p class="wp-caption-text">Step-6</p></div></p>
</div>
<div><strong><span style="font-size: medium;">Step 7:</span> </strong>Now lets put some text. Use the text tool to type in some text using the Grunge Font.<br />
<div id="attachment_63" class="wp-caption alignnone" style="width: 660px"><a title="Show Full Image" rel="lightbox" href="http://www.geektantra.com/wp-content/uploads/2009/09/Screenshot-6.png"><img class="size-medium wp-image-63 " title="Step-7" src="http://www.geektantra.com/wp-content/uploads/2009/09/Screenshot-6-650x406.png" alt="Step-7" width="650" height="406" /></a><p class="wp-caption-text">Step-7</p></div></p>
</div>
<div><strong><span style="font-size: medium;">Step 8:</span> </strong>Next in the menu go to <em><strong>Script-Fu</strong></em><strong><em> » Layer Effects » Drop Shadow </em></strong>and enter the values shown in the image below.<br />
<div id="attachment_65" class="wp-caption alignnone" style="width: 660px"><a title="Show Full Image" rel="lightbox" href="http://www.geektantra.com/wp-content/uploads/2009/09/Screenshot-7.png"><img class="size-medium wp-image-65 " title="Step-8" src="http://www.geektantra.com/wp-content/uploads/2009/09/Screenshot-7-650x406.png" alt="Step-8" width="650" height="406" /></a><p class="wp-caption-text">Step-8</p></div></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.geektantra.com/2009/09/create-a-grayscale-grunge-in-gimp/feed/</wfw:commentRss>
		<slash:comments>0</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[Javascipt]]></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.1.2.1.zip" target="_blank">Click Here</a></p>]]></description>
			<content:encoded><![CDATA[<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.1.2.1.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('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;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('p14code7'); return false;">View Code</a> XML</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p147"><td class="code" id="p14code7"><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>62</slash:comments>
		</item>
		<item>
		<title>Welcome</title>
		<link>http://www.geektantra.com/2009/08/welcome/</link>
		<comments>http://www.geektantra.com/2009/08/welcome/#comments</comments>
		<pubDate>Sun, 16 Aug 2009 18:18:24 +0000</pubDate>
		<dc:creator>GeekTantra</dc:creator>
				<category><![CDATA[Featured]]></category>

		<guid isPermaLink="false">http://www.geektantra.com/?p=10</guid>
		<description><![CDATA[Welcome to GeekTantra. Its YAWPB (Yet another wordpress blog) but with a geekish tilt.
]]></description>
			<content:encoded><![CDATA[<p>Welcome to GeekTantra. Its YAWPB (Yet another wordpress blog) but with a geekish tilt.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geektantra.com/2009/08/welcome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
