<?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>Narga &#187; jQuery</title>
	<atom:link href="http://www.narga.net/category/web-dev/jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.narga.net</link>
	<description>Narga - Ideas and inspiration in my opinion!</description>
	<lastBuildDate>Wed, 18 Jan 2012 20:20:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<atom:link rel='hub' href='http://www.narga.net/?pushpress=hub'/>
		<item>
		<title>Make your own WordPress Drop-Down menu with CSS and jQuery</title>
		<link>http://www.narga.net/make-your-own-wordpress-drop-down-menu-with-css-and-jquery/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=make-your-own-wordpress-drop-down-menu-with-css-and-jquery</link>
		<comments>http://www.narga.net/make-your-own-wordpress-drop-down-menu-with-css-and-jquery/#comments</comments>
		<pubDate>Wed, 08 Dec 2010 15:30:59 +0000</pubDate>
		<dc:creator>Narga</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[drop-down menu]]></category>

		<guid isPermaLink="false">http://www.narga.net/?p=1115</guid>
		<description><![CDATA[A drop down menu is often your best means of keeping the navigation  simple and uncluttered, that can offer your theme and users 2 new things. One, add a nice new type of effect to enhance your theme. Two, allow the users to find things more easily. There are a few plugins that you can use to  achieve this, but in this post, I'll show you how to make your own Wordpress Drop-Down menu with CSS and jQuery and WordPress’s standard source code]]></description>
			<content:encoded><![CDATA[<p>A drop down menu is often your best means of keeping the navigation  simple and uncluttered, that can offer your theme and users 2 new things. One, add a nice new type of effect to enhance your theme. Two, allow the users to find things more easily. There are a few plugins that you can use to  make this, but in this post, I'll show you how to make your own WordPress Drop-Down menu with CSS and jQuery and WordPress’s standard <code>wp_list_pages, wp_nav_menu, wp_list_categories</code><br />
<div id="attachment_2489" class="wp-caption aligncenter" style="width: 530px"><img src="http://www.narga.net/wordpress/wp-content/uploads/2010/12/Make-your-own-Wordpress-Drop-Down-menu-520x170.png" alt="Make your own WordPress Drop-Down menu" width="520" height="170" class="size-medium wp-image-2489" /><p class="wp-caption-text">Make your own WordPress Drop-Down menu</p></div><br />
The aim of this short tutorial is help you build a simple multi-level  drop-down menu in your WordPress theme using jQuery’s JavaScript library  to make sure cross-browser compatibility.</p>
<p>To get started with this tutorial, you'll need to have a WordPress  website up and running and a willingness to alter your theme files. Once  that's squared away you're ready to rock!</p>
<p><span id="more-1115"></span></p>
<h3>The Standard WordPress navigation layout</h3>
<p>Before we get into making drop downs, we need to take a look at the way WordPress layouts it’s navigation.</p>
<pre class="brush: php; title: ; notranslate">&lt;ul id=&quot;nav&quot;&gt;
	    &lt;?php wp_list_categories('title_li=&amp;sort_column=menu_order'); ?&gt;
&lt;/ul&gt;</pre>
<p>You might also want to include a home link. You can add this manually like so:<br />
view source<br />
print?</p>
<pre class="brush: php; title: ; notranslate">&lt;ul id=&quot;nav&quot;&gt;
	    &lt;li&gt;&lt;a href=&quot;&lt;? bloginfo('siteurl'); ?&gt;&quot;&gt;Home&lt;/a&gt;&lt;/li&gt;
	    &lt;?php wp_list_categories('title_li=&amp;sort_column=menu_order'); ?&gt;
&lt;/ul&gt;</pre>
<p>Both <code>wp_list_pages</code> and <code>wp_nav_menu</code> lay out their menus pretty much exactly the same, besides different class names, so we’ll just take a look at <code>wp_nav_menu</code>'s printed code:</p>
<pre class="brush: xml; title: ; notranslate">&lt;ul class=&quot;menu&quot;&gt;
	&lt;li class=&quot;cat-item cat-item-6&quot;&gt;&lt;a href=&quot;http://localhost/wordpress/category/long-category/&quot; title=&quot;View all posts filed under Long Category&quot;&gt;Long Category&lt;/a&gt;
	&lt;ul class='children'&gt;
		&lt;li class=&quot;cat-item cat-item-7&quot;&gt;&lt;a href=&quot;http://localhost/wordpress/category/long-category/sub-long-category/&quot; title=&quot;View all posts filed under Sub Long Category&quot;&gt;Sub Long Category&lt;/a&gt;&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li class=&quot;cat-item cat-item-1&quot;&gt;&lt;a href=&quot;http://localhost/wordpress/category/uncategorized/&quot; title=&quot;View all posts filed under Uncategorized&quot;&gt;Uncategorized&lt;/a&gt;
	&lt;ul class='children'&gt;
		&lt;li class=&quot;cat-item cat-item-4&quot;&gt;&lt;a href=&quot;http://localhost/wordpress/category/uncategorized/subcategories/&quot; title=&quot;View all posts filed under SubCategories&quot;&gt;SubCategories&lt;/a&gt;&lt;/li&gt;
	&lt;li class=&quot;cat-item cat-item-3&quot;&gt;&lt;a href=&quot;http://localhost/wordpress/category/uncategorized/subcategorized/&quot; title=&quot;View all posts filed under Subcategorized&quot;&gt;Subcategorized&lt;/a&gt;&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;
</pre>
<p>As you can see, WordPress neatly (well neat besides all the classes) layouts out the menu in a nice semantic list, with the children of the navigation nested inside of it’s parent li. This allows us to use both CSS and/or jQuery to make our drop downs work!</p>
<h3>Styling the Navigation</h3>
<p>Now, let’s styling the navigator. We want our list items aligned horizontally, and of course centered in the middle of the page.</p>
<pre class="brush: css; title: ; notranslate">	ul.menu { list-style: none outside none; padding: 0; margin: 0 10px; float: left; font-size: 13px;}
	ul.menu li { float: left; margin: 0; padding: 0 15px 0 0; position: relative; }
	ul.menu li a { padding: 9px 5px; color: rgb(255, 255, 255); display: block; text-decoration: none; float: left;  display: block;}
	ul.menu li:hover { background: #A6CB1B; }
	.current-cat { background: #8BBF47; }
	ul.menu li span { width: 11px; height: 10px; float: left; background: url('images/narga-sprites.png') -561px -78px no-repeat; margin: 11px 0 0 0;}
	ul.menu li ul.children {z-index:99; list-style: none outside none; position: absolute; left: 0; top: 31px; background: none repeat scroll 0% 0% rgb(51, 51, 51); margin: 0; padding: 0; display: none; float: left; width: 170px;  border-bottom: 1px solid #F8C92D;}
	ul.menu li ul.children li { margin: 0; padding: 0; clear: both; width: 170px; border-top: 1px solid #F8C92D;}
	html ul.menu li ul.children li a { float: left; width: 145px; background: url('images/narga-sprites.png') -578px -162px no-repeat #A6CB1B; padding-left: 20px; }
	html ul.menu li ul.children li a:hover { background: url('images/narga-sprites.png') -578px -162px no-repeat #7BAF36; }
</pre>
<h3>jQuery Animation the Navigation</h3>
<p>There’s also an easy way to make WordPress menus with jQuery drop downs. jQuery allows you to get a bit more fancy, by adding speeds and fades to the animation. It’s also useful if you’re still stuck supporting IE6.<br />
There’s a tiny piece of jQuery required to show/hide the drop down menu’s. From an accessibility point of view, you can link the top-level navigation item so that if JS is disabled, the user will still be able to get around your site. Here’s the script.</p>
<pre class="brush: jscript; title: ; notranslate">jQuery(document).ready(function() {
//Dropdown Menu
	if(!jQuery.browser.msie){// IE  - 2nd level Fix
		jQuery(&quot;ul.topnav&amp;quot.css({opacity:&quot;0.95&quot;});
	}
	jQuery(&quot;.topnav &gt; li &gt; ul&amp;quot.css({display: &quot;none&quot;}); // Opera Fix
	jQuery(&quot;ul.children&amp;quot.parent().append(&quot;&lt;span&gt;&lt;/span&gt;&quot; //Only shows drop down trigger when js is enabled - Adds empty span tag after ul.subnav
	jQuery(&quot;ul.menu li a&amp;quot.hover(function() { //When trigger is clicked...
		//Following events are applied to the subnav itself (moving subnav up and down)
		jQuery(this).parent().find(&quot;ul.children&amp;quot.slideDown('fast').show(400); //Drop down the subnav on hover
		jQuery(this).parent().hover(function() {
		}, function(){
			jQuery(this).parent().find(&quot;ul.children&amp;quot.slideUp('slow'); //When the mouse hovers out of the subnav, move it back up
		});
		//Following events are applied to the trigger (Hover events for the trigger)
		}).hover(function() {
			jQuery(this).addClass(&quot;subhover&quot; //On hover over, add class &quot;subhover&quot;
		}, function(){	//On Hover Out
			jQuery(this).removeClass(&quot;subhover&quot; //On hover out, remove class &quot;subhover&quot;
	});

})
</pre>
<p><a href="http://www.narga.net/demo/MakeyourownWordpressDrop-DownMenu/index.html" class="demo" id="lightbox-iframe" title="Make your own WordPress Drop-Down menu with CSS and jQuery" >WordPress Drop-Down menu with CSS and jQuery <span>(View in Action)</span></a></p>
<h3>Finally!! A Drop Down WordPress Navigation Menu using CSS and jQuery!</h3>
<p>That's basically it, the example is about as stripped down as I could make it. Hopefully you'll have fun bending the code to your next project. Feel free to post comments if you have any questions about the tutorial. Happy coding!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.narga.net/make-your-own-wordpress-drop-down-menu-with-css-and-jquery/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Making Awesome Form&#8217;s Inline Labels with jQuery</title>
		<link>http://www.narga.net/making-awesome-forms-inline-labels-with-jquery/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=making-awesome-forms-inline-labels-with-jquery</link>
		<comments>http://www.narga.net/making-awesome-forms-inline-labels-with-jquery/#comments</comments>
		<pubDate>Mon, 05 Apr 2010 14:00:50 +0000</pubDate>
		<dc:creator>Narga</dc:creator>
				<category><![CDATA[How-to]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[form design]]></category>

		<guid isPermaLink="false">http://www.narga.net/?p=2157</guid>
		<description><![CDATA[Inline labels are nothing new – in fact the easiest way to label a field is to simply set the field value up front and blow it away when the field gains focus. This is handy way for designers to save space and make their designs cleaner all-around. Unfortunately for us developers, simply setting the input value isn't very semantic or usable then you can't do it simple. ]]></description>
			<content:encoded><![CDATA[<p>Have you ever visit Apple's <a rel="nofollow" href="http://www.me.com/" >MobileMe</a> website? The login screen has <strong>form labels</strong> that are <strong>written within the value of their associated input field</strong>.</p>
<div id="attachment_2158" class="wp-caption aligncenter" style="width: 516px"><img class="size-full wp-image-2158" src="http://www.narga.net/wp-content/uploads/2010/03/MobileMe-Login.png" alt="MobileMe Login Form" width="506" height="155" /><p class="wp-caption-text">MobileMe Login Form</p></div>
<p><strong>Inline labels</strong> are<em> nothing new</em> – in fact the easiest way to label a field is to simply set the field value up front and blow it away when the field gains focus. This is handy way for designers to save space and make their designs cleaner all-around. Unfortunately for us developers, simply setting the input value isn't very semantic or usable then you can't do it simple. I've just use a little jQuery to make it all happen.<br />
<span id="more-2157"></span></p>
<h3>The HTML</h3>
<p>We'll start with the HTML. Nothing fancy here, just your standard sign-up form with labels and inputs.</p>
<pre class="brush: xml; title: ; notranslate">&lt;form id=&quot;signup&quot; name=&quot;signup&quot;&gt;
	&lt;label for=&quot;email&quot;&gt;Email Address&lt;/label&gt;
	&lt;input class=&quot;text&quot; name=&quot;email&quot; type=&quot;text&quot; /&gt;
	&lt;label for=&quot;username&quot;&gt;Username&lt;/label&gt;
	&lt;input class=&quot;text username&quot; name=&quot;username&quot; type=&quot;text&quot; /&gt;
	&lt;input class=&quot;btn&quot; type=&quot;submit&quot; value=&quot;Sign Up&quot; /&gt;
&lt;/form&gt;</pre>
<h3>And a Little Bit of Javascript</h3>
<p>The JavaScript needs to do three things:</p>
<ol>
<li>Add the focus class to the label when the user clicks into a field and move the mouse cursor to start position</li>
<li>Add the typing class as soon as they start typing to make the difference</li>
<li>Bring the label back if they leave the field empty and switch to another field.</li>
</ol>
<p>I've found a small jQuery snippet allow me choose the mouse cursor position when I click on input field.</p>
<pre class="brush: jscript; title: ; notranslate">	$.fn.setCursorPosition = function(pos) {
		if ($(this).get(0).setSelectionRange) {
			$(this).get(0).setSelectionRange(pos, pos);
		} else if ($(this).get(0).createTextRange) {
		var range = $(this).get(0).createTextRange();
		range.collapse(true);
		range.moveEnd('character', pos);
		range.moveStart('character', pos);
		range.select();
		}
	}</pre>
<p>First of all, I will want to loop through our label elements and assign their values to the inputs that immediately follow. Then you'll want to hide those labels.</p>
<pre class="brush: jscript; title: ; notranslate">    $(&quot;#signup label&amp;quot.each(function (i) {
        $(this).next(&quot;input&amp;quot.attr(&quot;value&quot;,$(this).html()+&quot;...&quot;
        $(this).hide();
    });
</pre>
<p>Next step, I will handle the CSS classes to get rid of the label values at focus and blur events.</p>
<pre class="brush: jscript; title: ; notranslate">
    $(&quot;#signup input&amp;quot.focus(function() {
        if($(this).prev(&quot;label&amp;quot.html()+&quot;...&quot; == this.value){
            $(this).addClass(&quot;focus&amp;quot.setCursorPosition(0);
        }
    });
    $(&quot;#signup input&amp;quot.keypress(function() {
        if($(this).prev(&quot;label&amp;quot.html()+&quot;...&quot; == this.value){
            this.value = &quot;&quot;;
            $(this).removeClass(&quot;focus&amp;quot.addClass(&quot;typing&quot;
        }
    });
    $(&quot;#signup input&amp;quot.blur(function() {
		$(this).removeClass(&quot;focus&amp;quot.removeClass(&quot;typing&quot;
		if(this.value == &quot;&amp;quot{
		this.value = $(this).prev(&quot;label&amp;quot.html()+&quot;...&quot;;
		}
    });</pre>
<p>Finally, I have complete jQuery snippet:</p>
<pre class="brush: jscript; title: ; notranslate">
$(document).ready(function() {
	$.fn.setCursorPosition = function(pos) {
		if ($(this).get(0).setSelectionRange) {
			$(this).get(0).setSelectionRange(pos, pos);
		} else if ($(this).get(0).createTextRange) {
		var range = $(this).get(0).createTextRange();
		range.collapse(true);
		range.moveEnd('character', pos);
		range.moveStart('character', pos);
		range.select();
		}
	}
    $(&quot;#signup label&amp;quot.each(function (i) {
        $(this).next(&quot;input&amp;quot.attr(&quot;value&quot;,$(this).html()+&quot;...&quot;
        $(this).hide();
    });
    $(&quot;#signup input&amp;quot.focus(function() {
        if($(this).prev(&quot;label&amp;quot.html()+&quot;...&quot; == this.value){
            $(this).addClass(&quot;focus&amp;quot.setCursorPosition(0);
        }
    });
    $(&quot;#signup input&amp;quot.keypress(function() {
        if($(this).prev(&quot;label&amp;quot.html()+&quot;...&quot; == this.value){
            this.value = &quot;&quot;;
            $(this).removeClass(&quot;focus&amp;quot.addClass(&quot;typing&quot;
        }
    });
    $(&quot;#signup input&amp;quot.blur(function() {
		$(this).removeClass(&quot;focus&amp;quot.removeClass(&quot;typing&quot;
		if(this.value == &quot;&amp;quot{
		this.value = $(this).prev(&quot;label&amp;quot.html()+&quot;...&quot;;
		}
    });
});
</pre>
<h3>Styling the form with CSS</h3>
<p>The CSS isn't important at all to what we're trying to do, so I won't cover any of that. There are a few key CSS lines that give us the positioning and effects we want.</p>
<pre class="brush: css; title: ; notranslate">input {
		border: 1px solid #ccc;
		color: #000;
		font: inherit;
		padding: 4px;
		width: 230px;
	}
	input:focus { border-color: #99B32D;}
	.focus { color: #8F8F8F; }
	.typing { color: #99B32D; }
</pre>
<p><a href="http://www.narga.net/demo/Inline Form Labels with JQuery/Inline Form Labels with JQuery.html" id="lightbox-iframe" class="demo" title="Inline Form Labels with JQuery" >Inline Form Labels with JQuery (View in Action)</a></p>
<h3>Conclusion</h3>
<p>It’s so simple, but perfect that solves an obnoxious little usability problem for inline labels.<br />
Smashing Magazine recently published an article by <a rel="nofollow" href="http://www.zurb.com/" >Zurb</a> called <a rel="nofollow" href="http://www.smashingmagazine.com/2009/12/16/stronger-better-faster-design-with-css3/" >Stronger, Better, Faster Design with CSS3</a> that expands on this technique and makes it even better with CSS3 by just masking the label so even when you click into the input you can still read the label.<br />
You can use a simple jQuery plugin  to get the same result, its call <a rel="nofollow" href="http://fuelyourcoding.com/scripts/infield/" title="In-Field Labels jQuery Plugin" >In-Field Labels jQuery Plugin</a></p>
<h3>Further Reading</h3>
<ul>
<li><a rel="nofollow" href="http://www.zurb.com/playground/inline-form-labels" title="Awesome Inline Form Labels" >Awesome Inline Form Labels</a></li>
<li><a rel="nofollow" href="http://trevordavis.net/blog/tutorial/jquery-inline-form-labels/" title="jQuery Inline Form Labels" >jQuery Inline Form Labels</a></li>
<li><a rel="nofollow" href="http://stackoverflow.com/questions/499126/jquery-set-cursor-position-in-text-area" title="jQuery Set Cursor Position in Text Area" >jQuery Set Cursor Position in Text Area</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.narga.net/making-awesome-forms-inline-labels-with-jquery/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Improve Your Page Performance With jQuery Lazy Loader</title>
		<link>http://www.narga.net/improve-your-page-performance-with-jquery-lazy-loader/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=improve-your-page-performance-with-jquery-lazy-loader</link>
		<comments>http://www.narga.net/improve-your-page-performance-with-jquery-lazy-loader/#comments</comments>
		<pubDate>Mon, 29 Mar 2010 17:00:03 +0000</pubDate>
		<dc:creator>Narga</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://www.narga.net/?p=2167</guid>
		<description><![CDATA[Lazy loader is a jQuery plugin written in JavaScript. It delays loading of images in (long) web pages. Images outside of viewport (visible part of web page) wont be loaded before user scrolls to them.]]></description>
			<content:encoded><![CDATA[<p><a rel="nofollow" href="http://www.appelsiini.net/projects/lazyload" title="Lazy loader" >Lazy loader</a> is a <a href="http://www.narga.net/tag/jquery-plugins/" title="jQuery plugin" >jQuery plugin</a> written in JavaScript. It delays loading of images in (long) web pages. Images outside of viewport (visible part of web page) wont be loaded before user scrolls to them. Using lazy load on long web pages containing many large images makes the page load faster. Browser will be in ready state after loading visible images. In some cases it can also help to reduce server load. Lazyloader is inspired by <a rel="nofollow" href="http://developer.yahoo.com/yui/imageloader/" >YUI  ImageLoader</a> Utility by Matt Mlinac.<br />
<div id="attachment_2177" class="wp-caption aligncenter" style="width: 310px"><img src="http://www.narga.net/wp-content/uploads/2010/03/Lazy-Loader.png" alt="Lazy Loader" width="300" height="350" class="size-full wp-image-2177" /><p class="wp-caption-text">Lazy Loader</p></div><br />
<blockquote>Lazy loading is a design pattern commonly used in computer programming to defer initialization of an object until the point at which it is needed. It can give to efficiency in the program's operation if properly and appropriately used.</p></blockquote>
<p><span id="more-2167"></span></p>
<h3>How the logic works?</h3>
<p>Using JavaScript, it is possible to detect the following:</p>
<ul>
<li>the coordinates of the part of the page (x-y) we’re viewing</li>
<li>the coordinates of a specific element</li>
<li>the width-height of the viewport</li>
</ul>
<p>Having these inputs, we can easily understand if a given element is  in the viewpoint or not. And, after it becomes "in", we can make a  JavaScript call to load the content.</p>
<h3>How to use?</h3>
<p>Include them in your header:</p>
<pre class="brush: xml; title: ; notranslate">&amp;lt;script src=&amp;quot;jquery.js&amp;quot; type=&amp;quot;text/javascript&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;script src=&amp;quot;jquery.lazyload.js&amp;quot; type=&amp;quot;text/javascript&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;</pre>
<p>and in your code do:</p>
<pre class="brush: jscript; title: ; notranslate">$(&amp;quot;img&amp;quot.lazyload();</pre>
<p>This causes all images below the fold to be lazy loaded.</p>
<h3>Setting sensitivity</h3>
<p>There are options for control maniacs who need to finetune. You can set threshold on how close to the edge (don’t push me too far) image should come before it is loaded. Default is 0 (when it is visible).</p>
<pre class="brush: jscript; title: ; notranslate">$(&amp;quot;img&amp;quot.lazyload({ threshold : 200 });</pre>
<p>Setting threshold to 200 causes image to load 200 pixels before it is visible.</p>
<h3>Placeholder image</h3>
<p>You can also set placeholder image and custom event to trigger loading. Place holder should be a url to image. Transparent, grey and white 1×1 pixel images are provided with plugin.</p>
<pre class="brush: jscript; title: ; notranslate">$(&amp;quot;img&amp;quot.lazyload({ placeholder : &amp;quot;img/grey.gif&amp;quot; });</pre>
<h3>Event to trigger loading</h3>
<p>Event can be any jQuery event such as click or mouse over. You can also use your own custom events such as sporty or foobar. Default is to wait until user scrolls down and image appears on the window. To prevent all images to load until their grey placeholder image is clicked you could do:</p>
<pre class="brush: jscript; title: ; notranslate">
$(&amp;quot;img&amp;quot.lazyload({
    placeholder : &amp;quot;img/grey.gif&amp;quot;,
    event : &amp;quot;click&amp;quot;
});
</pre>
<h3>Using effects</h3>
<p>By default plugin waits for image to fully load and calls show to show it. You can use any effect you want. Following code uses fadeIn effect. Check how it works at effect demo page.</p>
<pre class="brush: jscript; title: ; notranslate">
$(&amp;quot;img&amp;quot.lazyload({
    placeholder : &amp;quot;img/grey.gif&amp;quot;,
    effect : &amp;quot;fadeIn&amp;quot;
});
</pre>
<h3>Images inside container</h3>
<p>You can also use plugin for images inside scrolling container, such as div with scroll bar. Just pass the container as jQuery object. There is a demo for horizontal and vertical container.</p>
<pre class="brush: css; title: ; notranslate">
#container {
    height: 600px;
    overflow: scroll;
}</pre>
<pre class="brush: jscript; title: ; notranslate">
$(&amp;quot;img&amp;quot.lazyload({
     placeholder : &amp;quot;img/grey.gif&amp;quot;,
     container: $(&amp;quot;#container&amp;quot
});
</pre>
<h3>When images are not sequential</h3>
<p>After scrolling page Lazy Load loops though unloaded images. In loop it checks if image has become visible. By default loop is stopped when first image below the fold (not visible) is found. This is based on following assumption. Order of images on page is same as order of images in HTML code. With some layouts assumption this might be wrong. You can control loading behaviour with failurelimit option.</p>
<pre class="brush: jscript; title: ; notranslate">
$(&amp;quot;img&amp;quot.lazyload({
    failurelimit : 10
});
</pre>
<p>Setting failurelimit to 10 causes plugin to stop searching for images to load after finding 10 images below the fold. If you have a funky layout set this number to something high.</p>
<h3>Delayed loading of images.</h3>
<p>Not exactly feature of Lazy Load but it is also possible to delay loading of images. Following code waits for page to finish loading (not only HTML but also any visible images). Five seconds after page is finished, below the fold images are loaded automatically. You can also check the delayed loading demo.</p>
<pre class="brush: jscript; title: ; notranslate">
$(function() {
    $(&amp;quot;img:below-the-fold&amp;quot.lazyload({
        placeholder : &amp;quot;img/grey.gif&amp;quot;,
        event : &amp;quot;sporty&amp;quot;
    });
});
$(window).bind(&amp;quot;load&amp;quot;, function() {
    var timeout = setTimeout(function() {$(&amp;quot;img&amp;quot.trigger(&amp;quot;sporty&amp;quot}, 5000);
}); </pre>
<h3>Known problems</h3>
<p>Due to WebKit bug <a rel="nofollow" href="http://bugs.webkit.org/show_bug.cgi?id=6656" >#6656</a> Lazy  Loading wont give you any improvements in Safari. It will load all  images you wanted it or not. You can workaround this with</p>
<p>Also you are using <a rel="nofollow" href="http://haveamint.com/" >Mint</a> you should have mint tag in the header of the page. Mint tag in the end  of the page interferes with Lazy Load plugin. This is rather peculiar  problem. If somebody finds an answer let me know.<br />
<a rel="nofollow" href="http://www.appelsiini.net/projects/lazyload" class="homepage" title="jQuery Lazy Loader" >Lazy Loader Homepage <span>(jQuery plugins)</span></a></p>
<p><a rel="nofollow" href="http://www.appelsiini.net/download/jquery.lazyload.mini.js" class="download" title="Get jQuery Lazy Loader" >Get jQuery Lazy Loader Minified <span>(JS, 2.92KB)</span></a></p>
<h3>Another Javascript Libraries Images Lazy Loading Solutions</h3>
<ul>
<li><a rel="nofollow" href="http://davidwalsh.name/lazyload"  title="MooTools LazyLoad">MooTools LazyLoad</a> is a customizable MooTools plugin that allows you to only load images when the user scrolls down near them.</li>
<li><a rel="nofollow" href="http://developer.yahoo.com/yui/3/imageloader/"  title="YUI 3 – ImageLoader Utility">YUI 3 – ImageLoader Utility</a> allows you as an implementor to delay the loading of images on your web page until such a time as your user is likely to see them. This can improve your overall page load performance by deferring the loading of some images that are not immediately visible at the time the page first renders. Because images are often the heaviest components of a given page, deferring the loading of some images can yield a marked improvement in the way the page "feels" to your user.</li>
<li><a rel="nofollow" href="http://www.bram.us/projects/js_bramus/lazierload/"  title="Prototype – lazierLoad">Prototype – lazierLoad</a> lazierLoad automatically hooks itself to the page, finds all images and only loads those appearing “above the fold” resulting in faster page loads. The images not located in the viewport, are not loaded until they appear within it (viz. when the user scrolls down).</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.narga.net/improve-your-page-performance-with-jquery-lazy-loader/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>15+ promising jQuery Lightbox-Clones plugins</title>
		<link>http://www.narga.net/15-promising-jquery-lightbox-clones-plugins/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=15-promising-jquery-lightbox-clones-plugins</link>
		<comments>http://www.narga.net/15-promising-jquery-lightbox-clones-plugins/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 13:30:14 +0000</pubDate>
		<dc:creator>Narga</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[lightbox]]></category>

		<guid isPermaLink="false">http://www.narga.net/?p=1987</guid>
		<description><![CDATA[Lightbox, and the newer Lightbox 2, is a JavaScript  application used to display large images using modal dialogs. On a Lightbox-enabled page, a user can click an image to have it magnified in a Lightbox window, which resizes itself according to the size of the image using a gliding animation. Lightbox determines which images will be shown in the modal window through the XHTML "rel" attribute, which is used on an <span class="functions">&#60;a&#62;</span> element wrapped around the <span class="functions">&#60;img alt="" /&#62;</span> element. Lightbox also provides a way to attach captions to images and to run a slide show, which can be navigated using the arrow keys.]]></description>
			<content:encoded><![CDATA[<p>Lightbox, and the newer Lightbox 2, is a JavaScript  application used to display large images using modal dialogs. On a Lightbox-enabled page, a user can click an image to have it magnified in a Lightbox window, which resizes itself according to the size of the image using a gliding animation. Lightbox determines which images will be shown in the modal window through the XHTML "rel" attribute, which is used on an <span class="functions">&lt;a&gt;</span> element wrapped around the <span class="functions">&lt;img alt="" /&gt;</span> element. Lightbox also provides a way to attach captions to images and to run a slide show, which can be navigated using the arrow keys.</p>
<div id="attachment_1988" class="wp-caption aligncenter" style="width: 530px"><a href="http://www.narga.net/wp-content/uploads/2010/02/Fancybox-Fancy-lightbox-alternative.png" id="fancy" ><img class="size-medium wp-image-1988" src="http://www.narga.net/wordpress/wp-content/uploads/2010/02/Fancybox-Fancy-lightbox-alternative-520x280.png" alt="Fancybox - Fancy lightbox alternative" width="520" height="280" /></a><p class="wp-caption-text">Fancybox - Fancy lightbox alternative</p></div>
<p>The script has gained widespread popularity due to its simple yet elegant style and easy implementation. While it was initially developed from scratch, Lightbox has since been modified to use a number of JavaScript libraries (such as the Prototype Javascript Framework  and <a href="http://www.narga.net/jquery-a-new-kind-of-javascript-library/" class="jQuery" >jQuery </a>for its animations and positioning), to reduce the size of the code. The release of Lightbox encouraged other developers to work on similar projects, resulting in products such as 15+ promising jQuery Lightbox-Clones plugins.<br />
<span id="more-1987"></span></p>
<h3>1. <a rel="nofollow" href="http://fancybox.net/" title="Fancybox - Fancy lightbox alternative" >FancyBox</a></h3>
<p>FancyBox is a tool for displaying images, html content and multi-media  in a Mac-style "lightbox" that floats overtop of web page.<br />
It was built using the <a rel="nofollow" href="http://jquery.com/" >jQuery library</a>. 	Licensed under both <a rel="nofollow" href="http://docs.jquery.com/Licensing" >MIT and  GPL licenses</a></p>
<h4>How to use</h4>
<ol>
<li>Make sure you are using valid DOCTYPE, this is required for FancyBox to look and function correctly.</li>
<li>Include nessesary JS and CSS files:
<pre class="brush: xml; title: ; notranslate">&lt;script type=&quot;text/javascript&quot; src=&quot;http://code.jquery.com/jquery-1.4.2.min.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;/fancybox/jquery.fancybox-1.3.0.pack.js&quot;&gt;&lt;/script&gt;
&lt;!-- Optional - Add transitions as jQuery by default supports only &quot;swing&quot; and &quot;linear&quot; --&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;/fancybox/jquery.easing-1.3.pack.js&quot;&gt;&lt;/script&gt;
&lt;!-- Optional - Enable &quot;mouse-wheel&quot; to navigate throught gallery items --&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;/fancybox/jquery.mousewheel-3.0.2.pack.js&quot;&gt;&lt;/script&gt;
&lt;link rel=&quot;stylesheet&quot; href=&quot;/fancybox/jquery.fancybox-1.3.0.css&quot; type=&quot;text/css&quot; media=&quot;screen&quot;&gt;</pre>
</li>
<li>Sample Code:
<pre class="brush: jscript; title: ; notranslate">$(document).ready(function() {
$(&quot;p#test1 a&quot;.fancybox();
$(&quot;p#test2 a&quot;.fancybox({ 'hideOnContentClick': true });
$(&quot;p#test3 a&quot;.fancybox({
              'zoomSpeedIn': 0,
              'zoomSpeedOut': 0,
              'overlayShow': true
});
});
</pre>
</li>
</ol>
<h3>2. <a rel="nofollow" href="http://orderedlist.com/our-writing/blog/articles/fancyzoom-meet-jquery/" title="FancyZoom" >FancyZoom</a></h3>
<p>This works with any html (images, text, headings, flash). The only caveat is it doesn't currently work with AJAX. Whatever you want to zoom to must be html already on the page. Below are several examples. Width and height of zoom box are configurable through optional setting or css.<br />
The code below initialized the plugin and add the Zoom Effect to any a  tag classed with zoom, and will show content relating to the id referenced in the href of the a  tag.</p>
<pre class="brush: jscript; title: ; notranslate">$(document).ready(function() {
$('a.zoom').fancyZoom({scaleImg: true, closeOnClick: true});
});
</pre>
<p>The sample html code.</p>
<pre class="brush: xml; title: ; notranslate">&lt;a class=&quot;zoom&quot; href=&quot;http://www.narga.net/&quot;&gt;&lt;img src=&quot;path/to/image/sample.gif&quot;&gt;&lt;/a&gt;</pre>
<h3>3. <a rel="nofollow" href="http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/" title="prettyPhoto is a jQuery based lightbox clone" >prettyPhoto</a></h3>
<p>prettyPhoto is a jQuery based lightbox clone. Not only does it support images, it also add support for videos, flash, YouTube, iFrames. It’s a full blown media lightbox. The setup is easy and quick, plus the script is compatible in every major browser.<br />
It comes with useful APIs so prettyPhoto can be launched from nearly anywhere (yes, that includes Flash)!<br />
This plugin has been tested and is known to work in the following  browsers</p>
<ul>
<li>Firefox 2.0+</li>
<li>Safari 3.1.1+</li>
<li>Opera 9+</li>
<li>Internet Explorer 6.0+</li>
</ul>
<p>Include the jQuery library, prettyPhoto javascript and the prettyPhoto CSS in the head of the page(s) where you want to use prettyPhoto.</p>
<pre class="brush: xml; title: ; notranslate">&lt;script src=&quot;js/jquery.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;js/jquery.prettyPhoto.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
&lt;link rel=&quot;stylesheet&quot; href=&quot;css/prettyPhoto.css&quot; type=&quot;text/css&quot; media=&quot;screen&quot; /&gt;</pre>
<p>Then, initialize prettyPhoto. Put the following code before the closing tag of your body ()</p>
<pre class="brush: jscript; title: ; notranslate">&lt;script type=&quot;text/javascript&quot;&gt;
	$(document).ready(function(){
		$(&quot;a[rel^='prettyPhoto']&quot;.prettyPhoto();
	});
&lt;/script&gt;</pre>
<p>Just add <span class="functions">rel="prettyPhoto"</span> to the link you want prettyPhoto to be enabled on.</p>
<h3>4. <a rel="nofollow" href="http://www.digitalia.be/software/slimbox2" title="Slimbox 2 is a visual clone of the popular Lightbox 2" >Slimbox2</a></h3>
<p>Slimbox 2 is a 4 KB visual clone of the popular Lightbox 2 script by Lokesh Dhakar, written using the jQuery  javascript library. It was designed to be very small, efficient, standards-friendly, fully customizable, more convenient and 100% compatible with the original Lightbox 2.<br />
Include the script and CSS in the header of your page, after the inclusion of the jQuery library:</p>
<pre class="brush: xml; title: ; notranslate">&lt;script type=&quot;text/javascript&quot; src=&quot;js/jquery.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;js/slimbox2.js&quot;&gt;&lt;/script&gt;
&lt;link rel=&quot;stylesheet&quot; href=&quot;css/slimbox2.css&quot; type=&quot;text/css&quot; media=&quot;screen&quot; /&gt;</pre>
<p>Add the rel="lightbox" attribute to the links pointing to your full-sized images. Use the optional title attribute if you want to show a caption:</p>
<pre class="brush: xml; title: ; notranslate">&lt;a href=&quot;images/image-1.jpg&quot; rel=&quot;lightbox&quot; title=&quot;my caption&quot;&gt;image #1&lt;/a&gt;</pre>
<p>Slimbox 2 is currently the smallest Lightbox-like script available for the jQuery library.</p>
<h3>5. <a rel="nofollow" href="http://colorpowered.com/colorbox/" title="A light-weight, customizable lightbox plugin for jQuery 1.3 and 1.4" >Colorbox</a></h3>
<p>A light-weight, customizable lightbox plugin for jQuery 1.3 and 1.4. Allow users to create a customized lightbox that is unique to their project. Tested In: Firefox 2 &amp; 3, Safari 3 &amp; 4, Opera 9, Chrome, Internet Explorer 6, 7, 8.<br />
The colorbox method takes a key/value object and an optional callback.</p>
<pre class="brush: jscript; title: ; notranslate">Format: $('selector').colorbox({key:value, key:value, key:value}, callback);
Example: $('a#login').colorbox({transition:'fade', speed:500});
Example: $('a.gallery').colorbox();
Example: $('button').colorbox({href:&quot;thankyou.html&quot;});</pre>
<p>And it can be called directly, without assignment to an element</p>
<pre class="brush: jscript; light: true; title: ; notranslate">Example: $.fn.colorbox({href:&quot;thankyou.html&quot;});</pre>
<p>ColorBox will accept a function for any of it's parameters.</p>
<pre class="brush: jscript; title: ; notranslate">$(&quot;a[rel='example']&quot;.colorbox({title: function(){
    var url = $(this).attr('href');
    return '&lt;a href=&quot;'+url+'&quot; target=&quot;_blank&quot;&gt;Open In New Window&lt;/a&gt;';
}});</pre>
<h3>6. <a rel="nofollow" href="http://jqueryglobe.com/article/imgbox" title="imgBox" >imgBox</a></h3>
<p>imgBox is a jQuery plugin that implements a smooth zoom effect on images.</p>
<h4>What’s So Great About this Plugin?</h4>
<ul>
<li>Elegant looking, Mac-like effect</li>
<li>Popup blockers are no problem. The content opens within the active  browser window</li>
<li>Multiple images can be opened at the same time</li>
<li>Can be customized with settings and CSS</li>
<li>It’s just 7KB (packed)</li>
<li>All modern browsers supported, including IE6</li>
</ul>
<p>First, make sure that there is a XHTML DOCTYPE declaration at the very top of the page then include necessary files.</p>
<pre class="brush: xml; title: ; notranslate">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;  dir=&quot;ltr&quot; lang=&quot;en-US&quot;&gt;
&lt;head&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;imgbox/jquery.imgbox.pack.js&quot;&gt;&lt;/script&gt;
&lt;link rel=&quot;stylesheet&quot; href=&quot;imgbox/imgbox.css&quot; /&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
	$(document).ready(function(){
		$(&quot;a.zoom&quot;.imgbox();
	});
&lt;/script&gt;</pre>
<p>Create a link elements. You can set the title using the title attribute:</p>
<pre class="brush: xml; title: ; notranslate">&lt;a class=&quot;zoom&quot; title=&quot;Lorem ipsum dolor sit amet&quot; href=&quot;big_image.jpg&quot;&gt;&lt;img src=&quot;thumb.jpg&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;</pre>
<h3>7. <a rel="nofollow" href="http://shadowbox-js.com/" title="Shadowbox" >Shadowbox</a></h3>
<p>Shadowbox is a web-based media viewer application that supports all of the web's most popular media publishing formats. Shadowbox is written entirely in JavaScript and CSS and is highly customizable. Using Shadowbox, website authors can showcase a wide assortment of media in all major browsers  without navigating users away from the linking page.<br />
The simplest way to set up Shadowbox is to include the JavaScript and CSS files in the <span class="functions">&lt;head&gt;</span> of your document (web page) and then call <span class="functions">Shadowbox.init</span>, like this:</p>
<pre class="brush: jscript; title: ; notranslate">&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;shadowbox.css&quot;&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;shadowbox.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
Shadowbox.init();
&lt;/script&gt;</pre>
<p>Next you need to tell Shadowbox which links you want it to open. The simplest way to do this is through your HTML markup. If you're going to take this route, at the very least you must add a <span class="functions">rel="shadowbox"</span> attribute to each link. For example, say you have this link to an image on your page:</p>
<pre class="brush: xml; title: ; notranslate">&lt;a href=&quot;myimage.jpg&quot; rel=&quot;shadowbox&quot;&gt;My Image&lt;/a&gt;</pre>
<h3>8. <a rel="nofollow" href="http://famspam.com/facebox" title="Facebook-style lightbox which can display images, divs, or entire remote pages" >Facebox</a></h3>
<p>Facebox is a jQuery-based, Facebook-style lightbox which can display images, divs, or entire remote pages. It's simple to use and easy on the eyes. Download the tarball, view the examples, then start enjoying the curves.<br />
Load the dependency files. Make sure the jQuery is loaded first before the facebox plugin.</p>
<pre class="brush: xml; title: ; notranslate">&lt;script src=&quot;jquery.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
&lt;link href=&quot;/facebox/facebox.css&quot; media=&quot;screen&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;/&gt;
&lt;script src=&quot;/facebox/facebox.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;</pre>
<p>While calling facebox() on any anchor tag will do the trick, it's easier to give your Faceboxy links a rel="facebox"  and hit them all onLoad.</p>
<pre class="brush: jscript; title: ; notranslate">jQuery(document).ready(function($) {
  $('a[rel*=facebox]').facebox()
})</pre>
<h3>9. <a rel="nofollow" href="http://www.pirolab.it/pirobox/" title="piroBox is a versatile gallery plugin, with a choice of three styles" >piroBox</a></h3>
<p>piroBox is a versatile gallery plugin, with a choice of three styles (shadow,white or black). You can view your gallery as a slideshow or as single images and when an image is selected will automatically reposition the image in the browser window.<br />
Choose your style (shadow,white or black) and include one of the three .css in your header.</p>
<pre class="brush: xml; title: ; notranslate">&lt;link href=&quot;css_pirobox/shadow/style.css&quot; media=&quot;screen&quot; title=&quot;shadow&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; /&gt;
&lt;link href=&quot;css_pirobox/white/style.css&quot; media=&quot;screen&quot; title=&quot;white&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; /&gt;
&lt;link href=&quot;css_pirobox/black/style.css&quot; media=&quot;screen&quot; title=&quot;black&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; /&gt;</pre>
<p>Include jQuery.js, pirobox.js and pirobox options in your header.</p>
<pre class="brush: jscript; html-script: true; title: ; notranslate">&lt;script type=&quot;text/javascript&quot; src=&quot;js/jquery.min.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;js/pirobox.1_2_min.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
$(document).ready(function(){
$().piroBox({
      my_speed: 300, //animation speed
      bg_alpha: 0.5, //background opacity
      radius: 4, //caption rounded corner
      scrollImage : false, // true == image follows the page _|_ false == image remains in the same open position
                           // in some cases of very large images or long description could be useful.
      slideShow : 'true', // true == slideshow on, false == slideshow off
      slideSpeed : 3, //slideshow
      pirobox_next : 'piro_next', // Nav buttons -&gt; piro_next == inside piroBox , piro_next_out == outside piroBox
      pirobox_prev : 'piro_prev', // Nav buttons -&gt; piro_prev == inside piroBox , piro_prev_out == outside piroBox
      close_all : '.piro_close' // add class .piro_overlay(with comma)if you want overlay click close piroBox
      });
});
&lt;/script&gt;</pre>
<p>In the Body, Add <span class="functions">class="pirobox_gall"</span> to any link tag to activate pirobox for a set of images</p>
<pre class="brush: xml; title: ; notranslate">&lt;a href=&quot;image_1.jpg&quot; class=&quot;pirobox_gall&quot; title=&quot;your title&quot;&gt;&lt;img src=&quot;thumb_1.jpg&quot; /&gt;&lt;/a&gt;
&lt;a href=&quot;image_2.jpg&quot; class=&quot;pirobox_gall&quot; title=&quot;your title&quot;&gt;&lt;img src=&quot;thumb_2.jpg&quot; /&gt;&lt;/a&gt;
&lt;a href=&quot;image_3.jpg&quot; class=&quot;pirobox_gall&quot; title=&quot;your title&quot;&gt;&lt;img src=&quot;thumb_3.jpg&quot; /&gt;&lt;/a&gt;</pre>
<h3>10. <a rel="nofollow" href="http://interface.eyecon.ro/docs/imagebox" title="Interface Imagebox" >Interface Imagebox</a></h3>
<p>This a jQuery equivalent for Lightbox2. Alternative to image popups that will display images in an overlay. All links that have attribute <span class="functions">'rel'</span> starting with <span class="functions">'imagebox'</span> and link to an image will display the image inside the page. Galleries can by build buy giving the value <span class="functions">'imagebox-galname'</span> to attribute <span class="functions">'rel'</span>. Attribute 'title' will be used as caption.<br />
Code sample:</p>
<pre class="brush: jscript; title: ; notranslate">$.ImageBox.init(
	{
		loaderSRC: 'images/imagebox/loading.gif',
		closeHTML: ''
	}
);</pre>
<h3>11. <a rel="nofollow" href="http://leandrovieira.com/projects/jquery/lightbox/" title="lightBox" >lightBox</a></h3>
<p>jQuery lightBox plugin is simple, elegant, unobtrusive, no need extra markup and is used to overlay images on the current page through the power and flexibility of jQuery's selector.<br />
Include lightBox plugin:</p>
<pre class="brush: xml; title: ; notranslate">&lt;script type=&quot;text/javascript&quot; src=&quot;js/jquery.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;js/jquery.lightbox-0.4.js&quot;&gt;&lt;/script&gt;
&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;css/jquery.lightbox-0.4.css&quot; media=&quot;screen&quot; /&gt;</pre>
<p>You don´t need to modify your HTML markup to use jQuery lightBox plugin. Just use the power and flexibility of jQuery´s selector and create a set of related images.</p>
<pre class="brush: xml; title: ; notranslate">&lt;a href=&quot;image1.jpg&quot; rel=&quot;lightbox&quot;&gt;&lt;img src=&quot;thumb_image1.jpg&quot; width=&quot;72&quot; height=&quot;72&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;</pre>
<p>After it, select the links and call the jQuery lightBox plugin. See some examples:</p>
<pre class="brush: jscript; title: ; notranslate">&lt;script type=&quot;text/javascript&quot;&gt;
$(function() {
	// Use this example, or...
	$('a[@rel*=lightbox]').lightBox(); // Select all links that contains lightbox in the attribute rel
	// This, or...
	$('#gallery a').lightBox(); // Select all links in object with gallery ID
	// This, or...
	$('a.lightbox').lightBox(); // Select all links with lightbox class
	// This, or...
	$('a').lightBox(); // Select all links in the page
	// ... The possibility are many. Use your creative or choose one in the examples above
});
&lt;/script&gt;</pre>
<h3>12. <a rel="nofollow" href="http://nyromodal.nyrodev.com/" title="NyroModal" >NyroModal</a></h3>
<p>Designers seem to like using modal windows more and more, as they provide a quick way to show data without reloading the entire page. It's easy to use and easy to design.<br />
<strong>Supported Media</strong>: Images, Inline HTML, iFrame, AJAX, Video.<br />
nyroModal(); is the basic function to set the click or submit function. To add the nyroModal functionnality to all links containing in <span class="functions">#container</span>, you'll do:</p>
<pre class="brush: jscript; title: ; notranslate">$('#container a').nyroModal();</pre>
<h3>13. <a rel="nofollow" href="http://bunnyfire.co.uk/projects/picbox/" title="Picbox" >Picbox</a></h3>
<p>Picbox is a lightweight (around 5KB) javascript image viewer based on the excellent Slimbox  by Christophe Beyls, and available using either the Mootools or jQuery frameworks. It features automatic resizing and zooming of large images, allowing them to fit in the browser or be viewed at full size.<br />
Insert the following code into your &lt;head&gt;:</p>
<pre class="brush: xml; title: ; notranslate">&lt;script type=&quot;text/javascript&quot; src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;js/picbox.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
&lt;link rel=&quot;stylesheet&quot; href=&quot;css/picbox.css&quot; type=&quot;text/css&quot; media=&quot;screen&quot; /&gt;</pre>
<p>For easy migration from Lightbox/Slimbox, by default the script activated for links with rel=”lightbox” e.g.</p>
<pre class="brush: xml; title: ; notranslate">&lt;a href=&quot;images/image-1.jpg&quot; rel=&quot;lightbox&quot; title=&quot;my caption&quot;&gt;image #1&lt;/a&gt;</pre>
<p>Picbox includes an api and customisation options. Refer to picbox.js in the src/ folder for the full list, including descriptions.</p>
<h3>14. <a rel="nofollow" href="http://catcubed.com/2008/12/23/ceebox-a-thickboxvideobox-mashup/" title="CeeBox" >CeeBox</a></h3>
<p>An overlay popup script for easily embedding flash video, displaying images, or showing html (either external sites via iframe or content on your own site via AJAX). Tested in Safari(4)/Chrome/FireFox(3.5)/Internet Explorer(6–8)/Opera(10). Note: Mobile Safari has an issue with fixed position.<br />
Link all this javascript up with your site and add</p>
<pre class="brush: jscript; light: true; title: ; notranslate">$(document).ready(function(){ $(“your selector here“).ceebox();});</pre>
<p>to your global .js file</p>
<h3>15. <a rel="nofollow" href="http://jquery.com/demo/thickbox/" title="ThickBox" >ThickBox</a></h3>
<p>ThickBox is a webpage UI dialog widget written in JavaScript on top of the jQuery library. Its function is to show a single image, multiple images, inline content, iframed content, or content served through AJAX in a hybrid modal.</p>
<p>Before you can implement ThickBox make sure the page that invokes  ThickBox has a valid <a rel="nofollow" href="http://www.alistapart.com/articles/doctype/" >DTD</a>. This is  required for ThickBox to look and function correctly.</p>
<p>ThickBox requires the jQuery JavaScript library; because of this, you  will need to include the jquery.js file in the head element of your web  page, followed by the thickbox.js file (NOTE: jquery.js must come first  in the source order). Example below:</p>
<pre class="brush: xml; title: ; notranslate">&lt;script type=&quot;text/javascript&quot; src=&quot;path-to-file/jquery.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;path-to-file/thickbox.js&quot;&gt;&lt;/script&gt;
&lt;link rel=&quot;stylesheet&quot; href=&quot;path-to-file/thickbox.css&quot; type=&quot;text/css&quot; media=&quot;screen&quot; /&gt;</pre>
<p>Go to <a rel="nofollow" href="http://jquery.com/demo/thickbox/" title="ThickBox" >ThickBox Homepage</a> to learn the many different ways to use and invoke ThickBox functionality.<br />
While Thickbox had its day, <strong>it is not maintained any longer</strong>,  so we recommend you use some alternatives above.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.narga.net/15-promising-jquery-lightbox-clones-plugins/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to Open All External Links in a New Window/Tabs by using jquery</title>
		<link>http://www.narga.net/open-all-external-links-new-window-tabs-jquery/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=open-all-external-links-new-window-tabs-jquery</link>
		<comments>http://www.narga.net/open-all-external-links-new-window-tabs-jquery/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 13:30:58 +0000</pubDate>
		<dc:creator>Narga</dc:creator>
				<category><![CDATA[How-to]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[code recipes]]></category>

		<guid isPermaLink="false">http://www.narga.net/?p=1927</guid>
		<description><![CDATA[If you know anything about attribute selectors, that should look familiar to you. Basically, it is saying, apply the attribute target="_blank" to all links that begin with http. I have written a few lines of jQuery code that will convert all external links (i.e. links that begin with http) to links opening up in a new window by injecting the target="_blank" behind the screens.]]></description>
			<content:encoded><![CDATA[<p>Do you ever know the way to open an external link in a new windows or tabs is one of <a rel="nofollow" href="http://www.useit.com/alertbox/990530.html" >"The Top Ten Web Design Mistakes of 1999"</a>?</p>
<blockquote><p>Opening up new browser windows is like a vacuum cleaner sales person who starts a visit by emptying an ash tray on the customer's carpet. Don't pollute my screen with any more windows, thanks (particularly since current operating systems have miserable window management).<br />
Designers open new browser windows on the theory that it keeps users on their site. But even disregarding the user-hostile message implied in taking over the user's machine, the strategy is self-defeating since it disables the Back button which is the normal way users return to previous sites.</p></blockquote>
<p>I discovered right away is that the <span class="functions">&#060;a&#062;</span> tag does not allow the <span class="functions">target</span> attribute in XHTML Strict (nor does it in HTML Strict).<br />
<div id="attachment_1936" class="wp-caption aligncenter" style="width: 410px"><a href="http://www.narga.net/open-all-external-links-new-window-tabs-jquery/external-links/"  rel="attachment wp-att-1936"><img src="http://www.narga.net/wp-content/uploads/2010/01/External-Links.png" alt="External Links" width="400" height="300" class="size-full wp-image-1936" /></a><p class="wp-caption-text">Open external links</p></div>However, the behavior of <span class="functions">&#060;a target="_blank"'&#062;</span> can be replicated in XHTML Strict with semantic markup and scripting.<br />
<span id="more-1927"></span>If you know anything about attribute selectors, that should look familiar to you. Basically, it is saying, apply the attribute <span class="functions">target="_blank"</span> to all links that begin with http. I have written a few lines of jQuery code that will convert all external links (i.e. links that begin with http) to links opening up in a new window by injecting the <span class="functions">&#060;a target="_blank"'&#062;</span> behind the screens. I'm going to make sure you have <a href="http://www.narga.net/google-ajax-libraries-api-wordpres/" title="use Google AJAX Libraries API to Speed up your Ajax apps" >jQuery active on your site, you can do this easily in WordPress</a>, since it’s bundled with the latest installations.</p>
<pre class="brush: jscript; title: ; notranslate">//	Open external links in new windows using jquery
	$('a[href^=&quot;http://&quot;]').filter(function() {
        return this.hostname &amp;&amp; this.hostname !== location.hostname;
    }).attr('target', '_blank');
</pre>
<p>Really easy, really powerful, problem solved.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.narga.net/open-all-external-links-new-window-tabs-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>25 sexy jQuery Drop Down Multi Level Menu</title>
		<link>http://www.narga.net/sexy-jquery-drop-down-multi-level-menu/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=sexy-jquery-drop-down-multi-level-menu</link>
		<comments>http://www.narga.net/sexy-jquery-drop-down-multi-level-menu/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 13:30:21 +0000</pubDate>
		<dc:creator>Narga</dc:creator>
				<category><![CDATA[Digest]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[drop-down menu]]></category>

		<guid isPermaLink="false">http://www.narga.net/?p=1639</guid>
		<description><![CDATA[Dropdown menus and menu bars have been heavily used since the early days of graphical user interfaces. Their use has become ubiquitous, and even expected, in desktop applications, and the web has quickly followed suit. There are lots of dropdown menus already out there. Here you’ll find 25 sexy jQuery and CSS based drop-down or just multi level menu tutorials with down loadable files and explanations as well.]]></description>
			<content:encoded><![CDATA[<p>Drop-down menus and menu bars have been heavily used since the early days of graphical user interfaces. Their use has become ubiquitous, and even expected, in desktop applications, and the web has quickly followed suit. There are lots of drop down menus already out there. Here you’ll find 25 sexy <a href="http://www.narga.net/jquery-a-new-kind-of-javascript-library/" title="jQuery" >jQuery</a> and CSS based drop-down or just multi level menu tutorials with down loadable files and explanations as well.<br />
<span id="more-1639"></span></p>
<h3>1. <a rel="nofollow" href="http://www.noupe.com/tutorial/drop-down-menu-jquery-css.html" title="Sexy Drop Down Menu w/ jQuery &amp; CSS" >Sexy Drop Down Menu w/ jQuery &amp; CSS</a></h3>
<p>In this tutorial you will learn how to create a sexy drop down menu that can also degrade gracefully.</p>
<div id="attachment_1643" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.narga.net/wp-content/uploads/2009/11/Sexy-Drop-Down-Menu-with-jQuery-and-CSS.jpg" ><img class="size-medium wp-image-1643" src="http://www.narga.net/wordpress/wp-content/uploads/2009/11/Sexy-Drop-Down-Menu-with-jQuery-and-CSS-500x291.jpg" alt="Sexy Drop Down Menu w/jQuery &amp; CSS" width="500" height="291" /></a><p class="wp-caption-text">Sexy Drop Down Menu w/jQuery &amp; CSS</p></div>
<h3>2. <a rel="nofollow" href="http://css-tricks.com/simple-jquery-dropdowns/" title="CSS-Tricks Simple jQuery Dropdowns" >CSS-Tricks Simple jQuery&nbsp;Dropdowns</a></h3>
<p>Very stripped down code and minimal styling, yet still drop down menu has all the functionality typically needed.</p>
<div id="attachment_1646" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.narga.net/wp-content/uploads/2009/11/Simple-jQuery-Dropdowns.jpg" ><img class="size-medium wp-image-1646" src="http://www.narga.net/wordpress/wp-content/uploads/2009/11/Simple-jQuery-Dropdowns-500x296.jpg" alt="Simple jQuery Dropdowns" width="500" height="296" /></a><p class="wp-caption-text">Simple jQuery Dropdowns</p></div>
<h3>3. <a rel="nofollow" href="http://www.webdesigndev.com/web-development/create-the-fanciest-dropdown-menu-you-ever-saw" title="The Fanciest Dropdown Menu" >The Fanciest Dropdown Menu</a></h3>
<p>Brian Cray teaches you how to create this stunning website drop down navigation menu. The drop down menu uses HTML, CSS and Javascript. You can also include the hoverIntent JQuery plugin for extra juicy effects.</p>
<div id="attachment_1648" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.narga.net/wp-content/uploads/2009/11/The-Fanciest-Dropdown-Menu.jpg" ><img class="size-medium wp-image-1648" src="http://www.narga.net/wordpress/wp-content/uploads/2009/11/The-Fanciest-Dropdown-Menu-500x138.jpg" alt="The Fanciest Dropdown Menu" width="500" height="138" /></a><p class="wp-caption-text">The Fanciest Dropdown Menu</p></div>
<h3>4. <a rel="nofollow" href="http://net.tutsplus.com/tutorials/javascript-ajax/a-different-top-navigation/" title="A Different Top Navigation Menu" >A Different Top Navigation Menu</a></h3>
<p>They will use jQuery to create a different multi-layered horizontal navigation system that is still intuitive enough for anyone to use for the first time.</p>
<div id="attachment_1651" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.narga.net/wp-content/uploads/2009/11/A-Different-Top-Navigation-Menu.png" ><img class="size-medium wp-image-1651" src="http://www.narga.net/wordpress/wp-content/uploads/2009/11/A-Different-Top-Navigation-Menu-500x344.png" alt="A Different Top Navigation Menu" width="500" height="344" /></a><p class="wp-caption-text">A Different Top Navigation Menu</p></div>
<h3>5. <a rel="nofollow" href="http://jdsharp.us/jQuery/plugins/jdMenu/" title="jdMenu Hierarchical Menu Plugin" >jdMenu Hierarchical Menu Plugin</a></h3>
<p>The jdMenu plugin for jQuery provides a clean, simple and elegant solution for creating hierarchical drop down menus for websites to web applications</p>
<div id="attachment_1653" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.narga.net/wp-content/uploads/2009/11/jdMenu-Hierarchical-Menu-Plugin.png" ><img class="size-medium wp-image-1653" src="http://www.narga.net/wordpress/wp-content/uploads/2009/11/jdMenu-Hierarchical-Menu-Plugin-500x116.png" alt="jdMenu Hierarchical Menu Plugin" width="500" height="116" /></a><p class="wp-caption-text">jdMenu Hierarchical Menu Plugin</p></div>
<h3>6. <a rel="nofollow" href="http://www.stunicholls.com/menu/pro_dropdown_2.html" title="Professional dropdown #2" >Professional dropdown #2</a></h3>
<p>This menu also styles the path taken through the menu so that it works in IE5.x and IE6 as well as IE7 and all other browsers. This is a little long-winded but necessary as IE5.5 and IE6 do not understand the child selector.</p>
<div id="attachment_1654" class="wp-caption aligncenter" style="width: 474px"><a href="http://www.narga.net/wp-content/uploads/2009/11/Professional-dropdown-2.png" ><img class="size-full wp-image-1654" src="http://www.narga.net/wp-content/uploads/2009/11/Professional-dropdown-2.png" alt="Professional dropdown #2" width="464" height="267" /></a><p class="wp-caption-text">Professional dropdown #2</p></div>
<h3>7. <a rel="nofollow" href="http://css-tricks.com/designing-the-digg-header-how-to-download/" title="Designing the Digg Header" >Designing the Digg Header</a></h3>
<p>The design of Digg is full of smart ideas. The site identity is strong but doesn’t take up too much valuable vertical space. Navigation is compacted with the use of simple drop-down menus. Important things like subscribing, searching and account information are right up top where you would expect them to be. It’s fluid width, but it doesn’t shrink too far or grow too big.</p>
<div id="attachment_1656" class="wp-caption aligncenter" style="width: 485px"><img class="size-full wp-image-1656" src="http://www.narga.net/wp-content/uploads/2009/11/Designing-the-Digg-Header.png" alt="Designing the Digg Header" width="475" height="201" /><p class="wp-caption-text">Designing the Digg Header</p></div>
<h3>8. <a rel="nofollow" href="http://www.jankoatwarpspeed.com/post/2009/01/19/Create-Vimeo-like-top-navigation.aspx" title="Create Vimeo-like top navigation" >Create Vimeo-like top navigation</a></h3>
<p>What I like the most is the menu that drops down when you hover search box. It offers you different search options that you can choose and narrow your search.</p>
<div id="attachment_1657" class="wp-caption aligncenter" style="width: 471px"><img class="size-full wp-image-1657" src="http://www.narga.net/wp-content/uploads/2009/11/Create-Vimeo-like-top-navigation.png" alt="Create Vimeo-like top navigation" width="461" height="168" /><p class="wp-caption-text">Create Vimeo-like top navigation</p></div>
<h3>9. <a rel="nofollow" href="http://www.javascriptkit.com/script/script2/jkmegamenu.shtml" title="Cut &amp; Paste jQuery Mega Menu" >Cut &amp; Paste jQuery Mega Menu</a></h3>
<p>Mega Menus refer to drop down menus that contain multiple columns of links. This jQuery script lets you add a mega menu to any anchor link on your page, with each menu revealed using a sleek expanding animation. Customize the animation duration plus delay before menu disappears when the mouse rolls out of the anchor. Mega cool!</p>
<div id="attachment_1659" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.narga.net/wp-content/uploads/2009/11/Cut-Paste-jQuery-Mega-Menu.png" ><img class="size-medium wp-image-1659" src="http://www.narga.net/wordpress/wp-content/uploads/2009/11/Cut-Paste-jQuery-Mega-Menu-500x246.png" alt="Cut &amp; Paste jQuery Mega Menu" width="500" height="246" /></a><p class="wp-caption-text">Cut &amp; Paste jQuery Mega Menu</p></div>
<h3>10. <a rel="nofollow" href="http://www.clarklab.net/blog/posts/animated-drop-down-menu-with-jquery/" title="Animated Drop Down Menu with jQuery" >Animated Drop Down Menu with jQuery</a></h3>
<p>Drop down menus are a really convent way to fit a large menu into a really small initial space. For a long time people have just used a form element for standard drop downs, but with minimal effort you can create a much slicker effect using jQuery and CSS.</p>
<div id="attachment_1661" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.narga.net/wp-content/uploads/2009/11/Animated-Drop-Down-Menu-with-jQuery.png" ><img class="size-medium wp-image-1661" src="http://www.narga.net/wordpress/wp-content/uploads/2009/11/Animated-Drop-Down-Menu-with-jQuery-500x235.png" alt="Animated Drop Down Menu with jQuery" width="500" height="235" /></a><p class="wp-caption-text">Animated Drop Down Menu with jQuery</p></div>
<h3>11. <a rel="nofollow" href="http://www.givainc.com/labs/mcdropdown_jquery_plugin.htm" title="mcDropdown jQuery Plugin" >mcDropdown jQuery Plugin</a></h3>
<p>To overcome this obstacle, we spent a lot of time developing code that would automatically split long lists into multiple columns and then position itself so that it always fits within the viewport. The overall effect is somewhat similar to the Microsoft® Windows® "Start &gt; All Programs" menu. However, the algorithm we use should keep the menus laid out in a more compact layout—which we believe offers quicker selection of the menu items. The screenshot below shows what the menu looks like when used with a very large menu.</p>
<div id="attachment_1663" class="wp-caption aligncenter" style="width: 449px"><img class="size-full wp-image-1663" src="http://www.narga.net/wp-content/uploads/2009/11/mcDropdown-jQuery-Plugin.png" alt="mcDropdown jQuery Plugin" width="439" height="442" /><p class="wp-caption-text">mcDropdown jQuery Plugin</p></div>
<h3>12. <a rel="nofollow" href="http://www.filamentgroup.com/lab/jquery_ipod_style_and_flyout_menus/" title="jQuery Menu: Dropdown, iPod Drilldown, and Flyout styles with ARIA Support and ThemeRoller Ready" >jQuery Menu: Dropdown, iPod Drilldown, and Flyout styles with ARIA Support and ThemeRoller Ready</a></h3>
<p>The entire menu sits within a fixed-size area, and when a node is selected, by default a "Back" link appears below the menu to allow navigation to previous (parent) menus, or set options to show breadcrumb links above the menu options to both deliver feedback and allow quick access to nodes higher up in the hierarchy. A lateral iPod-style slide transition reinforces the notion that you're moving forward into more granular data, or backward into higher-level data. This menu is specifically useful in traversing deeply nested hierarchies, particularly those more than three levels deep. It also provides a more usable alternative to multi-level fly-out menus, which can present challenges to those with limited manual dexterity.</p>
<div id="attachment_1664" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.narga.net/wp-content/uploads/2009/11/jQuery-Menu-Dropdown-iPod-Drilldown-and-Flyout-styles.png" ><img class="size-medium wp-image-1664" src="http://www.narga.net/wordpress/wp-content/uploads/2009/11/jQuery-Menu-Dropdown-iPod-Drilldown-and-Flyout-styles-500x211.png" alt="jQuery Menu - Dropdown, iPod Drilldown, and Flyout styles" width="500" height="211" /></a><p class="wp-caption-text">jQuery Menu - Dropdown, iPod Drilldown, and Flyout styles</p></div>
<h3>13. <a rel="nofollow" href="http://www.emanuelblagonic.com/2006/10/11/create-your-own-drop-down-menu-with-nested-submenus-using-css-and-a-little-javascript/" title="Drop down menu with nested submenus" >Drop down menu with nested submenus</a></h3>
<p>Create your own drop down menu with nested submenus using CSS and a little JavaScript.</p>
<div id="attachment_1668" class="wp-caption aligncenter" style="width: 485px"><img class="size-full wp-image-1668" src="http://www.narga.net/wp-content/uploads/2009/11/Drop-down-menu-with-nested-submenus.jpg" alt="Drop down menu with nested submenus" width="475" height="200" /><p class="wp-caption-text">Drop down menu with nested submenus</p></div>
<h3>14. <a rel="nofollow" href="http://www.dynamicdrive.com/style/csslibrary/item/jquery_drop_line_tabs/" title="jQuery Drop Line Tabs" >jQuery Drop Line Tabs</a></h3>
<p>This menu turns a nested UL list into a horizontal drop line tabs menu. The top-level tabs are rounded on each side thanks to the use of two transparent background images, while the sub ULs each appear as a single row of links that drop down when the mouse rolls over its parent LI. The menu also manages to sneak in a little CSS3, making use of the "border-radius" property to give each link within the sub ULs rounded edges when the mouse hovers over them..</p>
<div id="attachment_1669" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.narga.net/wp-content/uploads/2009/11/jQuery-Drop-Line-Tabs.png" ><img class="size-medium wp-image-1669" src="http://www.narga.net/wordpress/wp-content/uploads/2009/11/jQuery-Drop-Line-Tabs-500x61.png" alt="jQuery Drop Line Tabs" width="500" height="61" /></a><p class="wp-caption-text">jQuery Drop Line Tabs</p></div>
<h3>15. <a rel="nofollow" href="http://www.devirtuoso.com/2009/08/styling-drop-down-boxes-with-jquery/" title="jQuery Drop Down Boxes" >jQuery Drop Down Boxes</a></h3>
<p>One problem with HTML forms is it is hard to style the elements to fit into your design.  The tutorial will show you how to style the hardest of them all, the select box.</p>
<div id="attachment_1673" class="wp-caption aligncenter" style="width: 221px"><img class="size-full wp-image-1673" src="http://www.narga.net/wp-content/uploads/2009/11/jQuery-Drop-Down-Boxes.png" alt="jQuery Drop Down Boxes" width="211" height="135" /><p class="wp-caption-text">jQuery Drop Down Boxes</p></div>
<h3>16 . <a rel="nofollow" href="http://www.jankoatwarpspeed.com/post/2009/07/28/reinventing-drop-down-with-css-jquery.aspx" title="Reinventing a Drop Down with CSS and jQuery" >Reinventing a Drop Down with CSS and jQuery</a></h3>
<p>For me, standard HTML Select element is pretty much annoying. It's ugly. It can't be styled properly in Internet Explorer. And it can't contain nothing but simple text. That is the reason I needed to reinvent Drop Down element. This tutorial shows how to do that (easily, believe it or not).</p>
<div id="attachment_1682" class="wp-caption aligncenter" style="width: 510px"><img class="size-full wp-image-1682" src="http://www.narga.net/wp-content/uploads/2009/11/Reinventing-a-Drop-Down-with-CSS-and-jQuery.jpeg" alt="Reinventing a Drop Down with CSS and jQuery" width="500" height="200" /><p class="wp-caption-text">Reinventing a Drop Down with CSS and jQuery</p></div>
<h3>17. <a rel="nofollow" href="http://hv-designs.co.uk/2009/02/17/sliding-jquery-menu/" title="Sliding Jquery Menu Tutorial" >Sliding Jquery Menu Tutorial</a></h3>
<p>This tutorial will show you how to create a sliding menu button using jquery. You can see the effect in action over on the PSDtuts webpage in the top right hand corner.</p>
<div id="attachment_1683" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.narga.net/wp-content/uploads/2009/11/Sliding-Menu-Tutorial.png" ><img class="size-medium wp-image-1683" src="http://www.narga.net/wordpress/wp-content/uploads/2009/11/Sliding-Menu-Tutorial-500x384.png" alt="Sliding Menu Tutorial" width="500" height="384" /></a><p class="wp-caption-text">Sliding Menu Tutorial</p></div>
<h3>18. <a rel="nofollow" href="http://mattberseth.com/blog/2007/12/creating_an_outlook_navigation.html" title="Creating an Outlook Navigation Bar using the ListView and Accordion Controls" >Creating an Outlook Navigation Bar using the ListView and Accordion Controls</a></h3>
<p>The Accordion is a web control that allows you to provide multiple panes and display them one at a time. It is like having several CollapsiblePanels  where only one can be expanded at a time. The Accordion is implemented as a web control that has AccordionPane web controls.</p>
<div id="attachment_1684" class="wp-caption aligncenter" style="width: 255px"><img class="size-full wp-image-1684" src="http://www.narga.net/wp-content/uploads/2009/11/Creating-an-Outlook-Navigation-Bar-using-the-ListView-and-Accordion-Controls.png" alt="Outlook Navigation Bar using the ListView and Accordion Controls" width="245" height="347" /><p class="wp-caption-text">Outlook Navigation Bar using the ListView and Accordion Controls</p></div>
<h3>19. <a rel="nofollow" href="http://aext.net/2009/08/perfect-sign-in-dropdown-box-likes-twitter-with-jquery/" title="Perfect signin dropdown box likes Twitter with jQuery" >Perfect signin dropdown box likes Twitter with jQuery</a></h3>
<p>This tutorial will explain how it works step by step and it’s good for learning jQuery how to do the toggle and tool tips. Enjoy it!</p>
<div id="attachment_1688" class="wp-caption aligncenter" style="width: 313px"><img class="size-full wp-image-1688" src="http://www.narga.net/wp-content/uploads/2009/12/Twitter-Login.png" alt="Perfect signin dropdown box likes Twitter with jQuery" width="303" height="259" /><p class="wp-caption-text">Perfect signin dropdown box likes Twitter with jQuery</p></div>
<h3>20. <a title="jQuery UI Potato Menu" href="http://labs.makotokw.com/s/jquery/menu">jQuery UI Potato Menu Plugin<br />
</a></h3>
<div id="attachment_1691" class="wp-caption aligncenter" style="width: 510px"><img class="size-full wp-image-1691" src="http://www.narga.net/wp-content/uploads/2009/12/jQuery-UI-Potato-Menu.gif" alt="jQuery UI Potato Menu" width="500" height="400" /><p class="wp-caption-text">jQuery UI Potato Menu</p></div>
<h3>21. <a rel="nofollow" href="http://users.tpg.com.au/j_birch/plugins/superfish/" title="Superfish v1.4.8 – jQuery menu plugin by Joel Birch" >Superfish v1.4.8 – jQuery menu plugin by Joel Birch</a></h3>
<p>Superfish is an enhanced Suckerfish-style menu jQuery plugin that takes an existing pure CSS drop-down menu (so it degrades gracefully without JavaScript) and more features.</p>
<div id="attachment_1695" class="wp-caption aligncenter" style="width: 510px"><img class="size-full wp-image-1695" src="http://www.narga.net/wp-content/uploads/2009/12/Superfish-jQuery-menu-plugin-by-Joel-Birch.gif" alt="Superfish - jQuery menu plugin" width="500" height="327" /><p class="wp-caption-text">Superfish - jQuery menu plugin</p></div>
<h3>22. <a rel="nofollow" href="http://www.dynamicdrive.com/dynamicindex1/ddsmoothmenu.htm" title="Dynamic Drive - Smooth Navigational Menu" >Dynamic Drive - Smooth Navigational Menu</a></h3>
<p>Smooth Navigation Menu is a multi level, CSS list based menu powered using jQuery that makes website navigation a smooth affair. And that's a good thing given the important role of this element in any site. The menu's contents can either be from direct markup on the page, or an external file and fetched via Ajax instead.</p>
<div id="attachment_1696" class="wp-caption aligncenter" style="width: 510px"><img class="size-full wp-image-1696" src="http://www.narga.net/wp-content/uploads/2009/12/Smooth-Navigation-Menu.gif" alt="Smooth Navigation Menu" width="500" height="245" /><p class="wp-caption-text">Smooth Navigation Menu</p></div>
<h3>23. <a rel="nofollow" href="http://abeautifulsite.net/notebook.php?article=58" title="jQuery File Tree" >jQuery File Tree</a></h3>
<p>jQuery File Tree is a configurable, AJAX file browser plugin for jQuery. You can create a customized, fully interactive file tree with as little as one line of JavaScript code.</p>
<div id="attachment_1697" class="wp-caption aligncenter" style="width: 510px"><img class="size-full wp-image-1697" src="http://www.narga.net/wp-content/uploads/2009/12/jQuery-File-Tree.gif" alt="jQuery File Tree" width="500" height="238" /><p class="wp-caption-text">jQuery File Tree</p></div>
<h3>24. <a rel="nofollow" href="http://www.sitepoint.com/blogs/2009/03/31/make-a-mega-drop-down-menu-with-jquery/" title="Make a Mega Drop-Down Menu with jQuery" >Make a Mega Drop-Down Menu with jQuery</a></h3>
<div id="attachment_1698" class="wp-caption aligncenter" style="width: 510px"><img class="size-full wp-image-1698" src="http://www.narga.net/wp-content/uploads/2009/12/Make-a-Mega-Drop-Down-Menu-with-jQuery.gif" alt="Make a Mega Drop-Down Menu with jQuery" width="500" height="313" /><p class="wp-caption-text">Make a Mega Drop-Down Menu with jQuery</p></div>
<h3>25. <a rel="nofollow" href="http://pupunzi.open-lab.com/2009/01/18/mbmenu/" title="jQuery.mb.Menu" >jQuery.mb.Menu</a></h3>
<p>This is a powerful jQuery component to build easily a multilevel tree menu or a contextual menu (right-click) in an intuitive way!<br />
You can add as many submenus as you want; if your submenu or menu is not declared in the page, the component’ll get it via ajax calling the template page with the id of the menu you need (the value of  “menu” attribute) the ajax page should return a well formatted code as the example below for the menu voices code.</p>
<div id="attachment_1703" class="wp-caption aligncenter" style="width: 439px"><img class="size-full wp-image-1703" src="http://www.narga.net/wp-content/uploads/2009/12/jquery-mb.menu_.png" alt="jQuery.mb.Menu" width="429" height="270" /><p class="wp-caption-text">jQuery.mb.Menu</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.narga.net/sexy-jquery-drop-down-multi-level-menu/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
	</channel>
</rss>

