<?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>Spoonfed Project &#187; jQuery</title>
	<atom:link href="http://spoonfedproject.com/category/jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://spoonfedproject.com</link>
	<description>Feeding developers quality resources from across the web</description>
	<lastBuildDate>Sun, 03 Apr 2011 12:34:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>jQuery image slide on hover effect plugin</title>
		<link>http://spoonfedproject.com/jquery/jquery-image-slide-on-hover-effect-plugin/</link>
		<comments>http://spoonfedproject.com/jquery/jquery-image-slide-on-hover-effect-plugin/#comments</comments>
		<pubDate>Sat, 14 Nov 2009 20:09:51 +0000</pubDate>
		<dc:creator>brobison</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://spoonfedproject.com/?p=214</guid>
		<description><![CDATA[A while back I wrote about using jQuery to create an image sliding effect. It&#8217;s received quite a lot of traffic since then, so I decided to create a simple plugin. Update &#8211; 11/28 Plugin has been refactored, includes detailed documentation, and is compatible with jQuery Easing Plugin. ImgSlider Plugin is available at CodeCanyon. Please ...]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a rel="wp-att-38" href="http://spoonfedproject.com/jquery/jquery-image-slide-on-hover-effect-plugin/"><img class="aligncenter size-full wp-image-38" title="minimum-slide" src="http://spoonfedproject.com/wp-content/uploads/2009/05/jquery-animate-image.jpg" alt="jQuery image slide on hover effect plugin" width="546" height="200" /></a></p>
<p>A while back I wrote about using <a href="http://spoonfedproject.com/jquery/jquery-image-slide-on-hover-effect/" title="jQuery image slide on hover effect">jQuery to create an image sliding effect</a>. It&#8217;s received quite a lot of traffic since then, so I decided to create a simple plugin.</p>
<p><span id="more-214"></span></p>
<div class="update">
<h4>Update &#8211; 11/28</h4>
<p>Plugin has been refactored, includes detailed documentation, and is compatible with jQuery Easing Plugin. ImgSlider Plugin is available at <a href="http://codecanyon.net/item/imgslider/128727?ref=dagrander" title="ImgSlider Plugin at CodeCanyon">CodeCanyon</a>.</p>
</div>
<p>Please see <a href="http://spoonfedproject.com/jquery/jquery-image-slide-on-hover-effect/" title="jQuery image slide on hover effect">jQuery image slide on hover effect</a> for an in depth explanation of how it works.</p>
<p>The function can be called with the following code:</p>
<h4>JavaScript</h4>
<pre class="brush: js">
$(function(){
	$(&#039;#demo1&#039;).imgslide();
});
</pre>
<p>Several options may also be passed into the plugin.</p>
<h4>JavaScript</h4>
<pre class="brush: js">
	$(&#039;#demo1&#039;).imgslide({
		top: &#039;0px&#039;,
		right: &#039;0px&#039;,
		bottom: &#039;0px&#039;,
		left: &#039;0px&#039;,
		duration: 200
	});
</pre>
<h4>HTML</h4>
<p>And, the HTML used. Be sure to see the demo below for additional examples.</p>
<pre class="brush: html">
&lt;img id=&quot;demo1&quot; src=&quot;http://spoonfedproject.com/wp-content/uploads/demo/jquery-slide-plugin/image-1.jpg&quot; alt=&quot;&quot; /&gt;
</pre>
<p>Let me know if you find any bugs or better ways to approach this.</p>
<p class="default"><a title="jQuery image slide on hover effect plugin" href="http://spoonfedproject.com/wp-content/uploads/demo/jquery-slide-plugin/index.html">Demo</a></p>
<p class="default"><a title="jQuery image slide on hover effect plugin" href="http://spoonfedproject.com/wp-content/uploads/demo/jquery-slide-plugin/jquery.imgslide.js">Download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://spoonfedproject.com/jquery/jquery-image-slide-on-hover-effect-plugin/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>jQuery image slide on hover effect</title>
		<link>http://spoonfedproject.com/jquery/jquery-image-slide-on-hover-effect/</link>
		<comments>http://spoonfedproject.com/jquery/jquery-image-slide-on-hover-effect/#comments</comments>
		<pubDate>Fri, 01 May 2009 19:52:11 +0000</pubDate>
		<dc:creator>brobison</dc:creator>
				<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://spoonfedproject.com/?p=188</guid>
		<description><![CDATA[This is a simple technique to animate an image when hovering using jQuery&#8217;s animate() effect. We will use this effect to manipulate our CSS, creating a seamless transition between two areas of an image. Have a look at the demo below for a better understanding. Update &#8211; 11/28 Plugin has been refactored, includes detailed documentation, ...]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a rel="wp-att-38" href="http://spoonfedproject.com/jquery/jquery-image-slide-on-hover-effect/"><img class="aligncenter size-full wp-image-38" title="minimum-slide" src="http://spoonfedproject.com/wp-content/uploads/2009/05/jquery-animate-image.jpg" alt="jQuery image slide on hover effect" width="546" height="200" /></a></p>
<p>This is a simple technique to animate an image when hovering using <a href="http://docs.jquery.com/Effects/animate" title="jQuery Animate Effect">jQuery&#8217;s animate() effect</a>. We will use this effect to manipulate our CSS, creating a seamless transition between two areas of an image. Have a look at the demo below for a better understanding.</p>
<p><span id="more-188"></span></p>
<div class="update">
<h4>Update &#8211; 11/28</h4>
<p>Plugin has been refactored, includes detailed documentation, and is compatible with jQuery Easing Plugin. ImgSlider Plugin is available at <a href="http://codecanyon.net/item/imgslider/128727" title="ImgSlider Plugin at CodeCanyon">CodeCanyon</a>.</p>
<h4>Update &#8211; 11/14</h4>
<p>A plugin has been created for this effect. Please see the post <a href="http://spoonfedproject.com/jquery/jquery-image-slide-on-hover-effect-plugin/">jQuery image slide on hover effect plugin</a>.</p>
</div>
<p class="clear"><a class="default" title="jQuery image slide on hover effect" href="http://spoonfedproject.com/wp-content/uploads/demo/jquery-slide-hover/index.htm">Demo</a></p>
<h4>Xhtml</h4>
<pre class="brush: html">
&lt;div id=&quot;container&quot;&gt;
	&lt;h1&gt;jQuery image slide on hover effect&lt;/h1&gt;
	&lt;div&gt;&lt;a href=&quot;#&quot;&gt;&lt;img src=&quot;image-1.jpg&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
	&lt;div&gt;&lt;a href=&quot;#&quot;&gt;&lt;img src=&quot;image-2.png&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
	&lt;div&gt;&lt;a href=&quot;#&quot;&gt;&lt;img src=&quot;image-3.jpg&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
</pre>
<p>The markup itself is quite basic. We have three divs that contain image links. Notice that each image contains both its default and hover states. This is done to create our animation.</p>
<h4>CSS</h4>
<pre class="brush: css">
/* simple reset */
html,body,div,h2,img {margin:0;padding:0;border:none;}

html {
	font:1em Arial, Helvetica, sans-serif;
	color:#444;
}
h1 {	text-align:center;}
#container {
	margin:100px auto;
	width:909px;
}
#container div {
	margin-right:3px;
	float:left;
	width:296px;
	height:130px;
	border:1px solid #999;
	position:relative;
	overflow:hidden;
}
#container img {
	position:absolute;
}
</pre>
<p>Since we only want to show the image&#8217;s default state first, we set the height and width of the containing div, and set overflow to &#8220;hidden&#8221;. We will be absolutely positioning the image, so we also need to set the divs position to &#8220;relative&#8221; and the images to &#8220;absolute&#8221;>.</p>
<h4>jQuery</h4>
<pre class="brush: javascript">
$(function(){
	$(&quot;#container div a&quot;).hover(function(){
		$(&quot;img&quot;, this).stop().animate({top:&quot;-130px&quot;},{queue:false,duration:200});
	}, function() {
		$(&quot;img&quot;, this).stop().animate({top:&quot;0px&quot;},{queue:false,duration:200});
	});
});
</pre>
<p>To get things rolling, we first run a hover function on our link tag. Before running our animation, we use the stop() method to cancel the animation queue if one exists. The animate effect uses the CSS Top property to reveal the image&#8217;s hidden hover state, sliding it upwards over a period of 200 milliseconds. We also set the queue to &#8220;false&#8221; so that the animation will start automatically without having to wait for its turn.</p>
<p>And there you have it&#8230; an easy way to create a hover animation using jQuery. </p>
]]></content:encoded>
			<wfw:commentRss>http://spoonfedproject.com/jquery/jquery-image-slide-on-hover-effect/feed/</wfw:commentRss>
		<slash:comments>33</slash:comments>
		</item>
		<item>
		<title>Fullsize, a new jQuery lightbox plugin and IMG Attribute</title>
		<link>http://spoonfedproject.com/jquery/fullsize-a-new-jquery-lightbox-plugin-and-attribute/</link>
		<comments>http://spoonfedproject.com/jquery/fullsize-a-new-jquery-lightbox-plugin-and-attribute/#comments</comments>
		<pubDate>Sun, 05 Apr 2009 16:01:28 +0000</pubDate>
		<dc:creator>brobison</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://spoonfedproject.com/?p=177</guid>
		<description><![CDATA[Fullsize is an attempt to add a new IMG attribute called &#8220;fullsize&#8221; in the next version of HTML. The idea is simple; create a standardized solution by which browsers handle the image popups rather than javascript/AJAX. Whenever the fullsize attribute is found within the img tag, browsers would tackle the heavy lifting, generating a popup ...]]></description>
			<content:encoded><![CDATA[<p><a href="http://spoonfedproject.com/jquery/fullsize-a-new-jquery-lightbox-plugin-and-attribute" title="a new jQuery plugin and IMG attribute"><img src="http://spoonfedproject.com/wp-content/uploads/2009/03/fullsize-attribute.jpg" alt="A New jQuery Plugin and IMG Attribute" /></a></p>
<p><a href="http://www.addfullsize.com/" title="a new jQuery plugin and IMG attribute">Fullsize</a> is an attempt to add a new IMG attribute called &#8220;fullsize&#8221; in the next version of HTML. The idea is simple; create a standardized solution by which browsers handle the image popups rather than javascript/AJAX. Whenever the fullsize attribute is found within the img tag, browsers would tackle the heavy lifting, generating a popup of the full size image.</p>
<p><span id="more-177"></span></p>
<p><object width="558" height="349"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=3934148&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=7fb2ff&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=3934148&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=7fb2ff&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="558" height="349"></embed></object></p>
<p>Although I&#8217;m still on the fence about this, there are a few aspects that I find interesting. For one, image popups would continue functioning even for users where javascript is disabled. Because this is handled by the browser, less code would need to be written by the developer.</p>
<p>Sounds great, but what if I want to control this myself using jQuery, Mootools or another javascript framework? No problem! The <a href="http://spoonfedproject.com/jquery/extensive-list-of-jquery-lightbox-modal-plugins/">hundreds of lightbox plugins</a> already out there in cyberspace will continue working as intended. Browsers will only step in when the img tag is accompanied by the fullsize attribute.</p>
<p>Who knows if this idea will ever come to fruition. In the meantime however, a <a href="http://www.addfullsize.com/" title="a new jQuery plugin and IMG attribute">jQuery plugin</a> has been created for all to enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://spoonfedproject.com/jquery/fullsize-a-new-jquery-lightbox-plugin-and-attribute/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Extensive list of jQuery lightbox / modal plugins</title>
		<link>http://spoonfedproject.com/jquery/extensive-list-of-jquery-lightbox-modal-plugins/</link>
		<comments>http://spoonfedproject.com/jquery/extensive-list-of-jquery-lightbox-modal-plugins/#comments</comments>
		<pubDate>Tue, 10 Mar 2009 21:00:21 +0000</pubDate>
		<dc:creator>brobison</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[lightbox]]></category>
		<category><![CDATA[modal]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://spoonfedproject.com/?p=65</guid>
		<description><![CDATA[With the ever-growing popularity of jQuery and the ubiquitous use of lightboxes throughout the internet, I figured why not compile a list? Well, here it is! Updated &#8211; 4/5/2009 &#8211; Fullsize Updated &#8211; 3/30/2009 &#8211; jqModal Fullsize This concept spawns from the idea of creating a standardized solution for browsers to handle image popups rather ...]]></description>
			<content:encoded><![CDATA[<p><a href="http://spoonfedproject.com/jquery/extensive-list-of-jquery-lightbox-modal-plugins"><img src="http://spoonfedproject.com/wp-content/uploads/2009/03/jquer-lightbox-modal.jpg" alt="jquer-lightbox-modal" title="jquer-lightbox-modal" width="546" height="200" class="aligncenter size-full wp-image-142" /></a></p>
<p>With the ever-growing popularity of jQuery and the ubiquitous use of lightboxes throughout the internet, I figured why not compile a list? Well, here it is!</p>
<p><span id="more-65"></span></p>
<h4>Updated &#8211; 4/5/2009 &#8211; Fullsize</h4>
<h4>Updated &#8211; 3/30/2009 &#8211; jqModal</h4>
<h3>Fullsize</h3>
<p><a href="http://www.addfullsize.com/"><img src="http://spoonfedproject.com/wp-content/uploads/2009/03/fullsize-attribute.jpg" alt="Fullsize" title="Fullsize" width="546" height="200" class="aligncenter size-full wp-image-106" /></a></p>
<p>This concept spawns from the idea of creating a <a href="http://spoonfedproject.com/jquery/fullsize-a-new-jquery-lightbox-plugin-and-attribute/">standardized solution for browsers to handle image popups</a> rather than javascript frameworks. Although there is no support for this at the moment, they have created a jQuery plugin that supports this concept.</p>
<p>URL: <a href="http://www.addfullsize.com/">http://www.addfullsize.com/</a></p>
<h4>Features:</h4>
<ul>
<li>Support: images</li>
<li>File size: 8kb (Packed)</li>
<li>Browsers Supported: Firefox, IE 6+7+8, Safari, Opera, Chrome</li>
</ul>
<h3>jqModal</h3>
<p><a href="http://dev.iceburg.net/jquery/jqModal/"><img src="http://spoonfedproject.com/wp-content/uploads/2009/03/jq-modal.png" alt="jqModal" title="jqModal" width="546" height="200" class="aligncenter size-full wp-image-106" /></a></p>
<p>A simple modal framework that&#8217;s lightweight, powerful and flexible. More examples of jqModal in action can be viewed <a href="http://www.pixeline.be/experiments/ThickboxToJqModal/" title="Thickbox to jqModal example">here</a>.</p>
<p>URL: <a href="http://dev.iceburg.net/jquery/jqModal/">http://dev.iceburg.net/jquery/jqModal/</a></p>
<h4>Features:</h4>
<ul>
<li>Support: images, ajax, inline and framed content</li>
<li>File size: 3kb</li>
</ul>
<h3>ColorBox</h3>
<p><a href="http://colorpowered.com/colorbox/"><img src="http://spoonfedproject.com/wp-content/uploads/2009/03/colorbox.jpg" alt="colorbox" title="colorbox" width="546" height="200" class="aligncenter size-full wp-image-106" /></a></p>
<p>URL: <a href="http://colorpowered.com/colorbox/">http://colorpowered.com/colorbox/</a></p>
<h4>Features:</h4>
<ul>
<li>Support: images, ajax, inline and framed content</li>
<li>File size: 10kb</li>
<li>Generates valid W3C valid XHTML and CSS</li>
</ul>
<h3>facebox</h3>
<p><a href="http://famspam.com/facebox"><img src="http://spoonfedproject.com/wp-content/uploads/2009/03/facebox.jpg" alt="facebox" title="facebox" width="546" height="200" class="aligncenter size-full wp-image-106" /></a></p>
<p>URL: <a href="http://famspam.com/facebox">http://famspam.com/facebox</a></p>
<h4>Features:</h4>
<ul>
<li>Support: images, ajax, divs</li>
<li>File size: 2kb (gzipped &amp; minified)</li>
<li>Generates valid W3C valid XHTML and CSS</li>
</ul>
<h3>lightBox</h3>
<p><a href="http://leandrovieira.com/projects/jquery/lightbox/"><img src="http://spoonfedproject.com/wp-content/uploads/2009/03/lightbox.jpg" alt="lightBox" title="lightBox" width="546" height="200" class="aligncenter size-full wp-image-106" /></a></p>
<p>URL: <a href="http://leandrovieira.com/projects/jquery/lightbox/">http://leandrovieira.com/projects/jquery/lightbox/</a></p>
<p>A <a href="http://jquery.com/" title="jQuery">jQuery</a> version of the popular <a href="http://www.huddletogether.com/projects/lightbox2/" title="Lightbox2">Lightbox2</a> based on <a href="http://www.prototypejs.org/" title="prototype">prototype</a> and <a href="http://script.aculo.us/" title="scriptaculous">scriptaculous</a>.</p>
<h4>Features:</h4>
<ul>
<li>Support: images</li>
<li>File size: 7kb (packed) / 10kb (minified)</li>
<li>Available WordPress <a href="http://wordpress.org/extend/plugins/jquery-lightbox-balupton-edition/" title="WordPress Plugin">plugin</a></li>
</ul>
<h3>Lightbox (Balupton Edition)</h3>
<p><a href="http://www.balupton.com/sandbox/jquery_lightbox/"><img src="http://spoonfedproject.com/wp-content/uploads/2009/03/lightbox-balupton.jpg" alt="Lightbox (Balupton Edition)" title="Lightbox (Balupton Edition)" width="546" height="200" class="aligncenter size-full wp-image-106" /></a></p>
<p>URL: <a href="http://www.balupton.com/sandbox/jquery_lightbox/">http://www.balupton.com/sandbox/jquery_lightbox/</a></p>
<p>A <a href="http://jquery.com/" title="jQuery">jQuery</a> version of the popular <a href="http://www.huddletogether.com/projects/lightbox2/" title="Lightbox2">Lightbox2</a> based on <a href="http://www.prototypejs.org/" title="prototype">prototype</a> and <a href="http://script.aculo.us/" title="scriptaculous">scriptaculous</a>.</p>
<h4>Features:</h4>
<ul>
<li>Support: images</li>
<li>File size: 21kb</li>
<li>Browsers Supported: Firefox 2+3, IE6+7, Safari 3, Opera 9.5</li>
</ul>
<h3>Lightbox (Mesozen)</h3>
<p><a href="http://warren.mesozen.com/jquery-lightbox/"><img src="http://spoonfedproject.com/wp-content/uploads/2009/03/lightbox-mesozen.jpg" alt="Lightbox (Mesozen)" title="Lightbox (Mesozen)" width="546" height="200" class="aligncenter size-full wp-image-106" /></a></p>
<p>URL: <a href="http://warren.mesozen.com/jquery-lightbox/">http://warren.mesozen.com/jquery-lightbox/</a></p>
<p>A <a href="http://jquery.com/" title="jQuery">jQuery</a> version of the popular <a href="http://www.huddletogether.com/projects/lightbox2/" title="Lightbox2">Lightbox2</a> based on <a href="http://www.prototypejs.org/" title="prototype">prototype</a> and <a href="http://script.aculo.us/" title="scriptaculous">scriptaculous</a>.</p>
<h4>Features:</h4>
<ul>
<li>Support: images</li>
<li>File size: 15kb</li>
</ul>
<h3>ThickBox</h3>
<p><a href="http://jquery.com/demo/thickbox/"><img src="http://spoonfedproject.com/wp-content/uploads/2009/03/thickbox.jpg" alt="ThickBox" title="ThickBox" width="546" height="200" class="aligncenter size-full wp-image-106" /></a></p>
<p>URL: <a href="http://jquery.com/demo/thickbox/">http://jquery.com/demo/thickbox/</a></p>
<h4>Features:</h4>
<ul>
<li>Support: images, ajax, inline and iframed content</li>
<li>File size: 10kb (compressed)</li>
<li>Browsers Supported: IE6, IE7+, Firefox 2+, Opera 9+, Safari 2+</li>
</ul>
<h3>prettyPhoto</h3>
<p><a href="http://www.no-margin-for-errors.com/projects/prettyPhoto/"><img src="http://spoonfedproject.com/wp-content/uploads/2009/03/prettyphoto.jpg" alt="prettyPhoto" title="prettyPhoto" width="546" height="200" class="aligncenter size-full wp-image-106" /></a></p>
<p>URL: <a href="http://www.no-margin-for-errors.com/projects/prettyPhoto/">http://www.no-margin-for-errors.com/projects/prettyPhoto/</a></p>
<h4>Features:</h4>
<ul>
<li>Support: images, Flash</li>
<li>File size: 2kb (gzipped)</li>
<li>Browsers Supported: IE6, IE7+, Firefox 2+, Opera 9+, Safari 3</li>
</ul>
<h3>piroBox</h3>
<p><a href="http://www.pirolab.it/pirobox/"><img src="http://spoonfedproject.com/wp-content/uploads/2009/03/pirobox.jpg" alt="piroBox" title="piroBox" width="546" height="200" class="aligncenter size-full wp-image-106" /></a></p>
<p>URL: <a href="http://www.pirolab.it/pirobox/">http://www.pirolab.it/pirobox/</a></p>
<h4>Features:</h4>
<ul>
<li>Support: images</li>
<li>File size: 13kb (packed)</li>
<li>Browsers Supported: IE6, IE7+, Firefox 2+, Opera 9+, Safari, Chrome</li>
</ul>
<h3>Fancy Zoom</h3>
<p><a href="http://orderedlist.com/demos/fancy-zoom-jquery/"><img src="http://spoonfedproject.com/wp-content/uploads/2009/03/fancyzoom.jpg" alt="Fancy Zoom" title="Fancy Zoom" width="546" height="200" class="aligncenter size-full wp-image-106" /></a></p>
<p>URL: <a href="http://orderedlist.com/demos/fancy-zoom-jquery/">http://orderedlist.com/demos/fancy-zoom-jquery/</a></p>
<p>Based loosely off <a href="http://www.cabel.name/2008/02/fancyzoom-10.html" title="Cabel's FancyZoom">Cabel&#8217;s FancyZoom</a>.</p>
<h4>Features:</h4>
<ul>
<li>Support: images, html, flash</li>
<li>File size: 5kb (minified)</li>
</ul>
<h3>FancyBox</h3>
<p><a href="http://fancy.klade.lv/home"><img src="http://spoonfedproject.com/wp-content/uploads/2009/03/fancybox.jpg" alt="FancyBox" title="FancyBox" width="546" height="200" class="aligncenter size-full wp-image-106" /></a></p>
<p>URL: <a href="http://fancy.klade.lv/home">http://fancy.klade.lv/home</a></p>
<h4>Features:</h4>
<ul>
<li>Support: images, ajax, html, inline and iframed content</li>
<li>File size: 8kb (packed)</li>
<li>Browsers Supported: IE6, IE7, Firefox 3, Opera 9, Safari 3</li>
</ul>
<h3>NyroModal</h3>
<p><a href="http://nyromodal.nyrodev.com/"><img src="http://spoonfedproject.com/wp-content/uploads/2009/03/nyromodal.jpg" alt="NyroModal" title="NyroModal" width="546" height="200" class="aligncenter size-full wp-image-106" /></a></p>
<p>URL: <a href="http://nyromodal.nyrodev.com/">http://nyromodal.nyrodev.com/</a></p>
<p>Very robust modal that can handle just about any content thrown at it.</p>
<h4>Features:</h4>
<ul>
<li>Support: images, ajax, inline and iframed content</li>
<li>File size: 17kb (packed)</li>
<li>Generates valid W3C valid XHTML (Transitional)</li>
</ul>
<h3>Imagebox</h3>
<p><a href="http://www.intelliance.fr/jquery/imagebox/"><img src="http://spoonfedproject.com/wp-content/uploads/2009/03/interface-imagebox.jpg" alt="Imagebox" title="Imagebox" width="546" height="200" class="aligncenter size-full wp-image-106" /></a></p>
<p>URL: <a href="http://www.intelliance.fr/jquery/imagebox/">http://www.intelliance.fr/jquery/imagebox/</a></p>
<p>Wasn&#8217;t able to get this working in Chrome (1.0.154.48)</p>
<h4>Features:</h4>
<ul>
<li>Support: images</li>
<li>File size: 18kb</li>
</ul>
<h3>GreyBox</h3>
<p><a href="http://orangoo.com/labs/GreyBox/"><img src="http://spoonfedproject.com/wp-content/uploads/2009/03/greybox.jpg" alt="GreyBox" title="GreyBox" width="546" height="200" class="aligncenter size-full wp-image-106" /></a></p>
<p>URL: <a href="http://orangoo.com/labs/GreyBox/">http://orangoo.com/labs/GreyBox/</a></p>
<h4>Features:</h4>
<ul>
<li>Support: images, Flash, ajax, html, inline and iframed content</li>
<li>File size: 22kb</li>
<li>Browsers Supported: IE5.5+, Firefox 1.5+, Opera 8.5+, Safari</li>
</ul>
<h3>Hotbox</h3>
<p><a href="http://www.s3maphor3.org/demo/hotbox/"><img src="http://spoonfedproject.com/wp-content/uploads/2009/03/hotbox.jpg" alt="Hotbox" title="Hotbox" width="546" height="200" class="aligncenter size-full wp-image-106" /></a></p>
<p>URL: <a href="http://www.s3maphor3.org/demo/hotbox/">http://www.s3maphor3.org/demo/hotbox/</a></p>
<p>Hotbox isn&#8217;t your typical lightbox. Its purpose is to provide a quick information panel that is activated upon pressing the spacebar.</p>
<h4>Features:</h4>
<ul>
<li>Activated by pressing the spacebar</li>
<li>Browsers Supported: IE7, Firefox 3, Opera 9.63, Safari 3</li>
</ul>
<h3>Shadowbox</h3>
<p><a href="http://www.mjijackson.com/shadowbox/"><img src="http://spoonfedproject.com/wp-content/uploads/2009/03/shadowbox.jpg" alt="Shadowbox" title="Shadowbox" width="546" height="200" class="aligncenter size-full wp-image-106" /></a></p>
<p>URL: <a href="http://www.mjijackson.com/shadowbox/">http://www.mjijackson.com/shadowbox/</a></p>
<p>Not only can Shadowbox function without the use of JavaScript frameworks, it can also accommodate just about all of them. Through the use of <acronym title="a small file that tells Shadowbox which methods to call on the underlying framework">adapters</acronym>, Shadowbox works seamlessly with other frameworks such as <a href="http://developer.yahoo.com/yui/" title="Yahoo! User Interface Library">Yahoo! User Interface Library</a>, <a href="http://extjs.com/" title="Ext">Ext</a>, <a href="http://prototypejs.org/" title="Prototype">Prototype</a>, <a href="http://jquery.com/" title="jQuery">jQuery</a>, <a href="http://mootools.net/" title="MooTools">MooTools</a>, and <a href="http://dojotoolkit.org/" title="Dojo Toolkit">Dojo Toolkit</a>.</p>
<h4>Features:</h4>
<ul>
<li>Support: images, html, swf, flv, qt, wmp, ajax, inline and iframed content</li>
<li>File size: 22kb (core file only)</li>
<li>Browsers Supported: IE6+, Firefox 1.5+, Opera 9+, Safari 2+</li>
<li>Commercial use may require license &#8211; $20</li>
</ul>
<h3>Visual Lightbox</h3>
<p><a href="http://lightbox2.com/"><img src="http://spoonfedproject.com/wp-content/uploads/2009/03/visual-box.jpg" alt="Visual Lightbox" title="Visual Lightbox" width="546" height="200" class="aligncenter size-full wp-image-106" /></a></p>
<p>URL: <a href="http://lightbox2.com/">http://lightbox2.com/</a></p>
<p>Visual Lightbox is an all-in-one application that allows you to generate photo galleries from your desktop without writing a single line of code. It&#8217;s free for non-commercial use, otherwise you&#8217;ll have to fork over $25 for the Business Edition.</p>
<h4>Features:</h4>
<ul>
<li>Commercial use requires license &#8211; $25</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://spoonfedproject.com/jquery/extensive-list-of-jquery-lightbox-modal-plugins/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>jQuery slide effect with minimum height</title>
		<link>http://spoonfedproject.com/jquery/jquery-slide-with-minimum-height/</link>
		<comments>http://spoonfedproject.com/jquery/jquery-slide-with-minimum-height/#comments</comments>
		<pubDate>Mon, 23 Feb 2009 00:47:23 +0000</pubDate>
		<dc:creator>brobison</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[slidetoggle]]></category>

		<guid isPermaLink="false">http://spoonfedproject.com/?p=24</guid>
		<description><![CDATA[I recently had a project where I needed a way to show/hide content within a div similar to the SlideToggle() effect. The only difference was that I wanted to show part of the content within the div when the page loaded. Inspired by Chris Pollock , here&#8217;s what I came up with. Also not that ...]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a rel="wp-att-38" href="http://spoonfedproject.com/jquery/jquery-slide-with-minimum-height/"><img class="aligncenter size-full wp-image-38" title="minimum-slide" src="http://spoonfedproject.com/wp-content/uploads/2009/02/minimum-slide.png" alt="minimum-slide" width="546" height="200" /></a></p>
<p>I recently had a project where I needed a way to show/hide content within a div similar to the <a title="jQuery SlideToggle()" href="http://docs.jquery.com/Effects/slideToggle" target="_self">SlideToggle()</a> effect. The only difference was that I wanted to show part of the content within the div when the page loaded. Inspired by <a title="Chris Pollock" href="http://sim.plified.com/2008/09/15/sliding-content-from-a-partial-height-with-jquery/">Chris Pollock </a>, here&#8217;s what I came up with.</p>
<p><span id="more-24"></span></p>
<p>Also not that because the content within the div was delivered dynamically, I didn&#8217;t know how much text there would be. For example, if there was only a single line of text, yet the minimum height was set to a value more than the text, the effect would fail miserably. In order to avoid this, I checked to ensure the default height was greater than the minimum height. If it came up short, there would be no slide effect and only the text would be displayed.</p>
<p class="demo-dl"><a title="jQuery slide with minimum height" href="http://spoonfedproject.com/wp-content/uploads/demo/jquer-slide/index.htm">Demo</a></p>
<h4>Xhtml</h4>
<pre class="brush: html">
&lt;div id=&quot;container&quot;&gt;
	&lt;h1&gt;jQuery slide with minimum height
	&lt;h2&gt;About Billabong&lt;/h2&gt;
	&lt;div id=&quot;wrap&quot;&gt;
		&lt;div&gt;
			&lt;p&gt;Gordon Merchant founded Billabong in Burleigh Heads on the Gold Coast in 1973. Combining his passion for surfing with hard work, Gordon designed boardshorts, manufacturing them on the kitchen table and selling through local surf shops and markets.&lt;/p&gt;
			&lt;p&gt;Gordon developed his own stitching technique, which made the garments more durable, cost effective and less labor intensive. He employed machinists, moved the operation into a factory, set up a distribution network and sponsored a team of renowned Australian surfers. The business thrived.&lt;/p&gt;
			&lt;p&gt;Since those beginnings, Billabong has expanded its product range to include boardsport products such as wetsuits, watches, surfboards, snowboard outerwear and skateboarding apparel.&lt;/p&gt;
			&lt;p&gt;Information courtesy of &lt;a title=&quot;Billabong&quot; href=&quot;http://www.billabong.com/us/&quot;&gt;Billabong&lt;/a&gt;.&lt;/p&gt;
		&lt;/div&gt;
		&lt;div id=&quot;gradient&quot;&gt;&lt;/div&gt;
	&lt;/div&gt;
	&lt;div id=&quot;read-more&quot;&gt;&lt;/div&gt;
&lt;/div&gt;
</pre>
<h4>jQuery</h4>
<pre class="brush: javascript">
$(function(){
	var slideHeight = 75; // px
	var defHeight = $(&#039;#wrap&#039;).height();
	if(defHeight &gt;= slideHeight){
		$(&#039;#wrap&#039;).css(&#039;height&#039; , slideHeight + &#039;px&#039;);
		$(&#039;#read-more&#039;).append(&#039;&lt;a href=&quot;#&quot;&gt;Click to Read More&lt;/a&gt;&#039;);
		$(&#039;#read-more a&#039;).click(function(){
			var curHeight = $(&#039;#wrap&#039;).height();
			if(curHeight == slideHeight){
				$(&#039;#wrap&#039;).animate({
				  height: defHeight
				}, &quot;normal&quot;);
				$(&#039;#read-more a&#039;).html(&#039;Close&#039;);
				$(&#039;#gradient&#039;).fadeOut();
			}else{
				$(&#039;#wrap&#039;).animate({
				  height: slideHeight
				}, &quot;normal&quot;);
				$(&#039;#read-more a&#039;).html(&#039;Click to Read More&#039;);
				$(&#039;#gradient&#039;).fadeIn();
			}
			return false;
		});
	}
});
</pre>
<h4>CSS</h4>
<pre class="brush: css">
/* simple reset */
html,body,div,h2,p {margin:0;padding:0;}

html {
font:1em Arial, Helvetica, sans-serif;
color:#444;
}
a {color:#0087f1;}
p {margin-bottom:5px;}
#container {
margin:0 auto;
width:600px;
}
#container h2 {
font-size:20px;
color:#0087f1;
}
#wrap {
position: relative;
padding: 10px;
overflow: hidden;
}
#gradient {
width:100%;
height:35px;
background:url(images/bg-gradient.png) repeat-x;
position:absolute;
bottom:0;
left:0;
}
#read-more {
padding:5px;
border-top:4px double #ddd;
background:#fff;
color:#333;
}
#read-more a {
padding-right:22px;
background:url(images/icon-arrow.gif) no-repeat 100% 50%;
font-weight:bold;
text-decoration:none;
}
#read-more a:hover {color:#000;}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://spoonfedproject.com/jquery/jquery-slide-with-minimum-height/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>

