<?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>Ajax Updates &#187; images</title>
	<atom:link href="http://www.ajaxupdates.com/tag/images/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ajaxupdates.com</link>
	<description>Latest Ajax Scripts, Examples, News and other Ajax related stuff</description>
	<lastBuildDate>Fri, 12 Feb 2010 12:46:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Wrap Content Around Images: jQSlickWrap</title>
		<link>http://www.ajaxupdates.com/wrap-content-around-images-jqslickwrap/</link>
		<comments>http://www.ajaxupdates.com/wrap-content-around-images-jqslickwrap/#comments</comments>
		<pubDate>Mon, 21 Dec 2009 11:06:34 +0000</pubDate>
		<dc:creator>alyaspk</dc:creator>
				<category><![CDATA[Jquery Script]]></category>
		<category><![CDATA[around]]></category>
		<category><![CDATA[content]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[java script]]></category>
		<category><![CDATA[jqslick]]></category>
		<category><![CDATA[jqslickwrap]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[slick wrap]]></category>
		<category><![CDATA[wrap]]></category>
		<category><![CDATA[wrap content]]></category>

		<guid isPermaLink="false">http://www.ajaxupdates.com/?p=4484</guid>
		<description><![CDATA[If you&#8217;ve ever felt the need to wrap stuff around an irregularly-shaped image using CSS&#8217;s float, you may have been somewhat disappointed to find out that it&#8217;s forced to wrap around the image&#8217;s bounding box, rather than the actual contents of the image.

Tell me about what it can do&#8230;
    * Client-side, Sliced [...]


Related Listings:<ol><li><a href='http://www.ajaxupdates.com/making-a-slick-content-slider/' rel='bookmark' title='Permanent Link: Making A Slick Content Slider'>Making A Slick Content Slider</a> <small>Introduction Web masters constantly search for ways to optimize the...</small></li>
<li><a href='http://www.ajaxupdates.com/tabbed-content-area-jquery-plugin/' rel='bookmark' title='Permanent Link: Tabbed Content Area : jQuery Plugin'>Tabbed Content Area : jQuery Plugin</a> <small>One of the biggest challenge to web designers is finding...</small></li>
<li><a href='http://www.ajaxupdates.com/lights-out-dimming-covering-background-content-with-jquery/' rel='bookmark' title='Permanent Link: Lights Out &#8211; Dimming &#8211; Covering Background Content with jQuery'>Lights Out &#8211; Dimming &#8211; Covering Background Content with jQuery</a> <small>This is a quick and easy approach that tackles a...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve ever felt the need to wrap stuff around an irregularly-shaped image using CSS&#8217;s float, you may have been somewhat disappointed to find out that it&#8217;s forced to wrap around the image&#8217;s bounding box, rather than the actual contents of the image.<br />
<span id="more-4484"></span><br />
Tell me about what it can do&#8230;</p>
<p>    * Client-side, Sliced and Diced Sandbags using HTML 5&#8217;s new<br />
    * CSS-based padding.<br />
    * Sandbag &#8220;resolution&#8221; is configurable.<br />
    * Written with Progressive Enhancement in mind.<br />
    * Optional &#8220;bloom&#8221; mode provides ultra-precise padding.</p>
<p>What browsers does it work on?</p>
<p>jQSlickWrap requires that your browser support HTML 5&#8217;s element, and in particular it needs to have support for the toDataURL() function on canvases (meaning it won&#8217;t work with excanvas, for now). jQSlickWrap is known to work on the following browsers:</p>
<p>    * Mozilla Firefox 3.5+<br />
    * Google Chrome<br />
    * Apple Safari 4+</p>
<p>If you happen to know that it works on additional browsers, let me know on twitter.<br />
How does it work?<br />
Man with a shovel.</p>
<p>Not interested in the nitty gritty low down on how jQSlickWrap works its &#8220;magic&#8221;? Skip ahead to the examples.</p>
<p>As stated in the features list above, jQSlickWrap implements a client-side version of the Sliced and Diced Sandbags method of wrapping text around an irregularly-shaped object (all bundled in a nice tidy jQuery plugin, of course).</p>
<p>To do this, it needs to have access to the individual pixels of the images it&#8217;s operating on &#8212; which is why for jQSlickWrap to work, you need to have a browser that supports HTML 5&#8217;s new element.<br />
Here&#8217;s an overview of the algorithm:</p>
<p>   1. If necessary, pre-load the image.<br />
   2. Determine the CSS styles for the image (float and padding).<br />
   3. Create a element and set its dimensions to the size of the image plus its padding.<br />
   4. Draw the image onto the canvas in the top-left location.<br />
   5. Figure out the &#8220;background&#8221; color of the image by examining the pixel data at the top-left corner of the image.<br />
   6. Fill the < c anvas> with this background color.<br />
   7. Re-draw the image contents onto the < c anvas>, but now in the correct location as specified by its padding.<br />
   8. Iterate through the image to find the &#8220;edge&#8221; of the image&#8217;s contents at each row &#8211; save this width. (the size of a row is defined to be the resolution in the settings to a call to slickWrap).<br />
   9. Using the widths collected in the previous step, generate < div > elements of those sizes.<br />
  10. Float the < div>s to the correct side, and set their clear style to the same side.<br />
  11. Set the background-image to a non-repeating image described by a call to canvas.toDataURL() for the original&#8217;s containing element.<br />
  12. Hide the original image.<br />
<strong>Basic SlickWrapping</strong><br />
All you need to SlickWrap your images is to call the slickWrap function on the results of a jQuery query:</p>
<pre class="brush: javascript">
&lt;html&gt;
    &lt;head&gt;
        &lt;title&gt;jQSlickWrap Demo 1&lt;/title&gt;
        &lt;script src=&quot;./jquery-1.3.2.min.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
        &lt;script src=&quot;./jquery.slickwrap.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
        &lt;style type=&quot;text/css&quot;&gt;
            .wrapReady {
                float: left;
            }
        &lt;/style&gt;
        &lt;script type=&quot;text/javascript&quot; charset=&quot;UTF-8&quot;&gt;
            $(document).ready(function(){
                $(&#039;.wrapReady&#039;).slickWrap();
            });
        &lt;/script&gt;
    &lt;/head&gt;
    &lt;body&gt;
        &lt;img src=&quot;./myImage.jpg&quot; class=&quot;wrapReady&quot; /&gt;
        &lt;p&gt;Lots of text goes here..&lt;/p&gt;
    &lt;/body&gt;
&lt;/html&gt;</pre>
<p>Note: the images selected by the query should have some sort of float styling applied to them. Either float: right or float: left</p>
<p><strong>SlickWrapping With Style</strong><br />
jQSlickWrap is capable of figuring out what kind of padding you want to use when you SlickWrap an image by looking at each image&#8217;s styling. Just make sure you&#8217;ve got the padding css style on your image:</p>
<pre class="brush: javascript">
&lt;html&gt;
    &lt;head&gt;
        &lt;title&gt;jQSlickWrap Demo 2&lt;/title&gt;
        &lt;script src=&quot;./jquery-1.3.2.min.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
        &lt;script src=&quot;./jquery.slickwrap.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
        &lt;style type=&quot;text/css&quot;&gt;
            .wrapReady {
                float: left;
                padding: 30px;
            }
        &lt;/style&gt;
        &lt;script type=&quot;text/javascript&quot; charset=&quot;UTF-8&quot;&gt;
            $(document).ready(function(){
                $(&#039;.wrapReady&#039;).slickWrap();
            });
        &lt;/script&gt;
    &lt;/head&gt;
    &lt;body&gt;
        &lt;img src=&quot;./myImage.jpg&quot; class=&quot;wrapReady&quot; /&gt;
        &lt;p&gt;Lots of text goes here..&lt;/p&gt;
    &lt;/body&gt;
&lt;/html&gt;
</pre>
<p><strong>Specifying Settings</strong><br />
In addition to being able interpret some settings from the CSS styling on image elements, it is also possible to specify several other settings to customize the way SlickWrapping will be done.<br />
Settings:</p>
<p>   1. bgColor &#8211; The background color to use when examining the contents of the images resulting from a query. If no value is given, jQSlickWrap will try to determine the background color of the image from the image&#8217;s top-left pixel.<br />
   2. cutoff &#8211; The maximum allowable &#8220;distance&#8221; between a pixel&#8217;s color and the background color that will qualify that pixel as being considered as part of the background. Defaults to 5.<br />
   3. resolution &#8211; The height of the<br />
 elements to be created. Default value is 20.<br />
   4. bloomPadding &#8211; Whether or not to use the advanced &#8220;bloom&#8221; algorithm to calculate precise padding distances. This is very slow in the current version, so the default value is false.</p>
<pre class="brush: javascript">
&lt;html&gt;
    &lt;head&gt;
        &lt;title&gt;jQSlickWrap Demo 3&lt;/title&gt;
        &lt;script src=&quot;./jquery-1.3.2.min.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
        &lt;script src=&quot;./jquery.slickwrap.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
        &lt;style type=&quot;text/css&quot;&gt;
            .wrapReady {
                float: left;
                padding: 30px;
            }
        &lt;/style&gt;
        &lt;script type=&quot;text/javascript&quot; charset=&quot;UTF-8&quot;&gt;
            $(document).ready(function(){
                $(&#039;.wrapReady&#039;).slickWrap({
                    bgColor: {              // use red as the background color
                        r: 255,
                        g: 0,
                        b: 0,
                        a: 255
                    },
                    cutoff: 10,             // let there be a tolerance of 10
                    resolution: 15,         // create
s of height 15
                    bloomPadding: false     // let&#039;s not use bloom
                });
            });
        &lt;/script&gt;
    &lt;/head&gt;
    &lt;body&gt;
        &lt;img src=&quot;./myImage.jpg&quot; class=&quot;wrapReady&quot; /&gt;
        &lt;p&gt;Lots of text goes here..&lt;/p&gt;
    &lt;/body&gt;
&lt;/html&gt;
</pre>
<p>Demo: <a href="http://jwf.us/projects/jQSlickWrap/example3.html" target="_blank">http://jwf.us/projects/jQSlickWrap/example3.html</a><br />
Download: <a href="http://code.google.com/p/jqslickwrap/downloads/detail?name=jquery.slickwrap.min.js" target="_blank">http://code.google.com/p/jqslickwrap/downloads/detail?name=jquery.slickwrap.min.js</a><br />
Source: <a href="http://jwf.us/projects/jQSlickWrap/" target="_blank">http://jwf.us/projects/jQSlickWrap/</a></p>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fwww.ajaxupdates.com%2Fwrap-content-around-images-jqslickwrap%2F', 'Wrap+Content+Around+Images%3A+jQSlickWrap')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fwww.ajaxupdates.com%2Fwrap-content-around-images-jqslickwrap%2F', title: '+Wrap+Content+Around+Images%3A+jQSlickWrap+' })"/></div>

<p>Related Listings:<ol><li><a href='http://www.ajaxupdates.com/making-a-slick-content-slider/' rel='bookmark' title='Permanent Link: Making A Slick Content Slider'>Making A Slick Content Slider</a> <small>Introduction Web masters constantly search for ways to optimize the...</small></li>
<li><a href='http://www.ajaxupdates.com/tabbed-content-area-jquery-plugin/' rel='bookmark' title='Permanent Link: Tabbed Content Area : jQuery Plugin'>Tabbed Content Area : jQuery Plugin</a> <small>One of the biggest challenge to web designers is finding...</small></li>
<li><a href='http://www.ajaxupdates.com/lights-out-dimming-covering-background-content-with-jquery/' rel='bookmark' title='Permanent Link: Lights Out &#8211; Dimming &#8211; Covering Background Content with jQuery'>Lights Out &#8211; Dimming &#8211; Covering Background Content with jQuery</a> <small>This is a quick and easy approach that tackles a...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.ajaxupdates.com/wrap-content-around-images-jqslickwrap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bumpbox &#8211; Images, Html files, Flv Videos, Swf files and PDFs &#8211; Lightbox</title>
		<link>http://www.ajaxupdates.com/bumpbox-images-html-files-flv-videos-swf-files-and-pdfs-lightbox/</link>
		<comments>http://www.ajaxupdates.com/bumpbox-images-html-files-flv-videos-swf-files-and-pdfs-lightbox/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 17:49:07 +0000</pubDate>
		<dc:creator>alyaspk</dc:creator>
				<category><![CDATA[Ajax LightBox]]></category>
		<category><![CDATA[Ajax Scripts]]></category>
		<category><![CDATA[MooTools]]></category>
		<category><![CDATA[adobe pdf lightbox]]></category>
		<category><![CDATA[bumpbox]]></category>
		<category><![CDATA[flash lightbox]]></category>
		<category><![CDATA[html and media lightbox]]></category>
		<category><![CDATA[image lightbox]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[lightbox]]></category>
		<category><![CDATA[pdf]]></category>
		<category><![CDATA[pdf lightbox]]></category>

		<guid isPermaLink="false">http://www.ajaxupdates.com/?p=3740</guid>
		<description><![CDATA[Bumpbox &#8211; Images, Html files, Flv Videos, Swf files and PDFs &#8211; Lightbox
Bumpbox is another lightbox clone with a few advantages over other lightboxes &#8211; it supports not only all common media types but also PDF&#8217;s.
Yet, the integration and implementation on your own site is pretty simple. Just add the scripts to your head section, [...]


Related Listings:<ol><li><a href='http://www.ajaxupdates.com/videobox-lightbox-for-videos/' rel='bookmark' title='Permanent Link: Videobox: Lightbox for videos'>Videobox: Lightbox for videos</a> <small>Videobox is a 6kb script, which shows your videos in...</small></li>
<li><a href='http://www.ajaxupdates.com/moosocialize-bookmarks-widget/' rel='bookmark' title='Permanent Link: mooSocialize &#8211; Bookmarks Widget'>mooSocialize &#8211; Bookmarks Widget</a> <small>Based on ajax, this small widget allows to integrate many...</small></li>
<li><a href='http://www.ajaxupdates.com/moomessagebox-image-box-for-lighbox/' rel='bookmark' title='Permanent Link: MooMessageBox &#8211; Image Box for Lighbox'>MooMessageBox &#8211; Image Box for Lighbox</a> <small>If you want to display a customized image box like...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><strong>Bumpbox &#8211; Images, Html files, Flv Videos, Swf files and PDFs &#8211; Lightbox</strong><br />
<strong>Bumpbox</strong> is another lightbox clone with a few advantages over other lightboxes &#8211; it supports not only all common media types but also PDF&#8217;s.</p>
<p>Yet, the integration and implementation on your own site is pretty simple. Just add the scripts to your head section, add classes to your links that should use bumpbox, define a rel tag with the size that the bumpbox should have and you&#8217;re ready to roll.</p>
<p>Bumpbox automatically detects what kind of filetype you wish to show in the box, so you do not need to specify the type, easing the process of integration.<br />
<strong><br />
Basic Steps:</strong></p>
<p>Copy the images to your root folder or adapt the image paths in the bumpbox.js according to your folder settings</p>
<p>Place the included mootools12.js, the bumpbox.js and &#8211; in case you want to use flv files, the flowplayer.min.js as well as the flowplayer.swf and flowplayer.controls.swf into your document root.</p>
<p>If your paths differ, adapt the paths inside the bumpbox.js to your directory structure.</p>
<p>Open the page you want bumpbox to be used. Now add these lines to the head section of your site:</p>
<pre class="brush: html">
   &lt;head&gt;
    &lt;script language=&quot;javascript&quot; type=&quot;text/ecmascript&quot; src=&quot;js/mootools12.js&quot;&gt;&lt;/script&gt;
    &lt;script language=&quot;javascript&quot; type=&quot;text/ecmascript&quot; src=&quot;bumpbox.js&quot;&gt;&lt;/script&gt;
    &lt;/head&gt;</pre>
<p>How to modify your links to use bumpbox:</p>
<pre class="brush: html">
&lt;a href=&quot;linkToYourContent&quot; class=&quot;bumpbox&quot; rel=&quot;640x480&quot; title=&quot;yourTitle&quot; /&gt;Show me</pre>
<p><strong>Explanation:</strong></p>
<p>rel = &#8220;&#8221; this is used to specify the size of the bumpbox window.</p>
<p>class=&#8221;bumpbox&#8221; tell the script to check which links should use the bumpbox function.</p>
<p><!--adsense--></p>
<p>Demo: <a href="http://www.artviper.net/bumpbox.php">http://www.artviper.net/bumpbox.php</a><br />
Download:<a href="http://www.artviper.net/download/bumpbox.rar">http://www.artviper.net/download/bumpbox.rar</a><br />
Source: <a href="http://www.artviper.net/bumpbox.php">http://www.artviper.net/bumpbox.php</a></p>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fwww.ajaxupdates.com%2Fbumpbox-images-html-files-flv-videos-swf-files-and-pdfs-lightbox%2F', 'Bumpbox+%26%238211%3B+Images%2C+Html+files%2C+Flv+Videos%2C+Swf+files+and+PDFs+%26%238211%3B+Lightbox')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fwww.ajaxupdates.com%2Fbumpbox-images-html-files-flv-videos-swf-files-and-pdfs-lightbox%2F', title: '+Bumpbox+%26%238211%3B+Images%2C+Html+files%2C+Flv+Videos%2C+Swf+files+and+PDFs+%26%238211%3B+Lightbox+' })"/></div>

<p>Related Listings:<ol><li><a href='http://www.ajaxupdates.com/videobox-lightbox-for-videos/' rel='bookmark' title='Permanent Link: Videobox: Lightbox for videos'>Videobox: Lightbox for videos</a> <small>Videobox is a 6kb script, which shows your videos in...</small></li>
<li><a href='http://www.ajaxupdates.com/moosocialize-bookmarks-widget/' rel='bookmark' title='Permanent Link: mooSocialize &#8211; Bookmarks Widget'>mooSocialize &#8211; Bookmarks Widget</a> <small>Based on ajax, this small widget allows to integrate many...</small></li>
<li><a href='http://www.ajaxupdates.com/moomessagebox-image-box-for-lighbox/' rel='bookmark' title='Permanent Link: MooMessageBox &#8211; Image Box for Lighbox'>MooMessageBox &#8211; Image Box for Lighbox</a> <small>If you want to display a customized image box like...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.ajaxupdates.com/bumpbox-images-html-files-flv-videos-swf-files-and-pdfs-lightbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mParallax &#8211; Mootools Plugin</title>
		<link>http://www.ajaxupdates.com/mparallax-mootools-plugin/</link>
		<comments>http://www.ajaxupdates.com/mparallax-mootools-plugin/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 18:06:06 +0000</pubDate>
		<dc:creator>alyaspk</dc:creator>
				<category><![CDATA[Ajax Animation]]></category>
		<category><![CDATA[Ajax Scripts]]></category>
		<category><![CDATA[MooTools]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[carousel.us]]></category>
		<category><![CDATA[Image]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[moo]]></category>
		<category><![CDATA[moo parallax]]></category>
		<category><![CDATA[mparallax]]></category>
		<category><![CDATA[mrotate]]></category>
		<category><![CDATA[paralax]]></category>
		<category><![CDATA[parallax]]></category>
		<category><![CDATA[piksite]]></category>
		<category><![CDATA[prototype.js]]></category>
		<category><![CDATA[Scriptaculous]]></category>

		<guid isPermaLink="false">http://www.ajaxupdates.com/?p=3602</guid>
		<description><![CDATA[mParallax is an adaptation for MooTools framework of jParallax whose its author, Stephen Band, describes it like &#8220;jParallax turns a selected element into a &#8216;window&#8217;, or viewport, and all its children into absolutely positioned layers that can be seen through the viewport. These layers move in response to the mouse, and, depending on their dimensions [...]


Related Listings:<ol><li><a href='http://www.ajaxupdates.com/jparallax-stunning-animation-effects/' rel='bookmark' title='Permanent Link: jParallax &#8211; Stunning Animation Effects'>jParallax &#8211; Stunning Animation Effects</a> <small>jParallax has had a major overhaul in readiness to be...</small></li>
<li><a href='http://www.ajaxupdates.com/mootools-table-plugin/' rel='bookmark' title='Permanent Link: MooTools Table Plugin'>MooTools Table Plugin</a> <small>MooTables are created from standard html tables, they degrade nicely....</small></li>
<li><a href='http://www.ajaxupdates.com/imagecaption-a-mootools-plugin-for-auto-captioning-images/' rel='bookmark' title='Permanent Link: ImageCaption &#8211; a MooTools Plugin for Auto-Captioning Images'>ImageCaption &#8211; a MooTools Plugin for Auto-Captioning Images</a> <small>ImageCaption is a MooTools 1.2+ plugin for easily adding figure...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>mParallax is an adaptation for MooTools framework of jParallax whose its author, Stephen Band, describes it like &#8220;jParallax turns a selected element into a &#8216;window&#8217;, or viewport, and all its children into absolutely positioned layers that can be seen through the viewport. These layers move in response to the mouse, and, depending on their dimensions (and options for layer initialisation), they move by different amounts, in a parallaxy kind of way&#8221;.</p>
<p><strong>How to use ?</strong></p>
<pre class="brush: javascript">new mParallax(myElement [, options]);</pre>
<p>      Do not forget to declare the doctype !<br />
      You can also easily add rounded corners on your parallaxed element by creating img elements and injecting them with the adopt() function.<br />
      If you use .png images, you can use the fixPNG() function on your parallax element in order to get transparency on IE6. ( i.e : fixPNG($(&#8216;myElement&#8217;)); )<br />
<strong>Documentation:</strong><br />
Here are the several class options :</p>
<pre class="brush: javascript"> new mParallax($(&#039;parallax&#039;),{triggers:$$(&#039;a.goto&#039;),triggerExposesEdges: true});  </pre>
<p>mouseResponse	(boolean) true<br />
mouseport	($(&#8216;element&#8217;)) same as parallaxed element<br />
triggers	(array) elements on which to add triggered events<br />
triggerResponse	(boolean) true<br />
triggerExposesEdges	(boolean) true<br />
takeoverFactor	(0-1) 0.68<br />
takeoverThresh	(0-1) 0.002<br />
frameDuration	milliseconds 25<br />
xparallax	(boolean) true<br />
yparallax	(boolean) true<br />
xorigin	(&#8216;left&#8217; | &#8216;centre&#8217;, &#8216;center&#8217;, &#8216;middle&#8217; | &#8216;right&#8217; | 0-1) &#8216;centre&#8217;<br />
yorigin	(&#8216;top&#8217; | &#8216;centre&#8217;, &#8216;center&#8217;, &#8216;middle&#8217; | &#8216;bottom&#8217; | 0-1) &#8216;centre&#8217;</p>
<p><!--adsense--><br />
Demo:
<ul>
<li><a title="Basic demos" href="http://www.piksite.com/mParallax/demos/demos_basic.html">Basic demo</a></li>
<li><a title="Type demos" href="http://www.piksite.com/mParallax/demos/demos_type.html">Type demo</a></li>
<li><a title="Target demos" href="http://www.piksite.com/mParallax/demos/demos_target.html">Target demo</a></li>
</ul>
<p>Download: <a href="http://www.piksite.com/downloads/mParallax.zip">http://www.piksite.com/downloads/mParallax.zip</a><br />
Source:<a href="http://www.piksite.com/mParallax/">http://www.piksite.com/mParallax/</a></p>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fwww.ajaxupdates.com%2Fmparallax-mootools-plugin%2F', 'mParallax+%26%238211%3B+Mootools+Plugin')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fwww.ajaxupdates.com%2Fmparallax-mootools-plugin%2F', title: '+mParallax+%26%238211%3B+Mootools+Plugin+' })"/></div>

<p>Related Listings:<ol><li><a href='http://www.ajaxupdates.com/jparallax-stunning-animation-effects/' rel='bookmark' title='Permanent Link: jParallax &#8211; Stunning Animation Effects'>jParallax &#8211; Stunning Animation Effects</a> <small>jParallax has had a major overhaul in readiness to be...</small></li>
<li><a href='http://www.ajaxupdates.com/mootools-table-plugin/' rel='bookmark' title='Permanent Link: MooTools Table Plugin'>MooTools Table Plugin</a> <small>MooTables are created from standard html tables, they degrade nicely....</small></li>
<li><a href='http://www.ajaxupdates.com/imagecaption-a-mootools-plugin-for-auto-captioning-images/' rel='bookmark' title='Permanent Link: ImageCaption &#8211; a MooTools Plugin for Auto-Captioning Images'>ImageCaption &#8211; a MooTools Plugin for Auto-Captioning Images</a> <small>ImageCaption is a MooTools 1.2+ plugin for easily adding figure...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.ajaxupdates.com/mparallax-mootools-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Leopard Desktop jQuery Plugin</title>
		<link>http://www.ajaxupdates.com/leopard-desktop-jquery-plugin/</link>
		<comments>http://www.ajaxupdates.com/leopard-desktop-jquery-plugin/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 16:59:25 +0000</pubDate>
		<dc:creator>alyaspk</dc:creator>
				<category><![CDATA[Ajax LightBox]]></category>
		<category><![CDATA[Ajax Scripts]]></category>
		<category><![CDATA[Jquery Script]]></category>
		<category><![CDATA[desktop jquery]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[javascript & ajax]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[jquery leopard plugin]]></category>
		<category><![CDATA[leapard plugin]]></category>
		<category><![CDATA[li]]></category>
		<category><![CDATA[Lt]]></category>
		<category><![CDATA[lt span]]></category>
		<category><![CDATA[Span]]></category>
		<category><![CDATA[Widget]]></category>
		<category><![CDATA[Widgets]]></category>

		<guid isPermaLink="false">http://www.ajaxupdates.com/?p=2690</guid>
		<description><![CDATA[A neat looking Dashboard/Desktop. You guys are gonna totally FLIP when you hear what&#8217;s in this jam packed tutorial! More focus on the Dashboard (I swear it&#8217;s cooler than it sounds, and requires a lot of code), and I&#8217;ll even go into how to create a stack (seperate from the dock, sorry jqDock doesn&#8217;t like [...]


Related Listings:<ol><li><a href='http://www.ajaxupdates.com/tabbed-content-area-jquery-plugin/' rel='bookmark' title='Permanent Link: Tabbed Content Area : jQuery Plugin'>Tabbed Content Area : jQuery Plugin</a> <small>One of the biggest challenge to web designers is finding...</small></li>
<li><a href='http://www.ajaxupdates.com/jquery-slider-to-control-text-size/' rel='bookmark' title='Permanent Link: jQuery Slider to control Text Size'>jQuery Slider to control Text Size</a> <small>JQuery&#8217;s UI can add so much to a web page....</small></li>
<li><a href='http://www.ajaxupdates.com/dynamic-poll-with-jquery/' rel='bookmark' title='Permanent Link: Dynamic Poll with jQuery'>Dynamic Poll with jQuery</a> <small>When you combine some neat functionality courtesy of PHP with...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>A neat looking Dashboard/Desktop. You guys are gonna totally FLIP when you hear what&#8217;s in this jam packed tutorial! More focus on the Dashboard (I swear it&#8217;s cooler than it sounds, and requires a lot of code), and I&#8217;ll even go into how to create a stack (seperate from the dock, sorry jqDock doesn&#8217;t like nestled
<ul>s), and some extra little bits to make it all click.</p>
<p>Preface</p>
<p>As with the previous tutorial, I must note this disclaimer! I don&#8217;t own any of the images used in this tutorial, nor do you. They are copyright to their vendors, whether it be Apple, inc, Adobe, etc. Using icons is a bit of an integrity issue, so don&#8217;t abuse it!</p>
<p>Secondly, a new jQuery.UI file will replace the draggable js file. This is basically all the interaction packs. Download jQuery.UI code. You&#8217;ll also need the final product of last week&#8217;s tutorial! Make sure you expand that into it&#8217;s own directory! We&#8217;ll be adding onto that. A whole lot if images are needed too. New Images. Make sure you expand that zip into the &#8216;images&#8217; directory, so that any new folders are merged with their counter parts from last week. I apologise for the confusion with this. Stupid file structure, my bad. So. Files that need adding:</p>
<p>    * jQuery.ui package<br />
    * Last week&#8217;s code (If you didn&#8217;t follow it)<br />
    * All new images needed. (A few widgets and widget thumbs, so merge the folder rather than replacing!)</p>
<p>Just the same, the jQuery.ui links need editing.</p>
<pre class="brush: javascript">&lt;script src=&quot;js/jquery.ui.interaction.min.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;</pre>
<p>Plan of Attack</p>
<p>Though it might not look like it, a whole lot of code is needed for these few things:</p>
<p>   1. Stacks<br />
   2. Dashboard<br />
         1. Opening/Closing the Adding Widgets Panel<br />
         2. Dragging Widgets onto the Dashboard list<br />
         3. Closing Widgets<br />
   3. Some extra bits (improving dock, adding desktop items)</p>
<p>Changes</p>
<p>Just before we start, I really do apologise, but there were a few things that needed changing from last week. the #dock css should read:</p>
<pre class="brush: css">#dock{
	position: fixed;
	margin: 0 auto;
	bottom: 38px;
	left: 40%;
	z-index: 0;
	list-style: none;
}</pre>
<p>The #closeZone&#8217;s zIndex in dashboard.js on line 24 should be 99 not 9999<br />
<strong>Step 1 &#8211; Stacks</strong></p>
<p>So lets dive right into it, and start with Stacks. Or more a Stack. Unfortunately due to the way that jqDock works, it&#8217;s impossible to nestle stacks within the jqDock without editing the core js, which is much further than this tutorial intends. So instead, we&#8217;ll be creating a stack to the bottom right of the page. The harder parts of coding stacks is a) the incrementing height for each item, and the curve. Luckily, a loop combined with maths can do this hard work for us.<br />
<img src="http://nettuts.s3.amazonaws.com/082_leopard2/res/stacks_preview.png" alt="" /><br />
<strong>Step 1:1 &#8211; HTML</strong></p>
<p>Lets begin with adding the HTML structure of the stack. Now due to the nature of the stack, if you wish to use it on a different website, you can! Basically anything inline within the < li >s work. The positioning just needs tweaking. Regardless, we use spans (and you could always wrap the images in < a >.</p>
<pre class="brush: html">&lt;div class=&quot;stack&quot;&gt;
	&lt;img src=&quot;http://nettuts.s3.amazonaws.com/082_leopard2/images/stack.png&quot; alt=&quot;stack&quot;/&gt;
	&lt;ul id=&quot;stack1&quot;&gt;
		&lt;li&gt;&lt;span&gt;Acrobat&lt;/span&gt;&lt;img src=&quot;http://nettuts.s3.amazonaws.com/082_leopard2/images/adobeAcrobat.png&quot; alt=&quot;&quot; /&gt;&lt;/li&gt;
		&lt;li&gt;&lt;span&gt;Aperture&lt;/span&gt;&lt;img src=&quot;http://nettuts.s3.amazonaws.com/082_leopard2/images/aperture.png&quot; alt=&quot;&quot; /&gt;&lt;/li&gt;
		&lt;li&gt;&lt;span&gt;Photoshop&lt;/span&gt;&lt;img src=&quot;http://nettuts.s3.amazonaws.com/082_leopard2/images/photoshop.png&quot; alt=&quot;&quot; /&gt;&lt;/li&gt;
		&lt;li&gt;&lt;span&gt;Safari&lt;/span&gt;&lt;img src=&quot;http://nettuts.s3.amazonaws.com/082_leopard2/images/safari.png&quot; alt=&quot;&quot; /&gt;&lt;/li&gt;
		&lt;li&gt;&lt;span&gt;Finder&lt;/span&gt;&lt;img src=&quot;http://nettuts.s3.amazonaws.com/082_leopard2/images/finder.png&quot; alt=&quot;&quot; /&gt;&lt;/li&gt;
	&lt;/ul&gt;
&lt;/div&gt;</pre>
<p>The first image is the folder placeholder. This is what activates the dock, so it&#8217;s necessary. (When we use the jQuery selectors, however, I&#8217;m sure you could use :first to get the first dock item if you /really/ don&#8217;t want a containing basket).<br />
<strong>Step 1:2 &#8211; CSS</strong></p>
<p>Contrary to the first tutorial, I&#8217;m going to include the CSS and jQuery for each step, just so the design doesn&#8217;t muddle up completely. Open up style.css from last week and add to the bottom:</p>
<pre class="brush: css">.stack{
	position: absolute;
	bottom: 0;
	right: 100px;
}

.stack ul{
	list-style: none;
	position: absolute;
	top: -30px;
	z-index: -9;
}

.stack ul li{
	position: absolute;
}

.stack ul li span{
	display: none;
}

/*I&#039;m for the jquery*/
.stack .openStack li span{
	display:block;
	position:absolute;
	top: 17px;
	right:60px;
	height: 14px;
	line-height: 14px;
	border: 0;
	background-color:#000;
	color: #fcfcfc;
	text-align: center;
	opacity: .85;
	padding: 3px 10px;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	opera-border-radius: 10px;
	text-shadow: #000 1px 1px 1px;
}</pre>
<p>Your stack will now look like a closed stack, but you can&#8217;t open it. This just stacks (hah, no pun intended) all the icons on top of each other, so they&#8217;re compressed into a small square. The last selector is for the jQuery. When the stack is opened, the class &#8216;openStack is added to the ul. I apologise to those CSS3 haters, It&#8217;s the fastest most efficient way to get it right in most modern browsers.<br />
<img src="http://nettuts.s3.amazonaws.com/082_leopard2/res/stackCSS.png" alt="" /><br />
<strong>Step 1:3 &#8211; jQuery</strong></p>
<p>In plain english, the stack needs to open when the img is clicked, pushing each (hint&#8230;) li up in incrememnts, and to the right a little, whilst resizing to a smaller size. Then when clicked again, everything returns to normal.</p>
<pre class="brush: javascript">$(&#039;.stack&gt;img&#039;).toggle(function(){
	//this function, for each element increases the top position to by 50px,
	//and across using, the equation: value = (value+1)*2. Both variables
	//start at 0.

}, function(){
	//this one just reverses the above.

});</pre>
<p>The second function is easy, but the first is a pain.</p>
<pre class="brush: javascript">var vertical = 0;
var horizontal = 0;
$(&#039;~ul&gt;li&#039;this).each(function(){
	$(this).animate({top: &#039;-&#039; +vertical + &#039;px&#039;, left: horizontal + &#039;px&#039;}, 300);
	vertical = vertical + 50;
	horizontal = (horizontal+1)*2;
});
$(&#039;~ul&#039;, this).animate({top: &#039;-50px&#039;, left: &#039;10px&#039;}, 300).addClass(&#039;openStack&#039;);
$(&#039;~ul&gt;li&gt;img&#039;, this).animate({width: &#039;50px&#039;, marginLeft: &#039;9px&#039;}, 300);</pre>
<p>Woo, jampacked with string interrupting, variables and math. Interesting selectors, huh? The ~ is &#8217;siblings of&#8217; Erg. Math. Let me explain. The first 2 variables are for the vertical position and the horizontal position (curve).</p>
<p>Top incrementing is the same each time, where as unless you want a horizontal straight line, each horizontal position has to be slightly more than the rest. In this case, it increases by the previous number plus one, times 2. so it&#8217;ll go 2, 6, 14, 30, 62, 126, etc. I know they&#8217;re weird numbers, but it works. Use any equation you like!</p>
<p>The &#8216;each&#8217; function is similar to, say a WordPress loop. This function happens every time the next element is used. The equation &#8216;value = (value+1)*2&#8242;, means &#8216;new value equals old value plus one, then this times two.</p>
<p>The first animate line adds the variables (within the plus) every time it&#8217;s looped via string splitting. The last two lines are just the size. The other half of the toggle function, just resets everything back to normal:</p>
<pre class="brush: javascript">$(&#039;~ul&#039;, this).removeClass(&#039;openStack&#039;).children(&#039;li&#039;).animate({top: &#039;20px&#039;, left: &#039;-10px&#039;}, 300);
$(&#039;~ul&gt;li&gt;img&#039;, this).animate({width: &#039;79px&#039;, marginLeft: &#039;0&#039;}, 300);</pre>
<p>Simple! Now your jQuery stacks will successfully animate, even curving! Unfortunately rotation is a tad more difficult. Though when HTML5 comes out in 2022 (-_-) the canvas tag might have full support for that.<br />
<img src="http://nettuts.s3.amazonaws.com/082_leopard2/res/stacks_preview.png" alt="" /></ul>
<p><!--adsense--><br />
Demo: <a href="http://nettuts.s3.amazonaws.com/082_leopard2/preview/index.html">http://nettuts.s3.amazonaws.com/082_leopard2/preview/index.html</a><br />
Download: <a href="http://nettuts.s3.amazonaws.com/082_leopard2/source.zip">http://nettuts.s3.amazonaws.com/082_leopard2/source.zip</a><br />
Source: <a href="http://net.tutsplus.com/tutorials/javascript-ajax/adding-to-our-leopard-desktop-with-jquery/">http://net.tutsplus.com/tutorials/javascript-ajax/adding-to-our-leopard-desktop-with-jquery/</a></p>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fwww.ajaxupdates.com%2Fleopard-desktop-jquery-plugin%2F', 'Leopard+Desktop+jQuery+Plugin')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fwww.ajaxupdates.com%2Fleopard-desktop-jquery-plugin%2F', title: '+Leopard+Desktop+jQuery+Plugin+' })"/></div>

<p>Related Listings:<ol><li><a href='http://www.ajaxupdates.com/tabbed-content-area-jquery-plugin/' rel='bookmark' title='Permanent Link: Tabbed Content Area : jQuery Plugin'>Tabbed Content Area : jQuery Plugin</a> <small>One of the biggest challenge to web designers is finding...</small></li>
<li><a href='http://www.ajaxupdates.com/jquery-slider-to-control-text-size/' rel='bookmark' title='Permanent Link: jQuery Slider to control Text Size'>jQuery Slider to control Text Size</a> <small>JQuery&#8217;s UI can add so much to a web page....</small></li>
<li><a href='http://www.ajaxupdates.com/dynamic-poll-with-jquery/' rel='bookmark' title='Permanent Link: Dynamic Poll with jQuery'>Dynamic Poll with jQuery</a> <small>When you combine some neat functionality courtesy of PHP with...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.ajaxupdates.com/leopard-desktop-jquery-plugin/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Product highlight : Mootools</title>
		<link>http://www.ajaxupdates.com/product-highlight-mootools/</link>
		<comments>http://www.ajaxupdates.com/product-highlight-mootools/#comments</comments>
		<pubDate>Sun, 13 Sep 2009 05:17:42 +0000</pubDate>
		<dc:creator>alyaspk</dc:creator>
				<category><![CDATA[Ajax Scripts]]></category>
		<category><![CDATA[Layouts]]></category>
		<category><![CDATA[MooTools]]></category>
		<category><![CDATA[Bubble]]></category>
		<category><![CDATA[Bubbles]]></category>
		<category><![CDATA[Div]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[javascript & ajax]]></category>
		<category><![CDATA[Lt]]></category>
		<category><![CDATA[lt div]]></category>
		<category><![CDATA[moo produc images]]></category>
		<category><![CDATA[page]]></category>
		<category><![CDATA[product highlight]]></category>
		<category><![CDATA[product image]]></category>

		<guid isPermaLink="false">http://www.ajaxupdates.com/?p=2661</guid>
		<description><![CDATA[Believe it or not, there&#8217;s a lot of powerful interactivity you can bring to your site using javascript besides slick navigation menus! This tutorial will help you find your inner cow by introducing you to one of the most powerful and modular javascript libraries—MooTools! We&#8217;ll be creating a flexible tool for highlighting your sites products [...]


Related Listings:<ol><li><a href='http://www.ajaxupdates.com/page-peel-effect-using-mootools/' rel='bookmark' title='Permanent Link: Page Peel Effect Using MooTools'>Page Peel Effect Using MooTools</a> <small>A great script back in May titled Simple Page Peel...</small></li>
<li><a href='http://www.ajaxupdates.com/imagecaption-a-mootools-plugin-for-auto-captioning-images/' rel='bookmark' title='Permanent Link: ImageCaption &#8211; a MooTools Plugin for Auto-Captioning Images'>ImageCaption &#8211; a MooTools Plugin for Auto-Captioning Images</a> <small>ImageCaption is a MooTools 1.2+ plugin for easily adding figure...</small></li>
<li><a href='http://www.ajaxupdates.com/dynamic-text-effects-mootools/' rel='bookmark' title='Permanent Link: Dynamic Text Effects &#8211; MooTools'>Dynamic Text Effects &#8211; MooTools</a> <small>Dynamic text effects (fade ins, moving text, etc.) can enhance...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Believe it or not, there&#8217;s a lot of powerful interactivity you can bring to your site using javascript besides slick navigation menus! This tutorial will help you find your inner cow by introducing you to one of the most powerful and modular javascript libraries—MooTools! We&#8217;ll be creating a flexible tool for highlighting your sites products or services using the MooTools javascript framework. Also, learn some of the many reasons why MooTools just might be the right javascript library for all of your future projects!</p>
<p>I know what you&#8217;re thinking&#8230; What could MooTools possibly have to offer that might cause me to break off my long-standing relationship with jQuery—Or Prototype and Scriptaculous for that matter!</p>
<p>One of the biggest problems I&#8217;ve ran into with using jQuery in the past, is the fact that so many of their plugins are created and developed independently—which MEANS, you&#8217;re placing your trust in a stranger to be actively updating their plugin as the jQuery library continues to release newer and newer versions as well. When this fails (and often times it does) you&#8217;ll find yourself searching for the proper version of the core library that&#8217;ll allow your script to function correctly!</p>
<p>Maybe Prototype and its well known partner in crime, Scriptaculous, are more your style. In this particular case you&#8217;ll be deprived of your right of modularity, and you&#8217;re forced to include two beefy sized libraries on all of your pages—or in some cases a plugin file as well!</p>
<p>So if MooTools is so great then&#8230; why isn&#8217;t it used more? Why aren&#8217;t there gazillions of tutorials and books on every library shelf?! There&#8217;s a handful of reasons:</p>
<p>   1. MooTools is geared more towards the intermediate to advanced scripter.<br />
   2. You won&#8217;t find collections of cut and paste plugins that allow for immediate implementation.<br />
   3. MooTools users are (for whatever reason) associated with having an elitest disposition.</p>
<p>However, you will find ample tools for working with more unique areas of scripting, like JSON file parsing, cookies, and flash embedding to name a few. Also, a convenient download page that lets you choose exactly what you need for your project so you can ensure the smallest file size possible.</p>
<p><strong>Usage:</strong><br />
<strong>Step 1 &#8211; Get MooTools!</strong></p>
<p>Head over to the MooTools Core Builder page! For this particular project, you&#8217;ll want to select Fx.Morph, Element.Event, DomReady, and Selectors and hit &#8220;Download&#8221; using YUI Compressor. All dependencies are automatically chosen for you. Be mindful, as certain browsers will add a &#8216;.txt&#8217; extension to a javascript file for your protection. This will obviously need to be removed, and feel free to trim off some of the beefy characters in the file name.<br />
<strong>Step 2 &#8211; Attach MooTools to your HTML document</strong></p>
<p>Create the HTML document you&#8217;ll be using for this project, and attach the MooTools library. My page head looks something like this:</p>
<pre class="brush: html">	&lt;head&gt;
	&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;
	&lt;title&gt;Mootools - Product Highlights!&lt;/title&gt;

	&lt;script src=&quot;mootools.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;

	...

	&lt;/head&gt;
</pre>
<p><strong>Step 3 &#8211; Lay down your CSS and HTML</strong></p>
<p>Take a look at the following styles and HTML to see how I&#8217;ve laid out the page.</p>
<pre class="brush: css">&lt;style type=&quot;text/css&quot; media=&quot;screen&quot;&gt;
	body {
		margin: 0;
		padding: 0;
		background: #1a1613 url(images/bg_tutBody.gif) repeat-x;
	}
	img { border: 0; }

	#siteWrap { /* The wrapper for my page icons and bubbles */
		margin: 287px auto 0 auto;
		width: 642px;
		height: 345px;
		position: relative;
		background: transparent url(images/bg_pageWrap.jpg) no-repeat top left;
	}

	#pageWrap { /* Wrapper for my page icons */
		position: absolute;
		z-index: 5;
		top: 138px;
		left: 134px;
	}
	/* Page specific styles */
	#psdPage {
		margin-right: 19px;
		float: left;
		cursor: pointer;
	}
	#netPage {
		margin-right: 20px;
		float: left;
		cursor: pointer;
	}
	#audioPage {
		float: left;
		cursor: pointer;
	}
	#bubbleWrap { /* Wrapper for my bubbles */
		position: absolute;
		z-index: 10;
		left: 158px;
		top: 30px;
	}
	.bubble {
		position: absolute;
	}
&lt;/style&gt;
</pre>
<p><strong>HTML code:</strong></p>
<pre class="brush: html">&lt;div id=&quot;siteWrap&quot;&gt;
	&lt;div id=&quot;bubbleWrap&quot; style=&quot;visibility: hidden;&quot;&gt;
		&lt;div class=&quot;bubble&quot;&gt;&lt;img src=&quot;images/bubble_PSD.jpg&quot; alt=&quot;PSDTUTS&quot; /&gt;&lt;/div&gt;
		&lt;div class=&quot;bubble&quot;&gt;&lt;img src=&quot;images/bubble_NET.jpg&quot; alt=&quot;NETTUTS&quot; /&gt;&lt;/div&gt;
		&lt;div class=&quot;bubble&quot;&gt;&lt;img src=&quot;images/bubble_AUDIO.jpg&quot; alt=&quot;AUDIOTUTS&quot; /&gt;&lt;/div&gt;
	&lt;/div&gt;

	&lt;div id=&quot;pageWrap&quot;&gt;
		&lt;div class=&quot;page&quot; id=&quot;psdPage&quot;&gt;&lt;a href=&quot;#&quot;&gt;&lt;img src=&quot;images/page_PSD.jpg&quot; alt=&quot;PSDTUTS&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
		&lt;div class=&quot;page&quot; id=&quot;netPage&quot;&gt;&lt;a href=&quot;#&quot;&gt;&lt;img src=&quot;images/page_NET.jpg&quot; alt=&quot;NETTUTS&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
		&lt;div class=&quot;page&quot; id=&quot;audioPage&quot;&gt;&lt;a href=&quot;#&quot;&gt;&lt;img src=&quot;images/page_AUDIO.jpg&quot; alt=&quot;AUDIOTUTS&quot; /&gt;&lt;/a&gt;&lt;/div&gt;

	&lt;/div&gt;
&lt;/div&gt;
</pre>
<p>Notice how I have the HTML laid out. I will not be using ID&#8217;s to select any of the page or bubble elements, and instead creating arrays of all elements containing the two classes, which will allow for this script to scale regardless of how many items you choose to highlight! All bubbles and pages are contained in a wrapper which is absolutely positioned within the site wrapper (which contains our background where all of this is sitting on top of).<br />
<strong>Step 4 &#8211; Add your javascript</strong></p>
<p>We&#8217;ll start by creating a wrapper function for our javascript code which places an event listener on the window object, firing once the DOM is loaded and ready. This is important because we need our script to immediately begin altering the DOM once its available.</p>
<p>If we DON&#8217;T use this wrapper function, it&#8217;s quite likely you&#8217;ll get errors claiming that certain elements don&#8217;t exist. Another option could be to place the embedded javascript at the end of the document body. However, if you decide to attach the script externally, you&#8217;ll run into this problem once again, so it&#8217;s a good habit to get into now!</p>
<p>Another option for &#8216;domready&#8217; is to use &#8216;load&#8217; which will fire once the page (images included) is completely loaded. We don&#8217;t want this for this particular project because it means images (such as our bubbles) might intitally flash on the screen before being hidden by our script.</p>
<p>One other important thing to note—if you DO decide to link this script from an external &#8216;.js&#8217; file, you&#8217;ll want to ensure you link it AFTER you&#8217;ve linked the MooTools library in the document head.</p>
<pre class="brush: javascript">window.addEvent(&#039;domready&#039;, function() {
	...
});
</pre>
<p>Next we start by creating the arrays for both our page and bubble elements and set some initial in-line styles.</p>
<pre class="brush: javascript">
window.addEvent(&#039;domready&#039;, function() {

	// Create variables (in this case two arrays) representing our bubbles and pages
	var myPages = $$(&#039;.page&#039;);
	var myBubbles = $$(&#039;.bubble&#039;);

	// Set bubbles opacity to zero so they&#039;re hidden initially
	// and toggle visibility on for their container	back on
	myBubbles.setStyle(&#039;opacity&#039;, 0);
	$(&#039;bubbleWrap&#039;).setStyle(&#039;visibility&#039;,&#039;visible&#039;)

});
</pre>
<p>Lastly, we&#8217;ll attach event listeners to the page icons to fire morph effects on their corresponding bubbles. Note that the order of the bubbles as laid out in the HTML is the SAME order of the page icons. This is important!</p>
<pre class="brush: javascript">window.addEvent(&#039;domready&#039;, function() {

	// Create variables (in this case two arrays) representing our bubbles and pages
	var myPages = $$(&#039;.page&#039;);
	var myBubbles = $$(&#039;.bubble&#039;);

	// Set bubbles opacity to zero so they&#039;re hidden initially
	// and toggle visibility on for their container	back on
	myBubbles.setStyle(&#039;opacity&#039;, 0);
	$(&#039;bubbleWrap&#039;).setStyle(&#039;visibility&#039;,&#039;visible&#039;)

	// Add our events to the pages
	myPages.each(function(el, i) {
		/* Here we change the default &#039;link&#039; property to &#039;cancel&#039; for our morph effects, which
		   ensures effects are interrupted when the mouse is leaving and entering
		   to immediately begin the morph effect being called */
		el.set(&#039;morph&#039;, {link : &#039;cancel&#039;});

		el.addEvents({
			&#039;mouseenter&#039;: function() {
				myBubbles[i].morph({
					&#039;opacity&#039; : 1,
					&#039;margin-top&#039; : &#039;-15px&#039;
				});
			},
			&#039;mouseleave&#039; : function() {
				myBubbles[i].morph({
					&#039;opacity&#039; : 0,
					&#039;margin-top&#039; : 0
				});
			}
		});
	});
});
</pre>
<p>You&#8217;ll notice that we&#8217;re attaching a function using the each() method to all of the elements of the &#8216;myPages&#8217; array. And for each function we pass in &#8216;el&#8217; which represents the page element, and &#8216;i&#8217; which is an integer representing the placement of that page element within its array. We use the &#8216;i&#8217; variable for calling the morph effect on the appropriate and corresponding bubble element within the &#8216;myBubbles&#8217; array.<br />
<!--adsense--><br />
Demo: <a href="http://nettuts.s3.amazonaws.com/022_Mootools/example.html">http://nettuts.s3.amazonaws.com/022_Mootools/example.html</a><br />
Download: <a href="http://nettuts.s3.amazonaws.com/022_Mootools/Archive.zip">http://nettuts.s3.amazonaws.com/022_Mootools/Archive.zip</a><br />
Source: <a href="http://net.tutsplus.com/site-builds/create-a-simple-powerful-product-highlighter-with-mootools/">http://net.tutsplus.com/site-builds/create-a-simple-powerful-product-highlighter-with-mootools/</a></p>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fwww.ajaxupdates.com%2Fproduct-highlight-mootools%2F', 'Product+highlight+%3A+Mootools')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fwww.ajaxupdates.com%2Fproduct-highlight-mootools%2F', title: '+Product+highlight+%3A+Mootools+' })"/></div>

<p>Related Listings:<ol><li><a href='http://www.ajaxupdates.com/page-peel-effect-using-mootools/' rel='bookmark' title='Permanent Link: Page Peel Effect Using MooTools'>Page Peel Effect Using MooTools</a> <small>A great script back in May titled Simple Page Peel...</small></li>
<li><a href='http://www.ajaxupdates.com/imagecaption-a-mootools-plugin-for-auto-captioning-images/' rel='bookmark' title='Permanent Link: ImageCaption &#8211; a MooTools Plugin for Auto-Captioning Images'>ImageCaption &#8211; a MooTools Plugin for Auto-Captioning Images</a> <small>ImageCaption is a MooTools 1.2+ plugin for easily adding figure...</small></li>
<li><a href='http://www.ajaxupdates.com/dynamic-text-effects-mootools/' rel='bookmark' title='Permanent Link: Dynamic Text Effects &#8211; MooTools'>Dynamic Text Effects &#8211; MooTools</a> <small>Dynamic text effects (fade ins, moving text, etc.) can enhance...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.ajaxupdates.com/product-highlight-mootools/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>jQuery Gradient Plugin</title>
		<link>http://www.ajaxupdates.com/jquery-gradient-plugin/</link>
		<comments>http://www.ajaxupdates.com/jquery-gradient-plugin/#comments</comments>
		<pubDate>Thu, 23 Jul 2009 14:36:52 +0000</pubDate>
		<dc:creator>alyaspk</dc:creator>
				<category><![CDATA[Ajax Scripts]]></category>
		<category><![CDATA[Jquery Script]]></category>
		<category><![CDATA[Alice]]></category>
		<category><![CDATA[Background]]></category>
		<category><![CDATA[Coders]]></category>
		<category><![CDATA[Element]]></category>
		<category><![CDATA[God]]></category>
		<category><![CDATA[Gradient]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[Left Hand Side]]></category>
		<category><![CDATA[Network Graph]]></category>
		<category><![CDATA[Real Deal]]></category>
		<category><![CDATA[Repo]]></category>
		<category><![CDATA[Repositories]]></category>
		<category><![CDATA[Repository]]></category>
		<category><![CDATA[Scm]]></category>
		<category><![CDATA[Screenshot]]></category>
		<category><![CDATA[Visualizer]]></category>

		<guid isPermaLink="false">http://www.ajaxupdates.com/?p=2156</guid>
		<description><![CDATA[Adds a dynamically created configurable gradient to the background of an element without the use of images.
Above you’ll see a screenshot of the network graph of my god repository (click it for the real deal). On the left hand side is a list of GitHub users. Across from each user is drawn a graph of [...]


Related Listings:<ol><li><a href='http://www.ajaxupdates.com/gradient-jquery-plugin/' rel='bookmark' title='Permanent Link: Gradient : jQuery Plugin'>Gradient : jQuery Plugin</a> <small>It allows you to define a gradient fill and have...</small></li>
<li><a href='http://www.ajaxupdates.com/jquery-binary-tree-plugin/' rel='bookmark' title='Permanent Link: jQuery Binary Tree Plugin'>jQuery Binary Tree Plugin</a> <small>This script allows you to, with just one call, rearrange...</small></li>
<li><a href='http://www.ajaxupdates.com/form-wizard-using-jquery-plugin/' rel='bookmark' title='Permanent Link: Form Wizard using Jquery Plugin'>Form Wizard using Jquery Plugin</a> <small> The form wizard plugin is a plugin based on...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Adds a dynamically created configurable gradient to the background of an element without the use of images.</p>
<p>Above you’ll see a screenshot of the network graph of my god repository (click it for the real deal). On the left hand side is a list of GitHub users. Across from each user is drawn a graph of commits. Since I’ve asked for the graph to be drawn with me (mojombo) as the root, every commit on every branch that I currently have in my repository (mojombo/god) will be graphed across from my name. If you look at the second user in the list (Bertg), you’ll see that only commits that appear in his repository (Bertg/god) but not mine are drawn across from him. The third user (kevinclark) has commits that appear in neither my repo nor Bertg’s repo. And so on.</p>
<p>When you look at the graph you are seeing every commit on every branch of every repository that belongs to a network. But you are seeing each commit only once. Let that sink in for a second. I find that many coders are so used to a centralized SCM that they miss the fact that our Graph Visualizer is actually showing and connecting disparate repositories. Git makes this possible and once it hits you, it can change everything.</p>
<p>Think of it like this. If I draw the graph with myself as root, then the graph shows a sort of to-do list of code that I haven’t pulled into my repo yet. When I want to catch up on what the community has been doing in their forks of my repo, I can hit up the graph and see immediately what others have been up to. If I were to pull in Bertg’s changes, the next time I see the graph, Bertg will no longer be shown at all because he will no longer have any commits that I do not. Keep thinking to-do list and you’ll understand the graph.</p>
<p>This method of drawing the graph may seem odd at first. If both Alice and I contribute to merb-core and at some point Alice pulls my commits into her repo, then I may not be shown on the network graph at all (if the graph ordered her before me). My commits would have already been drawn in her repo. It is important to realize that the graph is about code not ego. My code may be in my repository and yours and many others. Our individual repos are simply vehicles for introducing our code to the world. If we learn to let go of our code a little bit, we are rewarded ten-fold by what the community or our coworkers will do with that code.</p>
<p>You can move around the graph by clicking and dragging it with your mouse. If you click in the graph, then you can use the arrow keys or vim movement keys (hjkl). Hold down the shift key while hitting left or right and you’ll go to the beginning/end of the graph. Press t to show/hide the tag markers. Hover over a commit for details about it. Click on a commit to be taken to that commit in a new window (makes it easy to come back to the graph without losing your place). Click a username to redraw the graph with that person as the root.</p>
<p>Demo: <a href="http://www.ajaxupdates.com/gradient_demo/">http://www.ajaxupdates.com/gradient_demo/</a><br />
Download: <a href="http://www.ajaxupdates.com/jquery_gradient.zip">http://www.ajaxupdates.com/jquery_gradient.zip</a><br />
Source: <a href="http://plugins.jquery.com/project/gradient">http://plugins.jquery.com/project/gradient</a></p>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fwww.ajaxupdates.com%2Fjquery-gradient-plugin%2F', 'jQuery+Gradient+Plugin')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fwww.ajaxupdates.com%2Fjquery-gradient-plugin%2F', title: '+jQuery+Gradient+Plugin+' })"/></div>

<p>Related Listings:<ol><li><a href='http://www.ajaxupdates.com/gradient-jquery-plugin/' rel='bookmark' title='Permanent Link: Gradient : jQuery Plugin'>Gradient : jQuery Plugin</a> <small>It allows you to define a gradient fill and have...</small></li>
<li><a href='http://www.ajaxupdates.com/jquery-binary-tree-plugin/' rel='bookmark' title='Permanent Link: jQuery Binary Tree Plugin'>jQuery Binary Tree Plugin</a> <small>This script allows you to, with just one call, rearrange...</small></li>
<li><a href='http://www.ajaxupdates.com/form-wizard-using-jquery-plugin/' rel='bookmark' title='Permanent Link: Form Wizard using Jquery Plugin'>Form Wizard using Jquery Plugin</a> <small> The form wizard plugin is a plugin based on...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.ajaxupdates.com/jquery-gradient-plugin/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Delayed Image Loader Script for Prototype</title>
		<link>http://www.ajaxupdates.com/delayed-image-loader-script-for-prototype/</link>
		<comments>http://www.ajaxupdates.com/delayed-image-loader-script-for-prototype/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 15:23:14 +0000</pubDate>
		<dc:creator>alyaspk</dc:creator>
				<category><![CDATA[Ajax Image Scripts]]></category>
		<category><![CDATA[Ajax Scripts]]></category>
		<category><![CDATA[ajax images]]></category>
		<category><![CDATA[Array]]></category>
		<category><![CDATA[Default Options]]></category>
		<category><![CDATA[Default Parameters]]></category>
		<category><![CDATA[Default Settings]]></category>
		<category><![CDATA[Gif Extensions]]></category>
		<category><![CDATA[Gif Image]]></category>
		<category><![CDATA[Html Document]]></category>
		<category><![CDATA[Image Loader]]></category>
		<category><![CDATA[image script]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[Instantiation]]></category>
		<category><![CDATA[Javascript Image]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[Loaded]]></category>
		<category><![CDATA[Loader Script]]></category>
		<category><![CDATA[Page Loads]]></category>
		<category><![CDATA[Pixel]]></category>
		<category><![CDATA[Png]]></category>
		<category><![CDATA[Prototype]]></category>
		<category><![CDATA[Text Html]]></category>
		<category><![CDATA[Viewport]]></category>

		<guid isPermaLink="false">http://www.ajaxupdates.com/?p=1952</guid>
		<description><![CDATA[lazierLoad is Bramus! his take at writing a delayed javascript image loader for use with PrototypeJS.
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 [...]


Related Listings:<ol><li><a href='http://www.ajaxupdates.com/uvumitools-image-crop/' rel='bookmark' title='Permanent Link: UvumiTools Image Crop'>UvumiTools Image Crop</a> <small>As the web grows and becomes more dynamic (&#8220;Web 2.0&#8243;),...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>lazierLoad is Bramus! his take at writing a delayed javascript image loader for use with PrototypeJS.</p>
<p>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).</p>
<p>The idea for lazierLoad was inspired upon Lazy Load (which is built for use with jQuery), yet the code differs quite a lot.</p>
<p><strong>Installation:</strong><br />
#</p>
<p>Include the needed javascript (2 files) in your HTML document<br />
PLAIN TEXT<br />
<strong>HTML:</strong></p>
<pre class="brush: javascript">     &lt;!-- lazierLoad prerequisites : prototype.js - version 1.6.0 final or greater required! --&gt;

      &lt;script type=&quot;text/javascript&quot; src=&quot;js/lib/prototype.js&quot;&gt;&lt;/script&gt;

      &lt;!-- lazierLoad core --&gt;

      &lt;script type=&quot;text/javascript&quot; src=&quot;js/bramus/lazierLoad.js&quot;&gt;&lt;/script&gt;
</pre>
<p>2: That&#8217;s it, you&#8217;re done! </p>
<p>Configuration<br />
Automatic hooking of lazierLoad &#8211; Configuring the default options</p>
<p>If you are not happy with the default settings, you can tweak lazierLoad by editing the lazierLoadDefaultOptions Object in the lazierLoad.js file.</p>
<p>Possible options to tweak are:</p>
<p>    * treshold: images which appear treshold pixels from the bottom will be loaded<br />
      (defaults to “100”)<br />
    * replaceImage: image to replace the non-loaded images with until they are loaded (most likely a transparent 1 by 1 pixel image)<br />
      (defaults to “blank.gif”)<br />
    * loadingImage: image to show while a non-loaded image is being loaded<br />
      (defaults to “spinner.gif”)<br />
    * extensions: array of extensions to lazyLoad<br />
      (defaults to “['gif','jpg','png','jpg']”)<br />
    * minWidth: minimum width an image must have in order to be lazyLoaded<br />
      (defaults to “100”)<br />
    * minHeight: minimum height an image must have in order to be lazyLoaded<br />
      (defaults to “100”)</p>
<p>Manual hooking of lazierLoad &#8211; Configuring page-specific options</p>
<p>If you want different options on different pages, then set lazierLoadAutoHook to false and manually create a new JS_BRAMUS.lazierLoad instance yourself. Within that manual instantiation you can pass in specific parameters. If set, these parameters will override the default parameters set in the lazierLoadDefaultOptions Object.</p>
<p>Some examples are (only include one instantiation per page though!):</p>
<p><strong>JavaScript:</strong></p>
<pre class="brush: javascript">Event.observe(document, &#039;dom:loaded&#039;, function() {
	myCustomLL = new JS_BRAMUS.lazierLoad({treshold: 200});  // Override treshold
}, false);</pre>
<pre class="brush: javascript">Event.observe(document, &#039;dom:loaded&#039;, function() {
	myCustomLL = new JS_BRAMUS.lazierLoad({loadingImage: &#039;bigspinner.gif&#039;, minWidth : 200, minHeight; 200}); // Override spinner, minWidth and minHeight
}, false);</pre>
<p>Demo: <a href="http://www.bram.us/projects/js_bramus/lazierload/#demo">http://www.bram.us/projects/js_bramus/lazierload/#demo</a><br />
Download: <a href="http://www.bram.us/wordpress/download.php?file=http://www.bram.us/wordpress/wp-content/uploads/2008/02/lazierload_04.zip">http://www.bram.us/wordpress/download.php?file=http://www.bram.us/wordpress/wp-content/uploads/2008/02/lazierload_04.zip</a><br />
Source: <a href="http://www.bram.us/projects/js_bramus/lazierload">http://www.bram.us/projects/js_bramus/lazierload</a></p>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fwww.ajaxupdates.com%2Fdelayed-image-loader-script-for-prototype%2F', 'Delayed+Image+Loader+Script+for+Prototype')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fwww.ajaxupdates.com%2Fdelayed-image-loader-script-for-prototype%2F', title: '+Delayed+Image+Loader+Script+for+Prototype+' })"/></div>

<p>Related Listings:<ol><li><a href='http://www.ajaxupdates.com/uvumitools-image-crop/' rel='bookmark' title='Permanent Link: UvumiTools Image Crop'>UvumiTools Image Crop</a> <small>As the web grows and becomes more dynamic (&#8220;Web 2.0&#8243;),...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.ajaxupdates.com/delayed-image-loader-script-for-prototype/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery Plugin: betterTip</title>
		<link>http://www.ajaxupdates.com/jquery-plugin-bettertip/</link>
		<comments>http://www.ajaxupdates.com/jquery-plugin-bettertip/#comments</comments>
		<pubDate>Mon, 22 Jun 2009 16:28:49 +0000</pubDate>
		<dc:creator>alyaspk</dc:creator>
				<category><![CDATA[Ajax Scripts]]></category>
		<category><![CDATA[Ajax ToolTips]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[Cody Lindley]]></category>
		<category><![CDATA[Css File]]></category>
		<category><![CDATA[Custom Tool]]></category>
		<category><![CDATA[Demo]]></category>
		<category><![CDATA[Div]]></category>
		<category><![CDATA[Element]]></category>
		<category><![CDATA[Header Section]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[Options]]></category>
		<category><![CDATA[tool tips]]></category>
		<category><![CDATA[tooltip]]></category>
		<category><![CDATA[True Function]]></category>
		<category><![CDATA[Uncompressed Version]]></category>
		<category><![CDATA[Zip Source]]></category>

		<guid isPermaLink="false">http://www.ajaxupdates.com/?p=1936</guid>
		<description><![CDATA[BetterTip is a plugin for the JQuery library that allows you to create custom tool tips. It is based on  Cody Lindley&#8217;s jTip, but it is much more flexible.
To use BetterTip you first have to obtain the jQuery Library. Next you&#8217;ll need to Download BetterTip. This download contains a compressed version of BetterTip as [...]


Related Listings:<ol><li><a href='http://www.ajaxupdates.com/tooltip-using-mootools/' rel='bookmark' title='Permanent Link: ToolTip using MooTools'>ToolTip using MooTools</a> <small>Tooltip let&#8217;s you create mouse over tooltips to your content...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>BetterTip is a plugin for the JQuery library that allows you to create custom tool tips. It is based on  Cody Lindley&#8217;s jTip, but it is much more flexible.</p>
<p>To use BetterTip you first have to obtain the jQuery Library. Next you&#8217;ll need to Download BetterTip. This download contains a compressed version of BetterTip as well as an uncompressed version. It also contains all the images and a css file. The compressed version with the images and css is 10.4KB and the uncompressed version is 12.4KB.</p>
<p>In the header section of the page you want to use BetterTip, you&#8217;ll need to add references to jQuery, BetterTip, and the BetterTip css file as follows:<br />
To use BetterTip you first have to obtain the jQuery Library. Next you&#8217;ll need to Download BetterTip. This download contains a compressed version of BetterTip as well as an uncompressed version. It also contains all the images and a css file. The compressed version with the images and css is 10.4KB and the uncompressed version is 12.4KB.</p>
<p>In the header section of the page you want to use BetterTip, you&#8217;ll need to add references to jQuery, BetterTip, and the BetterTip css file as follows:</p>
<pre class="brush: php">&lt;link rel=&quot;stylesheet&quot; href=&quot;path-to/BetterTip/jquery.bettertip.css&quot; type=&quot;text/css&quot; /&gt;

&lt;script type=&quot;text/javascript&quot; src=&quot;path-to-jquery/jquery-1.1.3.1.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;path-to/BetterTip/jquery.bettertip.js&quot;&gt;&lt;/script&gt;</pre>
<p>Now you can set BetterTip options. This step is optional.<br />
There are only three options, and they are as follows:</p>
<p>    * openWait &#8212; the number of milliseconds the user should hover before the tooltip opens (default: 500)<br />
    * closeWait &#8212; the number of milliseconds the tooltip stays open after the user moves the mouse out (default: 0)<br />
    * enableCache &#8212; true or false, indicating whether or not AJAX calls should be cached (default: true)</p>
<pre class="brush: php">
&lt;script type=&quot;text/javascript&quot;&gt;
    $(function(){
       BT_setOptions({openWait:2000, closeWait:4000, enableCache:false});
    })
&lt;/script&gt;</pre>
<p>You can tell BetterTip to open a tooltip over a div or an a element. You can create a tooltip on an a element as follows:</p>
<pre class="brush: php">
&lt;a id=&quot;mylink&quot; href=&quot;ajax.cfm?width=250&quot; class=&quot;betterTip&quot; title=&quot;$none&quot;&gt;
    Dynamic tooltip an &#039;a&#039; element
&lt;/a&gt;</pre>
<p>The a element must have an id and have its class attribute set to betterTip. The title attribute indicates what the title of the tooltip should read. There are two special values you can use for the title. Use $none if you do not want a title or a title bar, and you can use $content if you want the title to be the same as the text the user hovers over. The href attribute specifies where the content of the tooltip should come from. You can specify how wide you want the tooltip to be by adding a width parameter to the querystring. The default width is 250px. If the href attribute starts with a $, it tells BetterTip to grab the content from another element on the page. For example, an href value of $mydiv?width=500 will use the text stored in a div with id=&#8221;mydiv&#8221; and set the width of the tooltip to 500px, as in this example:</p>
<pre class="brush: php">
&lt;a id=&quot;mylink&quot; href=&quot;$mydiv?width=500&quot; class=&quot;betterTip&quot; title=&quot;$content&quot;&gt;
    Static tooltip an &#039;a&#039; element
&lt;/a&gt;
&lt;div id=&quot;$mydiv&quot; style=&quot;display:none;&quot;&gt;
    Here is the content for the tooltip!
&lt;/div&gt;</pre>
<p>To make a tooltip appear above a div, the same concept applies. Here is the format:</p>
<pre class="brush: php">
&lt;div class=&quot;betterTip&quot; id=&quot;div1&quot; style=&quot;background-color:#eeeeee;&quot;&gt;
    &lt;a id=&quot;a1&quot; href=&quot;ajax.cfm?width=300&quot; class=&quot;betterTip&quot; title=&quot;$none&quot;&gt;&lt;/a&gt;
    Dynamic tooltip for a div
&lt;/div&gt;</pre>
<p>You simply put a blank a inside a div. Again, make sure that both the a and the div have unique ids and that both of them have a class attribute equal to betterTip.<br />
Demo: <a href="http://edgarverle.com/BetterTip/default.cfm">http://edgarverle.com/BetterTip/default.cfm</a><br />
Download: <a href="http://edgarverle.com/BetterTip/bettertip.zip">http://edgarverle.com/BetterTip/bettertip.zip</a><br />
Source: <a href="http://edgarverle.com/BetterTip/default.cfm">http://edgarverle.com/BetterTip/default.cfm</a></p>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fwww.ajaxupdates.com%2Fjquery-plugin-bettertip%2F', 'jQuery+Plugin%3A+betterTip')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fwww.ajaxupdates.com%2Fjquery-plugin-bettertip%2F', title: '+jQuery+Plugin%3A+betterTip+' })"/></div>

<p>Related Listings:<ol><li><a href='http://www.ajaxupdates.com/tooltip-using-mootools/' rel='bookmark' title='Permanent Link: ToolTip using MooTools'>ToolTip using MooTools</a> <small>Tooltip let&#8217;s you create mouse over tooltips to your content...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.ajaxupdates.com/jquery-plugin-bettertip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mobile Tooltip Widget</title>
		<link>http://www.ajaxupdates.com/mootools-side-bar-plugin/</link>
		<comments>http://www.ajaxupdates.com/mootools-side-bar-plugin/#comments</comments>
		<pubDate>Sun, 21 Jun 2009 04:19:01 +0000</pubDate>
		<dc:creator>alyaspk</dc:creator>
				<category><![CDATA[Ajax Scripts]]></category>
		<category><![CDATA[Ajax ToolTips]]></category>
		<category><![CDATA[MooTools]]></category>
		<category><![CDATA[04 Zip]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[ajax tooltip]]></category>
		<category><![CDATA[Background Color]]></category>
		<category><![CDATA[Bmp]]></category>
		<category><![CDATA[Border]]></category>
		<category><![CDATA[Css Style]]></category>
		<category><![CDATA[css tooltip]]></category>
		<category><![CDATA[Demo]]></category>
		<category><![CDATA[Desired Image]]></category>
		<category><![CDATA[Gwt]]></category>
		<category><![CDATA[Image Image]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[Listener]]></category>
		<category><![CDATA[Mouse Movement]]></category>
		<category><![CDATA[New Image]]></category>
		<category><![CDATA[Padding]]></category>
		<category><![CDATA[Source Code]]></category>
		<category><![CDATA[tooltip]]></category>
		<category><![CDATA[Widget]]></category>
		<category><![CDATA[Zip Source]]></category>

		<guid isPermaLink="false">http://www.ajaxupdates.com/?p=1924</guid>
		<description><![CDATA[I am making an Ajax application using GWT and I need some kind of facility to display a tooltip on an image when I hover my mouse over it. Unfortunately GWT does not provide such widget that I can use directly. After spending some time on GWT forum, I found two neat posts (refer to [...]


Related Listings:<ol><li><a href='http://www.ajaxupdates.com/tooltip-using-mootools/' rel='bookmark' title='Permanent Link: ToolTip using MooTools'>ToolTip using MooTools</a> <small>Tooltip let&#8217;s you create mouse over tooltips to your content...</small></li>
<li><a href='http://www.ajaxupdates.com/loading-panel-widget/' rel='bookmark' title='Permanent Link: Loading Panel Widget'>Loading Panel Widget</a> <small>Probably needless to say, but here it is. A web...</small></li>
<li><a href='http://www.ajaxupdates.com/cut-paste-ajax-tooltip-script-v1-2/' rel='bookmark' title='Permanent Link: Cut &#038; Paste Ajax Tooltip script v1.2'>Cut &#038; Paste Ajax Tooltip script v1.2</a> <small>Description: This Ajax script enhances the default &#8220;title&#8221; attribute of...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I am making an Ajax application using GWT and I need some kind of facility to display a tooltip on an image when I hover my mouse over it. Unfortunately GWT does not provide such widget that I can use directly. After spending some time on GWT forum, I found two neat posts (refer to post 1 and post 2), which included some source code for making tooltip widget.</p>
<p>I made a mod version of the tooltip widget which supports mouse movement event. Check it out. The source code is available for free.</p>
<p>Usage:</p>
<pre class="brush: php">//create a new image
Image image = new Image(&quot;images/bear.bmp&quot;);
//create a tooltip
MobileTooltip tooltip = new MobileTooltip(&quot;tooltip 1&quot;);
//add mouse listener to the image
image.addMouseListener(new MobileTooltipMouseListener(tooltip));
//add the desired image to your page
RootPanel.get().add(image);</pre>
<p>By default, the name of CSS style is tooltip, you can change it to anything to fit your need. Below is the style used in the demo:</p>
<pre class="brush: css">.tooltip {
        border: 1px solid black;
        padding: 2px 3px 3px 3px;
        font-size: smaller;
        background-color: #ffffcc;
}</pre>
<p><!--adsense--><br />
Demo: <a href="http://test.thecodecentral.com/demos/mobiletooltip/">http://test.thecodecentral.com/demos/mobiletooltip/</a><br />
Download: <a href="http://thecodecentral.com/wp-content/uploads/2007/04/mobile-tooltip.zip">http://thecodecentral.com/wp-content/uploads/2007/04/mobile-tooltip.zip</a><br />
Source:</p>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fwww.ajaxupdates.com%2Fmootools-side-bar-plugin%2F', 'Mobile+Tooltip+Widget')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fwww.ajaxupdates.com%2Fmootools-side-bar-plugin%2F', title: '+Mobile+Tooltip+Widget+' })"/></div>

<p>Related Listings:<ol><li><a href='http://www.ajaxupdates.com/tooltip-using-mootools/' rel='bookmark' title='Permanent Link: ToolTip using MooTools'>ToolTip using MooTools</a> <small>Tooltip let&#8217;s you create mouse over tooltips to your content...</small></li>
<li><a href='http://www.ajaxupdates.com/loading-panel-widget/' rel='bookmark' title='Permanent Link: Loading Panel Widget'>Loading Panel Widget</a> <small>Probably needless to say, but here it is. A web...</small></li>
<li><a href='http://www.ajaxupdates.com/cut-paste-ajax-tooltip-script-v1-2/' rel='bookmark' title='Permanent Link: Cut &#038; Paste Ajax Tooltip script v1.2'>Cut &#038; Paste Ajax Tooltip script v1.2</a> <small>Description: This Ajax script enhances the default &#8220;title&#8221; attribute of...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.ajaxupdates.com/mootools-side-bar-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sliding Tabs using Moo Tools Plugin</title>
		<link>http://www.ajaxupdates.com/sliding-tabs-using-moo-tools-plugin/</link>
		<comments>http://www.ajaxupdates.com/sliding-tabs-using-moo-tools-plugin/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 15:13:17 +0000</pubDate>
		<dc:creator>alyaspk</dc:creator>
				<category><![CDATA[Ajax Scripts]]></category>
		<category><![CDATA[Ajax Tabs]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[animated tabs]]></category>
		<category><![CDATA[Bugs]]></category>
		<category><![CDATA[Classname]]></category>
		<category><![CDATA[Content Elements]]></category>
		<category><![CDATA[Duration]]></category>
		<category><![CDATA[Functionality]]></category>
		<category><![CDATA[Horizontal Tab]]></category>
		<category><![CDATA[Horizontal Tabs]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[Moo Tools]]></category>
		<category><![CDATA[MooTools]]></category>
		<category><![CDATA[New Feature]]></category>
		<category><![CDATA[New Tabs]]></category>
		<category><![CDATA[Orientation]]></category>
		<category><![CDATA[Overflow]]></category>
		<category><![CDATA[Perspective]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[sliding tabs]]></category>
		<category><![CDATA[Space Thanks]]></category>
		<category><![CDATA[Vertical Tab]]></category>
		<category><![CDATA[Yahoo]]></category>

		<guid isPermaLink="false">http://www.ajaxupdates.com/?p=1895</guid>
		<description><![CDATA[The script relies on width and height of tabs and content, so if you want to use it to display images (like below) you have to hard-code the dimensions of your images in your css, or preload them.
If you want to create vertical tabs you must set a concrete height for your tabs.
This isn&#8217;t really [...]


Related Listings:<ol><li><a href='http://www.ajaxupdates.com/tabs-with-moo-tools-plugin/' rel='bookmark' title='Permanent Link: Tabs with Moo tools plugin'>Tabs with Moo tools plugin</a> <small>This is MooTabs! Using a slightly modified CSS file and...</small></li>
<li><a href='http://www.ajaxupdates.com/fancy-sliding-tabs-menu/' rel='bookmark' title='Permanent Link: Fancy Sliding Tabs Menu'>Fancy Sliding Tabs Menu</a> <small>The Fancy Sliding Tab Menu is back and better than...</small></li>
<li><a href='http://www.ajaxupdates.com/featured-articles-plugin-for-wordpress-with-moo-tools/' rel='bookmark' title='Permanent Link: Featured articles plugin for Wordpress with Moo Tools'>Featured articles plugin for Wordpress with Moo Tools</a> <small>Featured articles gives the wordpress blog admin the possibility to...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>The script relies on width and height of tabs and content, so if you want to use it to display images (like below) you have to hard-code the dimensions of your images in your css, or preload them.</p>
<p>If you want to create vertical tabs you must set a concrete height for your tabs.</p>
<p>This isn&#8217;t really a bug, but I didn&#8217;t add any style to the css, so if you want it to look pretty you&#8217;ll have to do some css work.</p>
<p>As a new feature, I&#8217;m working on adding some ajax functionality.</p>
<p>If you have any suggestions for other features or find some bugs feel free to email me at meweltman(at)yahoo.com. </p>
<p>Perspective tabs is a simple mootools 1.2 plug-in that allows for a lagre number of tabs to fit into a small space. Thanks for visiting my site.</p>
<p>First, you must include mootools and the scripts and css in your page.:<br />
<script type="text/javascript" src="scripts/sliding_tabs.js"></script></p>
<link rel="stylesheet" href="css/sliding_tabs.css" type="text/css" media="all"/>
Then just create a new sliding_tabs object with a set of tab elements and a set of tab content elements. These must be in the same order i.e.:</p>
<pre class="brush: php">&lt;div class=&quot;tab&quot;&gt;tab1&lt;/div&gt;
&lt;div class=&quot;tab&quot;&gt;tab2&lt;/div&gt;
&lt;div class=&quot;tab&quot;&gt;tab3&lt;/div&gt;
&lt;div class=&quot;tab_content&quot;&gt;tab_content1&lt;/div&gt;
&lt;div class=&quot;tab_content&quot;&gt;tab_content2&lt;/div&gt;
&lt;div class=&quot;tab_content&quot;&gt;tab_content3&lt;/div&gt;
Then create the object:
new sliding_tabs($$(&#039;.tab&#039;),$$(&#039;.tab_content&#039;),{active_tab_class:&#039;active_tab&#039;});</pre>
<p><strong>NOTE:</strong><br />
For horizontal tabs, you must set a width value for #tab_overflow in your CSS. Similarly, for vertical tabs you must set an height value for #tab_overflow. This will define how wide or tall you want the visible tabs to be. Play with it, and have fun!</p>
<p><strong>Options:</strong></p>
<p>The third argument (much like many mootools plugins) are options, they are:</p>
<p>active_tab_class &#8211; The className of the active tab.<br />
scroll_fx_duration &#8211; The duration of the scroll between tabs. For no effect set to 0. Defaults to 500.</p>
<p>To create horizontal tabs:<br />
orientation &#8211; set to &#8216;horizontal&#8217;<br />
tab_margin_left &#8211; The margin to the left of the left-most tab<br />
tab_margin_right &#8211; The margin to the right of the right-most tab</p>
<p>To create vertical tabs (note: your tabs must have a set height):<br />
orientation &#8211; set to &#8216;vertical&#8217;<br />
tab_margin_top &#8211; The margin to the top of the top-most tab<br />
tab_margin_bottom &#8211; The margin to the bottom of the bottom-most tab</p>
<p>-silding tabs can reposition itself to the center of a container or window (see below). to accomplish this you need to enable 3 options</p>
<p>container_reposition &#8211; set this to true<br />
container &#8211; the container your tabs are in<br />
outer_container &#8211; the container you want the tabs to center inside of. To center in the window, set to &#8216;window&#8217;<br />
offset &#8211; The offset +/- where the container will be centered.</p>
<p>Demo: <a href="http://www.mattweltman.com/sliding_tabs.html">http://www.mattweltman.com/sliding_tabs.html</a></p>
<p>Download: Java: <a href="http://www.mattweltman.com/scripts/sliding_tabs.js">http://www.mattweltman.com/scripts/sliding_tabs.js</a><br />
Css: <a href="http://www.mattweltman.com/css/sliding_tabs.css">http://www.mattweltman.com/css/sliding_tabs.css</a></p>
<p>Source: <a href="http://www.mattweltman.com/sliding_tabs.html">http://www.mattweltman.com/sliding_tabs.html</a></p>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fwww.ajaxupdates.com%2Fsliding-tabs-using-moo-tools-plugin%2F', 'Sliding+Tabs+using+Moo+Tools+Plugin')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fwww.ajaxupdates.com%2Fsliding-tabs-using-moo-tools-plugin%2F', title: '+Sliding+Tabs+using+Moo+Tools+Plugin+' })"/></div>

<p>Related Listings:<ol><li><a href='http://www.ajaxupdates.com/tabs-with-moo-tools-plugin/' rel='bookmark' title='Permanent Link: Tabs with Moo tools plugin'>Tabs with Moo tools plugin</a> <small>This is MooTabs! Using a slightly modified CSS file and...</small></li>
<li><a href='http://www.ajaxupdates.com/fancy-sliding-tabs-menu/' rel='bookmark' title='Permanent Link: Fancy Sliding Tabs Menu'>Fancy Sliding Tabs Menu</a> <small>The Fancy Sliding Tab Menu is back and better than...</small></li>
<li><a href='http://www.ajaxupdates.com/featured-articles-plugin-for-wordpress-with-moo-tools/' rel='bookmark' title='Permanent Link: Featured articles plugin for Wordpress with Moo Tools'>Featured articles plugin for Wordpress with Moo Tools</a> <small>Featured articles gives the wordpress blog admin the possibility to...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.ajaxupdates.com/sliding-tabs-using-moo-tools-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->