<?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>Davide Caffaratti blog &#187; javascript</title>
	<atom:link href="http://davidecaffaratti.com/tag/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://davidecaffaratti.com</link>
	<description>My own personal blog and my works</description>
	<lastBuildDate>Fri, 12 Mar 2010 02:40:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>mootools Edit In Place</title>
		<link>http://davidecaffaratti.com/2009/10/26/mootools-edit-in-place/</link>
		<comments>http://davidecaffaratti.com/2009/10/26/mootools-edit-in-place/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 03:41:58 +0000</pubDate>
		<dc:creator>Davide</dc:creator>
				<category><![CDATA[Library]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[mootools]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Classes]]></category>
		<category><![CDATA[eip]]></category>

		<guid isPermaLink="false">http://davidecaffaratti.com/?p=400</guid>
		<description><![CDATA[Here is my Mootools class that I use for make edit in place text. VIEW THE EXAMPLE FILE Use this class is very simple: First need to have mootools 1.2 javascript library Second download MooEip class The class: var MooEip = new Class({ //implements Implements: [Options,Events], //options options: { elements: '.eip', styleHover: 'eip-hover', styleInput: 'eip-input', [...]]]></description>
			<content:encoded><![CDATA[<p>Here is my <a href="http://mootools.net" target="_blank">Mootools</a> class that I use for make edit in place text.</p>
<p><strong><a href="http://davidecaffaratti.com/mootools/moo-eip/">VIEW THE EXAMPLE FILE</a></strong></p>
<p>Use this class is very simple:</p>
<p>First need to have <a href="http://mootools.net/core" target="_blank">mootools 1.2</a> javascript library<br />
Second download MooEip class</p>
<a href="http://davidecaffaratti.com/upload/moo-eip.zip" title="download mootools Eip"><img src="http://davidecaffaratti.com/wp-content/plugins/download-monitor/img/download.gif" alt="download" style="float:left;width:300px;" /></a><div style="float:left;width:auto;line-height:25px;margin-top:30px;margin-left:15px;"><b>Size:</b> 43.19 KB<br /><b>Hits :</b> 162</div><br style="clear:both;" />
<p><span id="more-400"></span></p>
<h3>The class:</h3>
<pre class="brush: jscript;">
var MooEip = new Class({

    //implements
    Implements: [Options,Events],

    //options
    options: {
        elements: '.eip',
        styleHover: 'eip-hover',
        styleInput: 'eip-input',
        styleTextarea: 'eip-textarea',
        styleLoading: 'eip-loading',
        idPrefix: 'id_',
        inputSave: 'Save',
        inputCanc: 'Cancel',
        saving: 'Saving...',
        empty: 'Click to Edit',
        hoverColor: '#ceffef',
        leaveColor: '#ffffff'
    },

    //initialization
    initialize: function(ajaxUrl, options) {
        // set ajax url
        this.ajaxUrl = ajaxUrl;
        //set options
        this.setOptions(options);

        this.run();
    },

    //a method that does whatever you want
    run: function() {
        //find the editable areas
        $$(this.options.elements).each(function(el) {
            var elId = el.getProperty('id');
            var elValue = el.get('text').trim();

            if (elValue.trim() == ''){
                el.set('text', this.options.empty);
            }

            if (el.getStyle('display') != '') {
                var displayStyle = el.getStyle('display');
            }
            else {
                var displayStyle = el.setStyle('display', 'block');
            }

            var editForm = new Element('form', {
                'name': 'form_' + elId,
                'events': {
                    'submit': function(e) {
                        el.setStyle('display', 'block');
                        //el.fireEvent('mouseleave');
                        e.preventDefault();

                        var request = new Request({
                            url: this.ajaxUrl,
                            data: 'value=' + editForm.fieldValue.value,
                            method: 'post',
                            onRequest: function(){
                                el.addClass(this.options.styleLoading);
                                el.set('text', this.options.saving);
                            }.bind(this),
                            onSuccess: function(){
                                el.removeClass(this.options.styleLoading);
                                el.set('html', (editForm.fieldValue.value.trim() == '' ? this.options.empty : editForm.fieldValue.value.trim().replace(new RegExp('\n', 'gi'), '&lt;br /&gt;')));
                            }.bind(this),
                            onFailure: function(resp){
                                el.removeClass(this.options.styleLoading);
                                alert('ERROR ON THE SERVER !!\nCODE: ' + resp.status + ' - TEXT: ' + resp.statusText + '\nPLEASE SAVE THE TEXT AGAIN !!');
                                el.set('html', (editForm.fieldValue.value.trim() == '' ? this.options.empty : editForm.fieldValue.value.trim().replace(new RegExp('\n', 'gi'), '&lt;br /&gt;')));
                            }.bind(this)
                        });
                        request.send();                        

                        editForm.dispose();

                        // set the new value from submited form value
                        elValue = editForm.fieldValue.value.trim();
                    }.bind(this)
                }
            });

            if(el.hasClass('input')) {
                var editField = new Element('input', {
                    'type': 'text',
                    'name': 'fieldValue',
                    'class': this.options.styleInput
                });
            }
            else {
                var editField = new Element('textarea', {
                    'name': 'fieldValue',
                    'class': this.options.styleTextarea
                });
                if (el.get('style') != '') {
                    editField.set('style', el.get('style'));
                }
            }

            var okButton = new Element('input', {
                'id': 'ok_' + elId,
                'type': 'submit',
                'value': this.options.inputSave,
                'events' : {
                    'click': function() {
                    editForm.dispose();
                    el.setStyle('display', displayStyle);
                    el.fireEvent('mouseleave');
                    }
                }
            });

            var cancelButton = new Element('input', {
                'id': 'cancel_' + elId,
                'type': 'reset',
                'value': this.options.inputCanc,
                'events': {
                    'click': function() {
                    editForm.dispose();
                    el.setStyle('display', displayStyle);
                    el.fireEvent('mouseleave');
                    }
                }
            });

            editField.inject(editForm);
            lb = new Element('br').inject(editField, 'after');
            okButton.inject(editForm);
            cancelButton.inject(editForm);

            var myeffect = new Fx.Tween(el, {duration: 500});

            el.addEvents({
                'mouseenter': function() {
                    el.setStyle('background-color', this.options.hoverColor);
                    el.addClass('eip-hover');
                }.bind(this),

                'mouseleave': function() {
                    myeffect.start('background-color', this.options.hoverColor, this.options.leaveColor);
                    el.removeClass('eip-hover');
                }.bind(this),

                'click': function() {
                    el.setStyle('display', 'none');
                    editField.value = (el.hasClass('input')) ? elValue.trim() : elValue.trim().replace(new RegExp('&lt;br /&gt;', 'gi'),'\n');
                    editForm.inject(el, 'after');
                    editField.focus();
                    el.removeClass('eip-hover');
                }
            });
        }, this);
    }
});
</pre>
<h3>The javascript in the page:</h3>
<pre class="brush: xml;">
&lt;script src=&quot;js/mootools-1.2.3-core.js&quot; type=&quot;text/javascript&quot;  charset=&quot;utf-8&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;js/moo-eip-min.js&quot; type=&quot;text/javascript&quot;  charset=&quot;utf-8&quot;&gt;&lt;/script&gt;

&lt;script type=&quot;text/javascript&quot;  charset=&quot;utf-8&quot;&gt;
//&lt;![CDATA[
window.addEvent('domready', function() {
    var eip = new MooEip('edit.php');
});
//]]&gt;
&lt;/script&gt;

&lt;!-- style for moo-eip --&gt;
&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;css/style.css&quot; /&gt;
&lt;!-- /style for moo-eip --&gt;
</pre>
<h3>The html</h3>
<pre class="brush: xml;">
&lt;div class=&quot;eip input&quot; id=&quot;id_0&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;eip&quot; id=&quot;id_1&quot; style=&quot;overflow:hidden;height:100px&quot;&gt;
this is a editable text 1 with overflow of the text hidden and height fixed in 100px.
&lt;/div&gt;
&lt;div class=&quot;eip&quot; id=&quot;id_2&quot;&gt;
this is a editable text 2.
&lt;/div&gt;
</pre>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow" class="thickbox" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F10%2F26%2Fmootools-edit-in-place%2F&amp;t=mootools%20Edit%20In%20Place?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://delicious.com/post?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F10%2F26%2Fmootools-edit-in-place%2F&amp;title=mootools%20Edit%20In%20Place&amp;notes=Here%20is%20my%20Mootools%20class%20that%20I%20use%20for%20make%20edit%20in%20place%20text.%0D%0A%0D%0AVIEW%20THE%20EXAMPLE%20FILE%0D%0A%0D%0AUse%20this%20class%20is%20very%20simple%3A%0D%0A%0D%0AFirst%20need%20to%20have%20mootools%201.2%20javascript%20library%0D%0ASecond%20download%20MooEip%20class%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0AThe%20class%3A%0D%0A%5Bcode%20language%3D%22ja?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://twitter.com/home?status=mootools%20Edit%20In%20Place%20-%20http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F10%2F26%2Fmootools-edit-in-place%2F" title="Twitter"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F10%2F26%2Fmootools-edit-in-place%2F&amp;title=mootools%20Edit%20In%20Place&amp;annotation=Here%20is%20my%20Mootools%20class%20that%20I%20use%20for%20make%20edit%20in%20place%20text.%0D%0A%0D%0AVIEW%20THE%20EXAMPLE%20FILE%0D%0A%0D%0AUse%20this%20class%20is%20very%20simple%3A%0D%0A%0D%0AFirst%20need%20to%20have%20mootools%201.2%20javascript%20library%0D%0ASecond%20download%20MooEip%20class%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0AThe%20class%3A%0D%0A%5Bcode%20language%3D%22ja?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F10%2F26%2Fmootools-edit-in-place%2F&amp;title=mootools%20Edit%20In%20Place&amp;bodytext=Here%20is%20my%20Mootools%20class%20that%20I%20use%20for%20make%20edit%20in%20place%20text.%0D%0A%0D%0AVIEW%20THE%20EXAMPLE%20FILE%0D%0A%0D%0AUse%20this%20class%20is%20very%20simple%3A%0D%0A%0D%0AFirst%20need%20to%20have%20mootools%201.2%20javascript%20library%0D%0ASecond%20download%20MooEip%20class%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0AThe%20class%3A%0D%0A%5Bcode%20language%3D%22ja?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://technorati.com/faves?add=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F10%2F26%2Fmootools-edit-in-place%2F?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F10%2F26%2Fmootools-edit-in-place%2F&amp;t=mootools%20Edit%20In%20Place" title="MySpace"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F10%2F26%2Fmootools-edit-in-place%2F&amp;title=mootools%20Edit%20In%20Place?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F10%2F26%2Fmootools-edit-in-place%2F&amp;Title=mootools%20Edit%20In%20Place" title="BlinkList"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/blinklist.png" title="BlinkList" alt="BlinkList" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="javascript:AddToFavorites();" title="Add to favorites"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/addtofavorites.png" title="Add to favorites" alt="Add to favorites" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="mailto:?subject=mootools%20Edit%20In%20Place&amp;body=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F10%2F26%2Fmootools-edit-in-place%2F" title="email"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://davidecaffaratti.com/feed/?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F10%2F26%2Fmootools-edit-in-place%2F&amp;title=mootools%20Edit%20In%20Place?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://bitacoras.com/anotaciones/http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F10%2F26%2Fmootools-edit-in-place%2F?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/bitacoras.png" title="Bitacoras.com" alt="Bitacoras.com" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://blogmarks.net/my/new.php?mini=1&amp;simple=1&amp;url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F10%2F26%2Fmootools-edit-in-place%2F&amp;title=mootools%20Edit%20In%20Place?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/blogmarks.png" title="blogmarks" alt="blogmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.blogospherenews.com/submit.php?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F10%2F26%2Fmootools-edit-in-place%2F&amp;title=mootools%20Edit%20In%20Place?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/blogospherenews.png" title="Blogosphere News" alt="Blogosphere News" class="sociable-hovers" /></a></li>
	<li><a  href="http://blogplay.com" title="Blogplay"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/blogplay.png" title="Blogplay" alt="Blogplay" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.connotea.org/addpopup?continue=confirm&amp;uri=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F10%2F26%2Fmootools-edit-in-place%2F&amp;title=mootools%20Edit%20In%20Place&amp;description=Here%20is%20my%20Mootools%20class%20that%20I%20use%20for%20make%20edit%20in%20place%20text.%0D%0A%0D%0AVIEW%20THE%20EXAMPLE%20FILE%0D%0A%0D%0AUse%20this%20class%20is%20very%20simple%3A%0D%0A%0D%0AFirst%20need%20to%20have%20mootools%201.2%20javascript%20library%0D%0ASecond%20download%20MooEip%20class%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0AThe%20class%3A%0D%0A%5Bcode%20language%3D%22ja?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/connotea.png" title="connotea" alt="connotea" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://current.com/clipper.htm?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F10%2F26%2Fmootools-edit-in-place%2F&amp;title=mootools%20Edit%20In%20Place?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/current.png" title="Current" alt="Current" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.diggita.it/submit.php?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F10%2F26%2Fmootools-edit-in-place%2F&title=mootools%20Edit%20In%20Place?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/diggita.png" title="Diggita" alt="Diggita" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.diigo.com/post?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F10%2F26%2Fmootools-edit-in-place%2F&amp;title=mootools%20Edit%20In%20Place?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/diigo.png" title="Diigo" alt="Diigo" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F10%2F26%2Fmootools-edit-in-place%2F&amp;title=mootools%20Edit%20In%20Place?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.ekudos.nl/artikel/nieuw?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F10%2F26%2Fmootools-edit-in-place%2F&amp;title=mootools%20Edit%20In%20Place&amp;desc=Here%20is%20my%20Mootools%20class%20that%20I%20use%20for%20make%20edit%20in%20place%20text.%0D%0A%0D%0AVIEW%20THE%20EXAMPLE%20FILE%0D%0A%0D%0AUse%20this%20class%20is%20very%20simple%3A%0D%0A%0D%0AFirst%20need%20to%20have%20mootools%201.2%20javascript%20library%0D%0ASecond%20download%20MooEip%20class%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0AThe%20class%3A%0D%0A%5Bcode%20language%3D%22ja?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/ekudos.png" title="eKudos" alt="eKudos" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://internetmedia.hu/submit.php?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F10%2F26%2Fmootools-edit-in-place%2F?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/im.png" title="Internetmedia" alt="Internetmedia" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F10%2F26%2Fmootools-edit-in-place%2F&amp;title=mootools%20Edit%20In%20Place&amp;source=Davide+Caffaratti+blog+My+own+personal+blog+and+my+works&amp;summary=Here%20is%20my%20Mootools%20class%20that%20I%20use%20for%20make%20edit%20in%20place%20text.%0D%0A%0D%0AVIEW%20THE%20EXAMPLE%20FILE%0D%0A%0D%0AUse%20this%20class%20is%20very%20simple%3A%0D%0A%0D%0AFirst%20need%20to%20have%20mootools%201.2%20javascript%20library%0D%0ASecond%20download%20MooEip%20class%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0AThe%20class%3A%0D%0A%5Bcode%20language%3D%22ja?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://reporter.nl.msn.com/?fn=contribute&amp;Title=mootools%20Edit%20In%20Place&amp;URL=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F10%2F26%2Fmootools-edit-in-place%2F&amp;cat_id=6&amp;tag_id=31&amp;Remark=Here%20is%20my%20Mootools%20class%20that%20I%20use%20for%20make%20edit%20in%20place%20text.%0D%0A%0D%0AVIEW%20THE%20EXAMPLE%20FILE%0D%0A%0D%0AUse%20this%20class%20is%20very%20simple%3A%0D%0A%0D%0AFirst%20need%20to%20have%20mootools%201.2%20javascript%20library%0D%0ASecond%20download%20MooEip%20class%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0AThe%20class%3A%0D%0A%5Bcode%20language%3D%22ja?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/msnreporter.png" title="MSN Reporter" alt="MSN Reporter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://reddit.com/submit?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F10%2F26%2Fmootools-edit-in-place%2F&amp;title=mootools%20Edit%20In%20Place?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.scoopeo.com/scoop/new?newurl=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F10%2F26%2Fmootools-edit-in-place%2F&amp;title=mootools%20Edit%20In%20Place?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/scoopeo.png" title="Scoopeo" alt="Scoopeo" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://segnalo.alice.it/post.html.php?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F10%2F26%2Fmootools-edit-in-place%2F&amp;title=mootools%20Edit%20In%20Place?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/segnalo.png" title="Segnalo" alt="Segnalo" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://slashdot.org/bookmark.pl?title=mootools%20Edit%20In%20Place&amp;url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F10%2F26%2Fmootools-edit-in-place%2F?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://socialogs.com/add_story.php?story_url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F10%2F26%2Fmootools-edit-in-place%2F&amp;story_title=mootools%20Edit%20In%20Place?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/socialogs.png" title="Socialogs" alt="Socialogs" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow" class="thickbox" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F10%2F26%2Fmootools-edit-in-place%2F?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://davidecaffaratti.com/2009/10/26/mootools-edit-in-place/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>MooSkype 1.1</title>
		<link>http://davidecaffaratti.com/2009/07/29/mooskype-1-1/</link>
		<comments>http://davidecaffaratti.com/2009/07/29/mooskype-1-1/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 17:15:18 +0000</pubDate>
		<dc:creator>Davide</dc:creator>
				<category><![CDATA[Library]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[mootools]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[Classes]]></category>
		<category><![CDATA[skype]]></category>

		<guid isPermaLink="false">http://davidecaffaratti.com/?p=372</guid>
		<description><![CDATA[New version of moo-skype Add var ajaxProxy for set ajax proxy Add css file for style the skype buttom Add onLine example : VIEW THE EXAMPLE FILE Share and Enjoy:]]></description>
			<content:encoded><![CDATA[<p>New version of moo-skype</p>
<ul>
<li>Add var <strong>ajaxProxy </strong>for set ajax proxy<strong><br />
</strong></li>
<li>Add css file for style the skype buttom</li>
</ul>
<p>Add onLine example :</p>
<p><strong></strong><strong><a href="../mootools/moo-skype/">VIEW THE EXAMPLE FILE</a></strong></p>
<p><a href="http://davidecaffaratti.com/upload/moo-skype.zip" title="download MooSkype class"><img src="http://davidecaffaratti.com/wp-content/plugins/download-monitor/img/download.gif" alt="download" style="float:left;width:300px;" /></a><div style="float:left;width:auto;line-height:25px;margin-top:30px;margin-left:15px;"><b>Size:</b> 68.42 KB<br /><b>Hits :</b> 17</div><br style="clear:both;" /><strong><br />
</strong></p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow" class="thickbox" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F07%2F29%2Fmooskype-1-1%2F&amp;t=MooSkype%201.1?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://delicious.com/post?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F07%2F29%2Fmooskype-1-1%2F&amp;title=MooSkype%201.1&amp;notes=New%20version%20of%20moo-skype%0D%0A%0D%0A%09Add%20var%20ajaxProxy%20for%20set%20ajax%20proxy%0D%0A%0D%0A%09Add%20css%20file%20for%20style%20the%20skype%20buttom%0D%0A%0D%0AAdd%20onLine%20example%20%3A%0D%0A%0D%0AVIEW%20THE%20EXAMPLE%20FILE%0D%0A%0D%0A%0D%0A?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://twitter.com/home?status=MooSkype%201.1%20-%20http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F07%2F29%2Fmooskype-1-1%2F" title="Twitter"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F07%2F29%2Fmooskype-1-1%2F&amp;title=MooSkype%201.1&amp;annotation=New%20version%20of%20moo-skype%0D%0A%0D%0A%09Add%20var%20ajaxProxy%20for%20set%20ajax%20proxy%0D%0A%0D%0A%09Add%20css%20file%20for%20style%20the%20skype%20buttom%0D%0A%0D%0AAdd%20onLine%20example%20%3A%0D%0A%0D%0AVIEW%20THE%20EXAMPLE%20FILE%0D%0A%0D%0A%0D%0A?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F07%2F29%2Fmooskype-1-1%2F&amp;title=MooSkype%201.1&amp;bodytext=New%20version%20of%20moo-skype%0D%0A%0D%0A%09Add%20var%20ajaxProxy%20for%20set%20ajax%20proxy%0D%0A%0D%0A%09Add%20css%20file%20for%20style%20the%20skype%20buttom%0D%0A%0D%0AAdd%20onLine%20example%20%3A%0D%0A%0D%0AVIEW%20THE%20EXAMPLE%20FILE%0D%0A%0D%0A%0D%0A?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://technorati.com/faves?add=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F07%2F29%2Fmooskype-1-1%2F?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F07%2F29%2Fmooskype-1-1%2F&amp;t=MooSkype%201.1" title="MySpace"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F07%2F29%2Fmooskype-1-1%2F&amp;title=MooSkype%201.1?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F07%2F29%2Fmooskype-1-1%2F&amp;Title=MooSkype%201.1" title="BlinkList"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/blinklist.png" title="BlinkList" alt="BlinkList" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="javascript:AddToFavorites();" title="Add to favorites"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/addtofavorites.png" title="Add to favorites" alt="Add to favorites" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="mailto:?subject=MooSkype%201.1&amp;body=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F07%2F29%2Fmooskype-1-1%2F" title="email"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://davidecaffaratti.com/feed/?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F07%2F29%2Fmooskype-1-1%2F&amp;title=MooSkype%201.1?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://bitacoras.com/anotaciones/http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F07%2F29%2Fmooskype-1-1%2F?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/bitacoras.png" title="Bitacoras.com" alt="Bitacoras.com" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://blogmarks.net/my/new.php?mini=1&amp;simple=1&amp;url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F07%2F29%2Fmooskype-1-1%2F&amp;title=MooSkype%201.1?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/blogmarks.png" title="blogmarks" alt="blogmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.blogospherenews.com/submit.php?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F07%2F29%2Fmooskype-1-1%2F&amp;title=MooSkype%201.1?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/blogospherenews.png" title="Blogosphere News" alt="Blogosphere News" class="sociable-hovers" /></a></li>
	<li><a  href="http://blogplay.com" title="Blogplay"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/blogplay.png" title="Blogplay" alt="Blogplay" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.connotea.org/addpopup?continue=confirm&amp;uri=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F07%2F29%2Fmooskype-1-1%2F&amp;title=MooSkype%201.1&amp;description=New%20version%20of%20moo-skype%0D%0A%0D%0A%09Add%20var%20ajaxProxy%20for%20set%20ajax%20proxy%0D%0A%0D%0A%09Add%20css%20file%20for%20style%20the%20skype%20buttom%0D%0A%0D%0AAdd%20onLine%20example%20%3A%0D%0A%0D%0AVIEW%20THE%20EXAMPLE%20FILE%0D%0A%0D%0A%0D%0A?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/connotea.png" title="connotea" alt="connotea" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://current.com/clipper.htm?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F07%2F29%2Fmooskype-1-1%2F&amp;title=MooSkype%201.1?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/current.png" title="Current" alt="Current" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.diggita.it/submit.php?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F07%2F29%2Fmooskype-1-1%2F&title=MooSkype%201.1?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/diggita.png" title="Diggita" alt="Diggita" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.diigo.com/post?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F07%2F29%2Fmooskype-1-1%2F&amp;title=MooSkype%201.1?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/diigo.png" title="Diigo" alt="Diigo" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F07%2F29%2Fmooskype-1-1%2F&amp;title=MooSkype%201.1?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.ekudos.nl/artikel/nieuw?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F07%2F29%2Fmooskype-1-1%2F&amp;title=MooSkype%201.1&amp;desc=New%20version%20of%20moo-skype%0D%0A%0D%0A%09Add%20var%20ajaxProxy%20for%20set%20ajax%20proxy%0D%0A%0D%0A%09Add%20css%20file%20for%20style%20the%20skype%20buttom%0D%0A%0D%0AAdd%20onLine%20example%20%3A%0D%0A%0D%0AVIEW%20THE%20EXAMPLE%20FILE%0D%0A%0D%0A%0D%0A?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/ekudos.png" title="eKudos" alt="eKudos" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://internetmedia.hu/submit.php?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F07%2F29%2Fmooskype-1-1%2F?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/im.png" title="Internetmedia" alt="Internetmedia" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F07%2F29%2Fmooskype-1-1%2F&amp;title=MooSkype%201.1&amp;source=Davide+Caffaratti+blog+My+own+personal+blog+and+my+works&amp;summary=New%20version%20of%20moo-skype%0D%0A%0D%0A%09Add%20var%20ajaxProxy%20for%20set%20ajax%20proxy%0D%0A%0D%0A%09Add%20css%20file%20for%20style%20the%20skype%20buttom%0D%0A%0D%0AAdd%20onLine%20example%20%3A%0D%0A%0D%0AVIEW%20THE%20EXAMPLE%20FILE%0D%0A%0D%0A%0D%0A?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://reporter.nl.msn.com/?fn=contribute&amp;Title=MooSkype%201.1&amp;URL=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F07%2F29%2Fmooskype-1-1%2F&amp;cat_id=6&amp;tag_id=31&amp;Remark=New%20version%20of%20moo-skype%0D%0A%0D%0A%09Add%20var%20ajaxProxy%20for%20set%20ajax%20proxy%0D%0A%0D%0A%09Add%20css%20file%20for%20style%20the%20skype%20buttom%0D%0A%0D%0AAdd%20onLine%20example%20%3A%0D%0A%0D%0AVIEW%20THE%20EXAMPLE%20FILE%0D%0A%0D%0A%0D%0A?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/msnreporter.png" title="MSN Reporter" alt="MSN Reporter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://reddit.com/submit?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F07%2F29%2Fmooskype-1-1%2F&amp;title=MooSkype%201.1?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.scoopeo.com/scoop/new?newurl=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F07%2F29%2Fmooskype-1-1%2F&amp;title=MooSkype%201.1?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/scoopeo.png" title="Scoopeo" alt="Scoopeo" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://segnalo.alice.it/post.html.php?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F07%2F29%2Fmooskype-1-1%2F&amp;title=MooSkype%201.1?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/segnalo.png" title="Segnalo" alt="Segnalo" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://slashdot.org/bookmark.pl?title=MooSkype%201.1&amp;url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F07%2F29%2Fmooskype-1-1%2F?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://socialogs.com/add_story.php?story_url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F07%2F29%2Fmooskype-1-1%2F&amp;story_title=MooSkype%201.1?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/socialogs.png" title="Socialogs" alt="Socialogs" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow" class="thickbox" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F07%2F29%2Fmooskype-1-1%2F?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://davidecaffaratti.com/2009/07/29/mooskype-1-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MooSkype</title>
		<link>http://davidecaffaratti.com/2009/06/13/mooskype/</link>
		<comments>http://davidecaffaratti.com/2009/06/13/mooskype/#comments</comments>
		<pubDate>Sat, 13 Jun 2009 02:52:56 +0000</pubDate>
		<dc:creator>Davide</dc:creator>
				<category><![CDATA[Library]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[mootools]]></category>
		<category><![CDATA[Classes]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[skype]]></category>

		<guid isPermaLink="false">http://davidecaffaratti.com/?p=327</guid>
		<description><![CDATA[This is my new little class fot print Skype button status with mootools library. It have a nice effect for the button taken from http://davidwalsh.name/skype-mootools. Thanks David Your site is a good reference for me VIEW THE EXAMPLE FILE var MooSkype = new Class({ Implements: [Options], options: { // Flag use efect useEffect: true, // [...]]]></description>
			<content:encoded><![CDATA[<p>This is my new little class fot print Skype button status with mootools library.</p>
<p>It have a nice effect for the button taken from <a href="http://davidwalsh.name/skype-mootools" target="_blank">http://davidwalsh.name/skype-mootools</a>.</p>
<p>Thanks David Your site is a good reference for me <img src='http://davidecaffaratti.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><strong><a href="../mootools/moo-skype/">VIEW THE EXAMPLE FILE</a></strong></p>
<a href="http://davidecaffaratti.com/upload/moo-skype.zip" title="download MooSkype class"><img src="http://davidecaffaratti.com/wp-content/plugins/download-monitor/img/download.gif" alt="download" style="float:left;width:300px;" /></a><div style="float:left;width:auto;line-height:25px;margin-top:30px;margin-left:15px;"><b>Size:</b> 68.42 KB<br /><b>Hits :</b> 17</div><br style="clear:both;" />
<p><span id="more-327"></span></p>
<pre class="brush: plain;">var MooSkype = new Class({

Implements: [Options],

options: {
// Flag use efect
useEffect: true,
// Class name for hock skype button action
element: 'skype-button',
// Class name for the skype image
image: 'skype-image',
// Default action when user is disponible
defaultAction: 'call',
// Default language, possibles: 'en','de','fr','it','pl','ja','es','pt','pt-br','se','zh-cn','zh-tw'
language: 'en',
// Path to images
imagesPath: 'img/',
// Path to languages
languagesPath: './languages/'
},

initialize: function(options) {
this.setOptions(options);

this.setSkype();
},

setSkype: function() {
// charge js language
new Asset.javascript(this.options.languagesPath + this.options.language + '.js', {id: 'skypeLanguage'});

var href = $(this.options.element).getProperty('href');
var tmpUser = href.replace('skype:', '');
var user = tmpUser.replace(tmpUser.substring(tmpUser.lastIndexOf('?'),tmpUser.length), '');

var request = new Request({
url: 'http://localhost/moo-skype/proxy.php',
method: 'get',
data: 'user=' + user,
onFailure: function() {
this.getButton(user, 0);
}.bind(this),
onSuccess: function(resp){
this.getButton(user, resp.toInt());
}.bind(this)
});
request.send();
},

getButton: function(user, status) {
var link = $(this.options.element);
var img = $(this.options.image).clone();
var statusText = i18n[status];

switch(status){
case 2:
case 3:
case 7:
var href = link.set({'href': 'skype:' + user + '?' + this.options.defaultAction, 'title': statusText, 'text': statusText});
break;
default:
var href = link.set({'href': 'skype:' + user + '?add', 'title': statusText, 'text': statusText});
}

img.set({'src': this.options.imagesPath + status + '.gif', 'alt': statusText}).inject(href, 'top');

if (this.options.useEffect) {
this.setEffect(img);
}
},

setEffect: function(img) {
var running = false;

var fx2 = new Fx.Morph(img, {duration: 100, link: 'chain', onChainComplete:function() { running = false; } });
var fx1 = new Fx.Morph(img, {duration: 200, link: 'chain', onComplete:function() {
fx2.start({'top':'-7px'}).start({'top':'-4px'}).start({'top':'-6px'}).start({'top':'-4px'});
}
});
img.addEvent('mouseenter',function() {
if(!running) {
fx1.start({'top':'-10px'}).start({'top':'-4px'});
running = true;
}
});
}
})</pre>
<p><strong>For initialize the class use this:</strong></p>
<pre class="brush: plain;">window.addEvent('domready', function() {
var skype = new MooSkype({'language':'es'});
});</pre>
<p><strong>The html is here:</strong></p>
<pre class="brush: plain;">&lt;div&gt;
&lt;a href=&quot;skype:davcaffa?call&quot; id=&quot;skype-button&quot;&gt;
&lt;img src=&quot;img/2.gif&quot; alt=&quot;Call me&quot; id=&quot;skype-image&quot; /&gt;Call me&lt;/a&gt;
&lt;/div&gt;</pre>
<p>For use the ajax call need to use a proxy that read the state of users on skype server.</p>
<p>Here is the script:</p>
<pre class="brush: plain;">&lt;?php
if (!isset($_GET['user'])) {
echo 0;
}
else {
echo file_get_contents('http://mystatus.skype.com/'.$_GET['user'].'.num');
}
?&gt;</pre>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow" class="thickbox" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F13%2Fmooskype%2F&amp;t=MooSkype?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://delicious.com/post?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F13%2Fmooskype%2F&amp;title=MooSkype&amp;notes=This%20is%20my%20new%20little%20class%20fot%20print%20Skype%20button%20status%20with%20mootools%20library.%0D%0A%0D%0AIt%20have%20a%20nice%20effect%20for%20the%20button%20taken%20from%20http%3A%2F%2Fdavidwalsh.name%2Fskype-mootools.%0D%0A%0D%0AThanks%20David%20Your%20site%20is%20a%20good%20reference%20for%20me%20%3B%29%0D%0A%0D%0AVIEW%20THE%20EXAMPLE%20FIL?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://twitter.com/home?status=MooSkype%20-%20http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F13%2Fmooskype%2F" title="Twitter"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F13%2Fmooskype%2F&amp;title=MooSkype&amp;annotation=This%20is%20my%20new%20little%20class%20fot%20print%20Skype%20button%20status%20with%20mootools%20library.%0D%0A%0D%0AIt%20have%20a%20nice%20effect%20for%20the%20button%20taken%20from%20http%3A%2F%2Fdavidwalsh.name%2Fskype-mootools.%0D%0A%0D%0AThanks%20David%20Your%20site%20is%20a%20good%20reference%20for%20me%20%3B%29%0D%0A%0D%0AVIEW%20THE%20EXAMPLE%20FIL?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F13%2Fmooskype%2F&amp;title=MooSkype&amp;bodytext=This%20is%20my%20new%20little%20class%20fot%20print%20Skype%20button%20status%20with%20mootools%20library.%0D%0A%0D%0AIt%20have%20a%20nice%20effect%20for%20the%20button%20taken%20from%20http%3A%2F%2Fdavidwalsh.name%2Fskype-mootools.%0D%0A%0D%0AThanks%20David%20Your%20site%20is%20a%20good%20reference%20for%20me%20%3B%29%0D%0A%0D%0AVIEW%20THE%20EXAMPLE%20FIL?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://technorati.com/faves?add=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F13%2Fmooskype%2F?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F13%2Fmooskype%2F&amp;t=MooSkype" title="MySpace"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F13%2Fmooskype%2F&amp;title=MooSkype?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F13%2Fmooskype%2F&amp;Title=MooSkype" title="BlinkList"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/blinklist.png" title="BlinkList" alt="BlinkList" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="javascript:AddToFavorites();" title="Add to favorites"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/addtofavorites.png" title="Add to favorites" alt="Add to favorites" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="mailto:?subject=MooSkype&amp;body=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F13%2Fmooskype%2F" title="email"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://davidecaffaratti.com/feed/?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F13%2Fmooskype%2F&amp;title=MooSkype?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://bitacoras.com/anotaciones/http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F13%2Fmooskype%2F?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/bitacoras.png" title="Bitacoras.com" alt="Bitacoras.com" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://blogmarks.net/my/new.php?mini=1&amp;simple=1&amp;url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F13%2Fmooskype%2F&amp;title=MooSkype?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/blogmarks.png" title="blogmarks" alt="blogmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.blogospherenews.com/submit.php?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F13%2Fmooskype%2F&amp;title=MooSkype?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/blogospherenews.png" title="Blogosphere News" alt="Blogosphere News" class="sociable-hovers" /></a></li>
	<li><a  href="http://blogplay.com" title="Blogplay"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/blogplay.png" title="Blogplay" alt="Blogplay" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.connotea.org/addpopup?continue=confirm&amp;uri=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F13%2Fmooskype%2F&amp;title=MooSkype&amp;description=This%20is%20my%20new%20little%20class%20fot%20print%20Skype%20button%20status%20with%20mootools%20library.%0D%0A%0D%0AIt%20have%20a%20nice%20effect%20for%20the%20button%20taken%20from%20http%3A%2F%2Fdavidwalsh.name%2Fskype-mootools.%0D%0A%0D%0AThanks%20David%20Your%20site%20is%20a%20good%20reference%20for%20me%20%3B%29%0D%0A%0D%0AVIEW%20THE%20EXAMPLE%20FIL?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/connotea.png" title="connotea" alt="connotea" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://current.com/clipper.htm?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F13%2Fmooskype%2F&amp;title=MooSkype?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/current.png" title="Current" alt="Current" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.diggita.it/submit.php?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F13%2Fmooskype%2F&title=MooSkype?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/diggita.png" title="Diggita" alt="Diggita" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.diigo.com/post?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F13%2Fmooskype%2F&amp;title=MooSkype?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/diigo.png" title="Diigo" alt="Diigo" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F13%2Fmooskype%2F&amp;title=MooSkype?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.ekudos.nl/artikel/nieuw?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F13%2Fmooskype%2F&amp;title=MooSkype&amp;desc=This%20is%20my%20new%20little%20class%20fot%20print%20Skype%20button%20status%20with%20mootools%20library.%0D%0A%0D%0AIt%20have%20a%20nice%20effect%20for%20the%20button%20taken%20from%20http%3A%2F%2Fdavidwalsh.name%2Fskype-mootools.%0D%0A%0D%0AThanks%20David%20Your%20site%20is%20a%20good%20reference%20for%20me%20%3B%29%0D%0A%0D%0AVIEW%20THE%20EXAMPLE%20FIL?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/ekudos.png" title="eKudos" alt="eKudos" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://internetmedia.hu/submit.php?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F13%2Fmooskype%2F?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/im.png" title="Internetmedia" alt="Internetmedia" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F13%2Fmooskype%2F&amp;title=MooSkype&amp;source=Davide+Caffaratti+blog+My+own+personal+blog+and+my+works&amp;summary=This%20is%20my%20new%20little%20class%20fot%20print%20Skype%20button%20status%20with%20mootools%20library.%0D%0A%0D%0AIt%20have%20a%20nice%20effect%20for%20the%20button%20taken%20from%20http%3A%2F%2Fdavidwalsh.name%2Fskype-mootools.%0D%0A%0D%0AThanks%20David%20Your%20site%20is%20a%20good%20reference%20for%20me%20%3B%29%0D%0A%0D%0AVIEW%20THE%20EXAMPLE%20FIL?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://reporter.nl.msn.com/?fn=contribute&amp;Title=MooSkype&amp;URL=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F13%2Fmooskype%2F&amp;cat_id=6&amp;tag_id=31&amp;Remark=This%20is%20my%20new%20little%20class%20fot%20print%20Skype%20button%20status%20with%20mootools%20library.%0D%0A%0D%0AIt%20have%20a%20nice%20effect%20for%20the%20button%20taken%20from%20http%3A%2F%2Fdavidwalsh.name%2Fskype-mootools.%0D%0A%0D%0AThanks%20David%20Your%20site%20is%20a%20good%20reference%20for%20me%20%3B%29%0D%0A%0D%0AVIEW%20THE%20EXAMPLE%20FIL?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/msnreporter.png" title="MSN Reporter" alt="MSN Reporter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://reddit.com/submit?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F13%2Fmooskype%2F&amp;title=MooSkype?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.scoopeo.com/scoop/new?newurl=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F13%2Fmooskype%2F&amp;title=MooSkype?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/scoopeo.png" title="Scoopeo" alt="Scoopeo" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://segnalo.alice.it/post.html.php?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F13%2Fmooskype%2F&amp;title=MooSkype?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/segnalo.png" title="Segnalo" alt="Segnalo" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://slashdot.org/bookmark.pl?title=MooSkype&amp;url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F13%2Fmooskype%2F?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://socialogs.com/add_story.php?story_url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F13%2Fmooskype%2F&amp;story_title=MooSkype?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/socialogs.png" title="Socialogs" alt="Socialogs" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow" class="thickbox" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F13%2Fmooskype%2F?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://davidecaffaratti.com/2009/06/13/mooskype/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mootools swap image 1.1.1</title>
		<link>http://davidecaffaratti.com/2009/06/11/mootools-swap-image-111/</link>
		<comments>http://davidecaffaratti.com/2009/06/11/mootools-swap-image-111/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 00:19:34 +0000</pubDate>
		<dc:creator>Davide</dc:creator>
				<category><![CDATA[Library]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[mootools]]></category>
		<category><![CDATA[Classes]]></category>
		<category><![CDATA[images]]></category>

		<guid isPermaLink="false">http://davidecaffaratti.com/?p=311</guid>
		<description><![CDATA[Little optimization for the class code and add optional transation for the images. Add example in the zip file VIEW THE EXAMPLE FILE Share and Enjoy:]]></description>
			<content:encoded><![CDATA[<p>Little optimization for the class code and add optional transation for the images.</p>
<p>Add example in the zip file <img src='http://davidecaffaratti.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong><a href="http://davidecaffaratti.com/mootools/moo-swap-images/">VIEW THE EXAMPLE FILE</a></strong></p>
<a href="http://davidecaffaratti.com/upload/moo-swap-images1.zip" title="download Mootools swap images"><img src="http://davidecaffaratti.com/wp-content/plugins/download-monitor/img/download.gif" alt="download" style="float:left;width:300px;" /></a><div style="float:left;width:auto;line-height:25px;margin-top:30px;margin-left:15px;"><b>Size:</b> 98.12 KB<br /><b>Hits :</b> 440</div><br style="clear:both;" />

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow" class="thickbox" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F11%2Fmootools-swap-image-111%2F&amp;t=Mootools%20swap%20image%201.1.1?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://delicious.com/post?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F11%2Fmootools-swap-image-111%2F&amp;title=Mootools%20swap%20image%201.1.1&amp;notes=Little%20optimization%20for%20the%20class%20code%20and%20add%20optional%20transation%20for%20the%20images.%0D%0A%0D%0AAdd%20example%20in%20the%20zip%20file%20%3A%29%0D%0A%0D%0AVIEW%20THE%20EXAMPLE%20FILE%0D%0A%0D%0A?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://twitter.com/home?status=Mootools%20swap%20image%201.1.1%20-%20http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F11%2Fmootools-swap-image-111%2F" title="Twitter"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F11%2Fmootools-swap-image-111%2F&amp;title=Mootools%20swap%20image%201.1.1&amp;annotation=Little%20optimization%20for%20the%20class%20code%20and%20add%20optional%20transation%20for%20the%20images.%0D%0A%0D%0AAdd%20example%20in%20the%20zip%20file%20%3A%29%0D%0A%0D%0AVIEW%20THE%20EXAMPLE%20FILE%0D%0A%0D%0A?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F11%2Fmootools-swap-image-111%2F&amp;title=Mootools%20swap%20image%201.1.1&amp;bodytext=Little%20optimization%20for%20the%20class%20code%20and%20add%20optional%20transation%20for%20the%20images.%0D%0A%0D%0AAdd%20example%20in%20the%20zip%20file%20%3A%29%0D%0A%0D%0AVIEW%20THE%20EXAMPLE%20FILE%0D%0A%0D%0A?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://technorati.com/faves?add=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F11%2Fmootools-swap-image-111%2F?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F11%2Fmootools-swap-image-111%2F&amp;t=Mootools%20swap%20image%201.1.1" title="MySpace"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F11%2Fmootools-swap-image-111%2F&amp;title=Mootools%20swap%20image%201.1.1?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F11%2Fmootools-swap-image-111%2F&amp;Title=Mootools%20swap%20image%201.1.1" title="BlinkList"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/blinklist.png" title="BlinkList" alt="BlinkList" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="javascript:AddToFavorites();" title="Add to favorites"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/addtofavorites.png" title="Add to favorites" alt="Add to favorites" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="mailto:?subject=Mootools%20swap%20image%201.1.1&amp;body=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F11%2Fmootools-swap-image-111%2F" title="email"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://davidecaffaratti.com/feed/?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F11%2Fmootools-swap-image-111%2F&amp;title=Mootools%20swap%20image%201.1.1?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://bitacoras.com/anotaciones/http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F11%2Fmootools-swap-image-111%2F?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/bitacoras.png" title="Bitacoras.com" alt="Bitacoras.com" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://blogmarks.net/my/new.php?mini=1&amp;simple=1&amp;url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F11%2Fmootools-swap-image-111%2F&amp;title=Mootools%20swap%20image%201.1.1?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/blogmarks.png" title="blogmarks" alt="blogmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.blogospherenews.com/submit.php?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F11%2Fmootools-swap-image-111%2F&amp;title=Mootools%20swap%20image%201.1.1?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/blogospherenews.png" title="Blogosphere News" alt="Blogosphere News" class="sociable-hovers" /></a></li>
	<li><a  href="http://blogplay.com" title="Blogplay"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/blogplay.png" title="Blogplay" alt="Blogplay" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.connotea.org/addpopup?continue=confirm&amp;uri=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F11%2Fmootools-swap-image-111%2F&amp;title=Mootools%20swap%20image%201.1.1&amp;description=Little%20optimization%20for%20the%20class%20code%20and%20add%20optional%20transation%20for%20the%20images.%0D%0A%0D%0AAdd%20example%20in%20the%20zip%20file%20%3A%29%0D%0A%0D%0AVIEW%20THE%20EXAMPLE%20FILE%0D%0A%0D%0A?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/connotea.png" title="connotea" alt="connotea" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://current.com/clipper.htm?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F11%2Fmootools-swap-image-111%2F&amp;title=Mootools%20swap%20image%201.1.1?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/current.png" title="Current" alt="Current" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.diggita.it/submit.php?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F11%2Fmootools-swap-image-111%2F&title=Mootools%20swap%20image%201.1.1?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/diggita.png" title="Diggita" alt="Diggita" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.diigo.com/post?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F11%2Fmootools-swap-image-111%2F&amp;title=Mootools%20swap%20image%201.1.1?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/diigo.png" title="Diigo" alt="Diigo" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F11%2Fmootools-swap-image-111%2F&amp;title=Mootools%20swap%20image%201.1.1?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.ekudos.nl/artikel/nieuw?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F11%2Fmootools-swap-image-111%2F&amp;title=Mootools%20swap%20image%201.1.1&amp;desc=Little%20optimization%20for%20the%20class%20code%20and%20add%20optional%20transation%20for%20the%20images.%0D%0A%0D%0AAdd%20example%20in%20the%20zip%20file%20%3A%29%0D%0A%0D%0AVIEW%20THE%20EXAMPLE%20FILE%0D%0A%0D%0A?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/ekudos.png" title="eKudos" alt="eKudos" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://internetmedia.hu/submit.php?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F11%2Fmootools-swap-image-111%2F?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/im.png" title="Internetmedia" alt="Internetmedia" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F11%2Fmootools-swap-image-111%2F&amp;title=Mootools%20swap%20image%201.1.1&amp;source=Davide+Caffaratti+blog+My+own+personal+blog+and+my+works&amp;summary=Little%20optimization%20for%20the%20class%20code%20and%20add%20optional%20transation%20for%20the%20images.%0D%0A%0D%0AAdd%20example%20in%20the%20zip%20file%20%3A%29%0D%0A%0D%0AVIEW%20THE%20EXAMPLE%20FILE%0D%0A%0D%0A?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://reporter.nl.msn.com/?fn=contribute&amp;Title=Mootools%20swap%20image%201.1.1&amp;URL=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F11%2Fmootools-swap-image-111%2F&amp;cat_id=6&amp;tag_id=31&amp;Remark=Little%20optimization%20for%20the%20class%20code%20and%20add%20optional%20transation%20for%20the%20images.%0D%0A%0D%0AAdd%20example%20in%20the%20zip%20file%20%3A%29%0D%0A%0D%0AVIEW%20THE%20EXAMPLE%20FILE%0D%0A%0D%0A?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/msnreporter.png" title="MSN Reporter" alt="MSN Reporter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://reddit.com/submit?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F11%2Fmootools-swap-image-111%2F&amp;title=Mootools%20swap%20image%201.1.1?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.scoopeo.com/scoop/new?newurl=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F11%2Fmootools-swap-image-111%2F&amp;title=Mootools%20swap%20image%201.1.1?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/scoopeo.png" title="Scoopeo" alt="Scoopeo" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://segnalo.alice.it/post.html.php?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F11%2Fmootools-swap-image-111%2F&amp;title=Mootools%20swap%20image%201.1.1?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/segnalo.png" title="Segnalo" alt="Segnalo" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://slashdot.org/bookmark.pl?title=Mootools%20swap%20image%201.1.1&amp;url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F11%2Fmootools-swap-image-111%2F?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://socialogs.com/add_story.php?story_url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F11%2Fmootools-swap-image-111%2F&amp;story_title=Mootools%20swap%20image%201.1.1?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/socialogs.png" title="Socialogs" alt="Socialogs" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow" class="thickbox" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F11%2Fmootools-swap-image-111%2F?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://davidecaffaratti.com/2009/06/11/mootools-swap-image-111/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moo Slider</title>
		<link>http://davidecaffaratti.com/2009/06/09/moo-slider/</link>
		<comments>http://davidecaffaratti.com/2009/06/09/moo-slider/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 22:21:32 +0000</pubDate>
		<dc:creator>Davide</dc:creator>
				<category><![CDATA[Library]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[mootools]]></category>
		<category><![CDATA[Classes]]></category>

		<guid isPermaLink="false">http://davidecaffaratti.com/?p=290</guid>
		<description><![CDATA[This is my simple class for make content slider more simple. With this class can made multiple text slider and configure text, styles and more. VIEW THE EXAMPLE FILE var MooSlider = new Class({ Implements: [Options], options: { createToggle: true, tagToggle: 'a', cssHide: '.hide', cssToggle: '.toggle', slideDuration: 340, slideMode: 'vertical', slideTransitions: Fx.Transitions.Bounce.easeOut, textOpen: '+ Open', [...]]]></description>
			<content:encoded><![CDATA[<p>This is my simple class for make content slider more simple.</p>
<p>With this class can made multiple text slider and configure text, styles and more.</p>
<p><strong><a href="../mootools/moo-slider/">VIEW THE EXAMPLE FILE</a></strong></p>
<a href="http://davidecaffaratti.com/upload/moo-slider.zip" title="download Mootools slider"><img src="http://davidecaffaratti.com/wp-content/plugins/download-monitor/img/download.gif" alt="download" style="float:left;width:300px;" /></a><div style="float:left;width:auto;line-height:25px;margin-top:30px;margin-left:15px;"><b>Size:</b> 42.03 KB<br /><b>Hits :</b> 286</div><br style="clear:both;" />
<pre class="brush: plain;">
var MooSlider = new Class({

Implements: [Options],

options: {
createToggle: true,
tagToggle: 'a',
cssHide: '.hide',
cssToggle: '.toggle',
slideDuration: 340,
slideMode: 'vertical',
slideTransitions: Fx.Transitions.Bounce.easeOut,
textOpen: '+ Open',
textClose: '- Close',
elementsOpen: []
},

initialize: function(elements, options) {
this.setOptions(options);

// Set elements
this.setSlide(elements);
},

setSlide: function(elements) {
var status = {
'true': this.options.textOpen,
'false': this.options.textClose
};

$$(elements).each(function(div){

var isClose = (this.options.elementsOpen.indexOf(div.getProperty('id')) == -1);

if (this.options.createToggle) {
var link = new Element(this.options.tagToggle, { 'html': isClose?this.options.textOpen:this.options.textClose, 'class': this.options.cssToggle.replace('.',''), 'style': 'cursor:pointer;' } ).inject(div, 'top');
}
else {
var link = div.getElement(this.options.cssToggle).setStyle('cursor', 'pointer').set('class', this.options.cssToggle.replace('.',''));
}

this.hide = div.getElement(this.options.cssHide);

var fx = new Fx.Slide(this.hide, {
duration: this.options.slideDuration,
mode: this.options.slideMode,
transition: this.options.slideTransitions
})

fx.addEvent('complete', function() {
link.set('html', fx.open?status[false]:status[true]);
});

if (isClose) {
fx.hide();
}
else {
fx.show();
}

link.addEvent('click', function(e){
e.stop();
fx.toggle();
});

}, this);
}
})
</pre>
<p>For init the class use this:</p>
<pre class="brush: plain;">
&lt;script src=&quot;mootools-1.2.2-core.js&quot; type=&quot;text/javascript&quot;  charset=&quot;utf-8&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;mootools-1.2.2.2-more.js&quot; type=&quot;text/javascript&quot;  charset=&quot;utf-8&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;moo-slider-min.js&quot; type=&quot;text/javascript&quot;  charset=&quot;utf-8&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;  charset=&quot;utf-8&quot;&gt;
//&lt;![CDATA[
window.addEvent('domready', function() {
&lt;pre id=&quot;line1&quot;&gt;    var slider = new MooSlider('.slide', {
    createToggle: true,
    tagToggle: 'a',
    cssHide: '.hide',
    cssToggle: '.toggle',
    slideDuration:340,
    slideMode: 'vertical',
    slideTransitions: Fx.Transitions.Pow.easeOut,
    textOpen: '+ View more',
    textClose: '- Close more',
    elementsOpen: []
    });
});
//]]&gt;&lt;/pre&gt;
&lt;/script&gt;
</pre>
<p>And this is the html for the sliders contents:</p>
<pre class="brush: plain;">
&lt;div class=&quot;slide&quot;&gt;
&lt;div class=&quot;hide&quot;&gt;
&lt;h1&gt;Slide 1&lt;/h1&gt;
This is my html code for this slide
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;slide&quot;&gt;
&lt;div class=&quot;hide&quot;&gt;
&lt;h1&gt;Slide 2&lt;/h1&gt;
This is my html code for this slide
&lt;/div&gt;
&lt;/div&gt;
</pre>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow" class="thickbox" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F09%2Fmoo-slider%2F&amp;t=Moo%20Slider?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://delicious.com/post?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F09%2Fmoo-slider%2F&amp;title=Moo%20Slider&amp;notes=This%20is%20my%20simple%20class%20for%20make%20content%20slider%20more%20simple.%0D%0A%0D%0AWith%20this%20class%20can%20made%20multiple%20text%20slider%20and%20configure%20text%2C%20styles%20and%20more.%0D%0A%0D%0AVIEW%20THE%20EXAMPLE%20FILE%0D%0A%0D%0A%0D%0A%0D%0A%5Bcode%20type%3D%22javascript%22%5D%0D%0Avar%20MooSlider%20%3D%20new%20Class%28%7B%0D%0A%0D%0AImplements%3A%20%5BO?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://twitter.com/home?status=Moo%20Slider%20-%20http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F09%2Fmoo-slider%2F" title="Twitter"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F09%2Fmoo-slider%2F&amp;title=Moo%20Slider&amp;annotation=This%20is%20my%20simple%20class%20for%20make%20content%20slider%20more%20simple.%0D%0A%0D%0AWith%20this%20class%20can%20made%20multiple%20text%20slider%20and%20configure%20text%2C%20styles%20and%20more.%0D%0A%0D%0AVIEW%20THE%20EXAMPLE%20FILE%0D%0A%0D%0A%0D%0A%0D%0A%5Bcode%20type%3D%22javascript%22%5D%0D%0Avar%20MooSlider%20%3D%20new%20Class%28%7B%0D%0A%0D%0AImplements%3A%20%5BO?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F09%2Fmoo-slider%2F&amp;title=Moo%20Slider&amp;bodytext=This%20is%20my%20simple%20class%20for%20make%20content%20slider%20more%20simple.%0D%0A%0D%0AWith%20this%20class%20can%20made%20multiple%20text%20slider%20and%20configure%20text%2C%20styles%20and%20more.%0D%0A%0D%0AVIEW%20THE%20EXAMPLE%20FILE%0D%0A%0D%0A%0D%0A%0D%0A%5Bcode%20type%3D%22javascript%22%5D%0D%0Avar%20MooSlider%20%3D%20new%20Class%28%7B%0D%0A%0D%0AImplements%3A%20%5BO?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://technorati.com/faves?add=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F09%2Fmoo-slider%2F?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F09%2Fmoo-slider%2F&amp;t=Moo%20Slider" title="MySpace"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F09%2Fmoo-slider%2F&amp;title=Moo%20Slider?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F09%2Fmoo-slider%2F&amp;Title=Moo%20Slider" title="BlinkList"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/blinklist.png" title="BlinkList" alt="BlinkList" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="javascript:AddToFavorites();" title="Add to favorites"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/addtofavorites.png" title="Add to favorites" alt="Add to favorites" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="mailto:?subject=Moo%20Slider&amp;body=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F09%2Fmoo-slider%2F" title="email"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://davidecaffaratti.com/feed/?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F09%2Fmoo-slider%2F&amp;title=Moo%20Slider?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://bitacoras.com/anotaciones/http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F09%2Fmoo-slider%2F?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/bitacoras.png" title="Bitacoras.com" alt="Bitacoras.com" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://blogmarks.net/my/new.php?mini=1&amp;simple=1&amp;url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F09%2Fmoo-slider%2F&amp;title=Moo%20Slider?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/blogmarks.png" title="blogmarks" alt="blogmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.blogospherenews.com/submit.php?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F09%2Fmoo-slider%2F&amp;title=Moo%20Slider?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/blogospherenews.png" title="Blogosphere News" alt="Blogosphere News" class="sociable-hovers" /></a></li>
	<li><a  href="http://blogplay.com" title="Blogplay"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/blogplay.png" title="Blogplay" alt="Blogplay" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.connotea.org/addpopup?continue=confirm&amp;uri=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F09%2Fmoo-slider%2F&amp;title=Moo%20Slider&amp;description=This%20is%20my%20simple%20class%20for%20make%20content%20slider%20more%20simple.%0D%0A%0D%0AWith%20this%20class%20can%20made%20multiple%20text%20slider%20and%20configure%20text%2C%20styles%20and%20more.%0D%0A%0D%0AVIEW%20THE%20EXAMPLE%20FILE%0D%0A%0D%0A%0D%0A%0D%0A%5Bcode%20type%3D%22javascript%22%5D%0D%0Avar%20MooSlider%20%3D%20new%20Class%28%7B%0D%0A%0D%0AImplements%3A%20%5BO?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/connotea.png" title="connotea" alt="connotea" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://current.com/clipper.htm?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F09%2Fmoo-slider%2F&amp;title=Moo%20Slider?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/current.png" title="Current" alt="Current" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.diggita.it/submit.php?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F09%2Fmoo-slider%2F&title=Moo%20Slider?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/diggita.png" title="Diggita" alt="Diggita" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.diigo.com/post?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F09%2Fmoo-slider%2F&amp;title=Moo%20Slider?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/diigo.png" title="Diigo" alt="Diigo" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F09%2Fmoo-slider%2F&amp;title=Moo%20Slider?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.ekudos.nl/artikel/nieuw?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F09%2Fmoo-slider%2F&amp;title=Moo%20Slider&amp;desc=This%20is%20my%20simple%20class%20for%20make%20content%20slider%20more%20simple.%0D%0A%0D%0AWith%20this%20class%20can%20made%20multiple%20text%20slider%20and%20configure%20text%2C%20styles%20and%20more.%0D%0A%0D%0AVIEW%20THE%20EXAMPLE%20FILE%0D%0A%0D%0A%0D%0A%0D%0A%5Bcode%20type%3D%22javascript%22%5D%0D%0Avar%20MooSlider%20%3D%20new%20Class%28%7B%0D%0A%0D%0AImplements%3A%20%5BO?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/ekudos.png" title="eKudos" alt="eKudos" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://internetmedia.hu/submit.php?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F09%2Fmoo-slider%2F?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/im.png" title="Internetmedia" alt="Internetmedia" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F09%2Fmoo-slider%2F&amp;title=Moo%20Slider&amp;source=Davide+Caffaratti+blog+My+own+personal+blog+and+my+works&amp;summary=This%20is%20my%20simple%20class%20for%20make%20content%20slider%20more%20simple.%0D%0A%0D%0AWith%20this%20class%20can%20made%20multiple%20text%20slider%20and%20configure%20text%2C%20styles%20and%20more.%0D%0A%0D%0AVIEW%20THE%20EXAMPLE%20FILE%0D%0A%0D%0A%0D%0A%0D%0A%5Bcode%20type%3D%22javascript%22%5D%0D%0Avar%20MooSlider%20%3D%20new%20Class%28%7B%0D%0A%0D%0AImplements%3A%20%5BO?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://reporter.nl.msn.com/?fn=contribute&amp;Title=Moo%20Slider&amp;URL=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F09%2Fmoo-slider%2F&amp;cat_id=6&amp;tag_id=31&amp;Remark=This%20is%20my%20simple%20class%20for%20make%20content%20slider%20more%20simple.%0D%0A%0D%0AWith%20this%20class%20can%20made%20multiple%20text%20slider%20and%20configure%20text%2C%20styles%20and%20more.%0D%0A%0D%0AVIEW%20THE%20EXAMPLE%20FILE%0D%0A%0D%0A%0D%0A%0D%0A%5Bcode%20type%3D%22javascript%22%5D%0D%0Avar%20MooSlider%20%3D%20new%20Class%28%7B%0D%0A%0D%0AImplements%3A%20%5BO?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/msnreporter.png" title="MSN Reporter" alt="MSN Reporter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://reddit.com/submit?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F09%2Fmoo-slider%2F&amp;title=Moo%20Slider?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.scoopeo.com/scoop/new?newurl=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F09%2Fmoo-slider%2F&amp;title=Moo%20Slider?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/scoopeo.png" title="Scoopeo" alt="Scoopeo" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://segnalo.alice.it/post.html.php?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F09%2Fmoo-slider%2F&amp;title=Moo%20Slider?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/segnalo.png" title="Segnalo" alt="Segnalo" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://slashdot.org/bookmark.pl?title=Moo%20Slider&amp;url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F09%2Fmoo-slider%2F?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://socialogs.com/add_story.php?story_url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F09%2Fmoo-slider%2F&amp;story_title=Moo%20Slider?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/socialogs.png" title="Socialogs" alt="Socialogs" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow" class="thickbox" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F09%2Fmoo-slider%2F?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://davidecaffaratti.com/2009/06/09/moo-slider/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RockSlideshow for mootools 1.2</title>
		<link>http://davidecaffaratti.com/2009/06/06/rockslideshow-for-mootools-12/</link>
		<comments>http://davidecaffaratti.com/2009/06/06/rockslideshow-for-mootools-12/#comments</comments>
		<pubDate>Sat, 06 Jun 2009 00:41:12 +0000</pubDate>
		<dc:creator>Davide</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[mootools]]></category>
		<category><![CDATA[Classes]]></category>
		<category><![CDATA[images]]></category>

		<guid isPermaLink="false">http://davidecaffaratti.com/?p=287</guid>
		<description><![CDATA[I&#8217;ve see a very nice slideshow used for Jomla and want to use in my sites, but, the nice class was for mootools 1.1 &#8230; Here is the ported version for this nice slideshow Share and Enjoy:]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve see a very nice slideshow used for Jomla and want to use in my sites, but, the nice class was for mootools 1.1 &#8230; Here is the ported version for this nice slideshow</p>
<a href="http://davidecaffaratti.com/upload/standalone_rokslideshow_303.zip" title="download RockSlideshow"><img src="http://davidecaffaratti.com/wp-content/plugins/download-monitor/img/download.gif" alt="download" style="float:left;width:300px;" /></a><div style="float:left;width:auto;line-height:25px;margin-top:30px;margin-left:15px;"><b>Size:</b> 228.91 KB<br /><b>Hits :</b> 338</div><br style="clear:both;" />

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow" class="thickbox" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F06%2Frockslideshow-for-mootools-12%2F&amp;t=RockSlideshow%20for%20mootools%201.2?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://delicious.com/post?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F06%2Frockslideshow-for-mootools-12%2F&amp;title=RockSlideshow%20for%20mootools%201.2&amp;notes=I%27ve%20see%20a%20very%20nice%20slideshow%20used%20for%20Jomla%20and%20want%20to%20use%20in%20my%20sites%2C%20but%2C%20the%20nice%20class%20was%20for%20mootools%201.1%20...%20Here%20is%20the%20ported%20version%20for%20this%20nice%20slideshow%0D%0A%0D%0A?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://twitter.com/home?status=RockSlideshow%20for%20mootools%201.2%20-%20http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F06%2Frockslideshow-for-mootools-12%2F" title="Twitter"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F06%2Frockslideshow-for-mootools-12%2F&amp;title=RockSlideshow%20for%20mootools%201.2&amp;annotation=I%27ve%20see%20a%20very%20nice%20slideshow%20used%20for%20Jomla%20and%20want%20to%20use%20in%20my%20sites%2C%20but%2C%20the%20nice%20class%20was%20for%20mootools%201.1%20...%20Here%20is%20the%20ported%20version%20for%20this%20nice%20slideshow%0D%0A%0D%0A?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F06%2Frockslideshow-for-mootools-12%2F&amp;title=RockSlideshow%20for%20mootools%201.2&amp;bodytext=I%27ve%20see%20a%20very%20nice%20slideshow%20used%20for%20Jomla%20and%20want%20to%20use%20in%20my%20sites%2C%20but%2C%20the%20nice%20class%20was%20for%20mootools%201.1%20...%20Here%20is%20the%20ported%20version%20for%20this%20nice%20slideshow%0D%0A%0D%0A?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://technorati.com/faves?add=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F06%2Frockslideshow-for-mootools-12%2F?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F06%2Frockslideshow-for-mootools-12%2F&amp;t=RockSlideshow%20for%20mootools%201.2" title="MySpace"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F06%2Frockslideshow-for-mootools-12%2F&amp;title=RockSlideshow%20for%20mootools%201.2?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F06%2Frockslideshow-for-mootools-12%2F&amp;Title=RockSlideshow%20for%20mootools%201.2" title="BlinkList"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/blinklist.png" title="BlinkList" alt="BlinkList" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="javascript:AddToFavorites();" title="Add to favorites"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/addtofavorites.png" title="Add to favorites" alt="Add to favorites" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="mailto:?subject=RockSlideshow%20for%20mootools%201.2&amp;body=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F06%2Frockslideshow-for-mootools-12%2F" title="email"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://davidecaffaratti.com/feed/?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F06%2Frockslideshow-for-mootools-12%2F&amp;title=RockSlideshow%20for%20mootools%201.2?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://bitacoras.com/anotaciones/http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F06%2Frockslideshow-for-mootools-12%2F?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/bitacoras.png" title="Bitacoras.com" alt="Bitacoras.com" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://blogmarks.net/my/new.php?mini=1&amp;simple=1&amp;url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F06%2Frockslideshow-for-mootools-12%2F&amp;title=RockSlideshow%20for%20mootools%201.2?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/blogmarks.png" title="blogmarks" alt="blogmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.blogospherenews.com/submit.php?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F06%2Frockslideshow-for-mootools-12%2F&amp;title=RockSlideshow%20for%20mootools%201.2?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/blogospherenews.png" title="Blogosphere News" alt="Blogosphere News" class="sociable-hovers" /></a></li>
	<li><a  href="http://blogplay.com" title="Blogplay"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/blogplay.png" title="Blogplay" alt="Blogplay" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.connotea.org/addpopup?continue=confirm&amp;uri=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F06%2Frockslideshow-for-mootools-12%2F&amp;title=RockSlideshow%20for%20mootools%201.2&amp;description=I%27ve%20see%20a%20very%20nice%20slideshow%20used%20for%20Jomla%20and%20want%20to%20use%20in%20my%20sites%2C%20but%2C%20the%20nice%20class%20was%20for%20mootools%201.1%20...%20Here%20is%20the%20ported%20version%20for%20this%20nice%20slideshow%0D%0A%0D%0A?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/connotea.png" title="connotea" alt="connotea" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://current.com/clipper.htm?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F06%2Frockslideshow-for-mootools-12%2F&amp;title=RockSlideshow%20for%20mootools%201.2?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/current.png" title="Current" alt="Current" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.diggita.it/submit.php?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F06%2Frockslideshow-for-mootools-12%2F&title=RockSlideshow%20for%20mootools%201.2?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/diggita.png" title="Diggita" alt="Diggita" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.diigo.com/post?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F06%2Frockslideshow-for-mootools-12%2F&amp;title=RockSlideshow%20for%20mootools%201.2?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/diigo.png" title="Diigo" alt="Diigo" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F06%2Frockslideshow-for-mootools-12%2F&amp;title=RockSlideshow%20for%20mootools%201.2?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.ekudos.nl/artikel/nieuw?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F06%2Frockslideshow-for-mootools-12%2F&amp;title=RockSlideshow%20for%20mootools%201.2&amp;desc=I%27ve%20see%20a%20very%20nice%20slideshow%20used%20for%20Jomla%20and%20want%20to%20use%20in%20my%20sites%2C%20but%2C%20the%20nice%20class%20was%20for%20mootools%201.1%20...%20Here%20is%20the%20ported%20version%20for%20this%20nice%20slideshow%0D%0A%0D%0A?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/ekudos.png" title="eKudos" alt="eKudos" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://internetmedia.hu/submit.php?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F06%2Frockslideshow-for-mootools-12%2F?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/im.png" title="Internetmedia" alt="Internetmedia" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F06%2Frockslideshow-for-mootools-12%2F&amp;title=RockSlideshow%20for%20mootools%201.2&amp;source=Davide+Caffaratti+blog+My+own+personal+blog+and+my+works&amp;summary=I%27ve%20see%20a%20very%20nice%20slideshow%20used%20for%20Jomla%20and%20want%20to%20use%20in%20my%20sites%2C%20but%2C%20the%20nice%20class%20was%20for%20mootools%201.1%20...%20Here%20is%20the%20ported%20version%20for%20this%20nice%20slideshow%0D%0A%0D%0A?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://reporter.nl.msn.com/?fn=contribute&amp;Title=RockSlideshow%20for%20mootools%201.2&amp;URL=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F06%2Frockslideshow-for-mootools-12%2F&amp;cat_id=6&amp;tag_id=31&amp;Remark=I%27ve%20see%20a%20very%20nice%20slideshow%20used%20for%20Jomla%20and%20want%20to%20use%20in%20my%20sites%2C%20but%2C%20the%20nice%20class%20was%20for%20mootools%201.1%20...%20Here%20is%20the%20ported%20version%20for%20this%20nice%20slideshow%0D%0A%0D%0A?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/msnreporter.png" title="MSN Reporter" alt="MSN Reporter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://reddit.com/submit?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F06%2Frockslideshow-for-mootools-12%2F&amp;title=RockSlideshow%20for%20mootools%201.2?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.scoopeo.com/scoop/new?newurl=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F06%2Frockslideshow-for-mootools-12%2F&amp;title=RockSlideshow%20for%20mootools%201.2?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/scoopeo.png" title="Scoopeo" alt="Scoopeo" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://segnalo.alice.it/post.html.php?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F06%2Frockslideshow-for-mootools-12%2F&amp;title=RockSlideshow%20for%20mootools%201.2?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/segnalo.png" title="Segnalo" alt="Segnalo" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://slashdot.org/bookmark.pl?title=RockSlideshow%20for%20mootools%201.2&amp;url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F06%2Frockslideshow-for-mootools-12%2F?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://socialogs.com/add_story.php?story_url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F06%2Frockslideshow-for-mootools-12%2F&amp;story_title=RockSlideshow%20for%20mootools%201.2?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/socialogs.png" title="Socialogs" alt="Socialogs" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow" class="thickbox" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F06%2Frockslideshow-for-mootools-12%2F?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://davidecaffaratti.com/2009/06/06/rockslideshow-for-mootools-12/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Mootools swap image 1.1</title>
		<link>http://davidecaffaratti.com/2009/06/03/mootools-swap-image-11/</link>
		<comments>http://davidecaffaratti.com/2009/06/03/mootools-swap-image-11/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 01:57:26 +0000</pubDate>
		<dc:creator>Davide</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[mootools]]></category>
		<category><![CDATA[Classes]]></category>
		<category><![CDATA[images]]></category>

		<guid isPermaLink="false">http://davidecaffaratti.com/?p=275</guid>
		<description><![CDATA[Correction for the swap images class: Change the preload images at line 33 imgTemp[i] = new Element('img', {'alt': el.getProperty('alt')}).set('src', newSrc); with imgTemp[i] = new Asset.image(newSrc, {'alt':el.getProperty('alt'),'id':el.getProperty('id')}); Share and Enjoy:]]></description>
			<content:encoded><![CDATA[<p>Correction for the swap images class:<br />
Change the preload images at line 33</p>
<pre class="brush: plain;">

imgTemp[i] = new Element('img', {'alt': el.getProperty('alt')}).set('src', newSrc);
</pre>
<p>with</p>
<pre class="brush: plain;">

imgTemp[i] = new Asset.image(newSrc, {'alt':el.getProperty('alt'),'id':el.getProperty('id')});
</pre>
<a href="http://davidecaffaratti.com/upload/moo-swap-images1.zip" title="download Mootools swap images"><img src="http://davidecaffaratti.com/wp-content/plugins/download-monitor/img/download.gif" alt="download" style="float:left;width:300px;" /></a><div style="float:left;width:auto;line-height:25px;margin-top:30px;margin-left:15px;"><b>Size:</b> 98.12 KB<br /><b>Hits :</b> 440</div><br style="clear:both;" />

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow" class="thickbox" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F03%2Fmootools-swap-image-11%2F&amp;t=Mootools%20swap%20image%201.1?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://delicious.com/post?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F03%2Fmootools-swap-image-11%2F&amp;title=Mootools%20swap%20image%201.1&amp;notes=Correction%20for%20the%20swap%20images%20class%3A%0D%0AChange%20the%20preload%20images%20at%20line%2033%0D%0A%0D%0A%5Bcode%20type%3D%22javascript%22%5D%0D%0A%0D%0AimgTemp%5Bi%5D%20%3D%20new%20Element%28%27img%27%2C%20%7B%27alt%27%3A%20el.getProperty%28%27alt%27%29%7D%29.set%28%27src%27%2C%20newSrc%29%3B%0D%0A%0D%0A%5B%2Fcode%5D%0D%0A%0D%0Awith%0D%0A%0D%0A%5Bcode%20type%3D%22javascript%22%5D%0D%0A%0D%0AimgTemp%5Bi?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://twitter.com/home?status=Mootools%20swap%20image%201.1%20-%20http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F03%2Fmootools-swap-image-11%2F" title="Twitter"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F03%2Fmootools-swap-image-11%2F&amp;title=Mootools%20swap%20image%201.1&amp;annotation=Correction%20for%20the%20swap%20images%20class%3A%0D%0AChange%20the%20preload%20images%20at%20line%2033%0D%0A%0D%0A%5Bcode%20type%3D%22javascript%22%5D%0D%0A%0D%0AimgTemp%5Bi%5D%20%3D%20new%20Element%28%27img%27%2C%20%7B%27alt%27%3A%20el.getProperty%28%27alt%27%29%7D%29.set%28%27src%27%2C%20newSrc%29%3B%0D%0A%0D%0A%5B%2Fcode%5D%0D%0A%0D%0Awith%0D%0A%0D%0A%5Bcode%20type%3D%22javascript%22%5D%0D%0A%0D%0AimgTemp%5Bi?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F03%2Fmootools-swap-image-11%2F&amp;title=Mootools%20swap%20image%201.1&amp;bodytext=Correction%20for%20the%20swap%20images%20class%3A%0D%0AChange%20the%20preload%20images%20at%20line%2033%0D%0A%0D%0A%5Bcode%20type%3D%22javascript%22%5D%0D%0A%0D%0AimgTemp%5Bi%5D%20%3D%20new%20Element%28%27img%27%2C%20%7B%27alt%27%3A%20el.getProperty%28%27alt%27%29%7D%29.set%28%27src%27%2C%20newSrc%29%3B%0D%0A%0D%0A%5B%2Fcode%5D%0D%0A%0D%0Awith%0D%0A%0D%0A%5Bcode%20type%3D%22javascript%22%5D%0D%0A%0D%0AimgTemp%5Bi?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://technorati.com/faves?add=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F03%2Fmootools-swap-image-11%2F?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F03%2Fmootools-swap-image-11%2F&amp;t=Mootools%20swap%20image%201.1" title="MySpace"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F03%2Fmootools-swap-image-11%2F&amp;title=Mootools%20swap%20image%201.1?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F03%2Fmootools-swap-image-11%2F&amp;Title=Mootools%20swap%20image%201.1" title="BlinkList"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/blinklist.png" title="BlinkList" alt="BlinkList" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="javascript:AddToFavorites();" title="Add to favorites"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/addtofavorites.png" title="Add to favorites" alt="Add to favorites" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="mailto:?subject=Mootools%20swap%20image%201.1&amp;body=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F03%2Fmootools-swap-image-11%2F" title="email"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://davidecaffaratti.com/feed/?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F03%2Fmootools-swap-image-11%2F&amp;title=Mootools%20swap%20image%201.1?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://bitacoras.com/anotaciones/http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F03%2Fmootools-swap-image-11%2F?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/bitacoras.png" title="Bitacoras.com" alt="Bitacoras.com" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://blogmarks.net/my/new.php?mini=1&amp;simple=1&amp;url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F03%2Fmootools-swap-image-11%2F&amp;title=Mootools%20swap%20image%201.1?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/blogmarks.png" title="blogmarks" alt="blogmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.blogospherenews.com/submit.php?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F03%2Fmootools-swap-image-11%2F&amp;title=Mootools%20swap%20image%201.1?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/blogospherenews.png" title="Blogosphere News" alt="Blogosphere News" class="sociable-hovers" /></a></li>
	<li><a  href="http://blogplay.com" title="Blogplay"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/blogplay.png" title="Blogplay" alt="Blogplay" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.connotea.org/addpopup?continue=confirm&amp;uri=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F03%2Fmootools-swap-image-11%2F&amp;title=Mootools%20swap%20image%201.1&amp;description=Correction%20for%20the%20swap%20images%20class%3A%0D%0AChange%20the%20preload%20images%20at%20line%2033%0D%0A%0D%0A%5Bcode%20type%3D%22javascript%22%5D%0D%0A%0D%0AimgTemp%5Bi%5D%20%3D%20new%20Element%28%27img%27%2C%20%7B%27alt%27%3A%20el.getProperty%28%27alt%27%29%7D%29.set%28%27src%27%2C%20newSrc%29%3B%0D%0A%0D%0A%5B%2Fcode%5D%0D%0A%0D%0Awith%0D%0A%0D%0A%5Bcode%20type%3D%22javascript%22%5D%0D%0A%0D%0AimgTemp%5Bi?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/connotea.png" title="connotea" alt="connotea" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://current.com/clipper.htm?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F03%2Fmootools-swap-image-11%2F&amp;title=Mootools%20swap%20image%201.1?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/current.png" title="Current" alt="Current" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.diggita.it/submit.php?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F03%2Fmootools-swap-image-11%2F&title=Mootools%20swap%20image%201.1?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/diggita.png" title="Diggita" alt="Diggita" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.diigo.com/post?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F03%2Fmootools-swap-image-11%2F&amp;title=Mootools%20swap%20image%201.1?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/diigo.png" title="Diigo" alt="Diigo" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F03%2Fmootools-swap-image-11%2F&amp;title=Mootools%20swap%20image%201.1?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.ekudos.nl/artikel/nieuw?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F03%2Fmootools-swap-image-11%2F&amp;title=Mootools%20swap%20image%201.1&amp;desc=Correction%20for%20the%20swap%20images%20class%3A%0D%0AChange%20the%20preload%20images%20at%20line%2033%0D%0A%0D%0A%5Bcode%20type%3D%22javascript%22%5D%0D%0A%0D%0AimgTemp%5Bi%5D%20%3D%20new%20Element%28%27img%27%2C%20%7B%27alt%27%3A%20el.getProperty%28%27alt%27%29%7D%29.set%28%27src%27%2C%20newSrc%29%3B%0D%0A%0D%0A%5B%2Fcode%5D%0D%0A%0D%0Awith%0D%0A%0D%0A%5Bcode%20type%3D%22javascript%22%5D%0D%0A%0D%0AimgTemp%5Bi?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/ekudos.png" title="eKudos" alt="eKudos" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://internetmedia.hu/submit.php?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F03%2Fmootools-swap-image-11%2F?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/im.png" title="Internetmedia" alt="Internetmedia" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F03%2Fmootools-swap-image-11%2F&amp;title=Mootools%20swap%20image%201.1&amp;source=Davide+Caffaratti+blog+My+own+personal+blog+and+my+works&amp;summary=Correction%20for%20the%20swap%20images%20class%3A%0D%0AChange%20the%20preload%20images%20at%20line%2033%0D%0A%0D%0A%5Bcode%20type%3D%22javascript%22%5D%0D%0A%0D%0AimgTemp%5Bi%5D%20%3D%20new%20Element%28%27img%27%2C%20%7B%27alt%27%3A%20el.getProperty%28%27alt%27%29%7D%29.set%28%27src%27%2C%20newSrc%29%3B%0D%0A%0D%0A%5B%2Fcode%5D%0D%0A%0D%0Awith%0D%0A%0D%0A%5Bcode%20type%3D%22javascript%22%5D%0D%0A%0D%0AimgTemp%5Bi?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://reporter.nl.msn.com/?fn=contribute&amp;Title=Mootools%20swap%20image%201.1&amp;URL=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F03%2Fmootools-swap-image-11%2F&amp;cat_id=6&amp;tag_id=31&amp;Remark=Correction%20for%20the%20swap%20images%20class%3A%0D%0AChange%20the%20preload%20images%20at%20line%2033%0D%0A%0D%0A%5Bcode%20type%3D%22javascript%22%5D%0D%0A%0D%0AimgTemp%5Bi%5D%20%3D%20new%20Element%28%27img%27%2C%20%7B%27alt%27%3A%20el.getProperty%28%27alt%27%29%7D%29.set%28%27src%27%2C%20newSrc%29%3B%0D%0A%0D%0A%5B%2Fcode%5D%0D%0A%0D%0Awith%0D%0A%0D%0A%5Bcode%20type%3D%22javascript%22%5D%0D%0A%0D%0AimgTemp%5Bi?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/msnreporter.png" title="MSN Reporter" alt="MSN Reporter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://reddit.com/submit?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F03%2Fmootools-swap-image-11%2F&amp;title=Mootools%20swap%20image%201.1?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.scoopeo.com/scoop/new?newurl=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F03%2Fmootools-swap-image-11%2F&amp;title=Mootools%20swap%20image%201.1?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/scoopeo.png" title="Scoopeo" alt="Scoopeo" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://segnalo.alice.it/post.html.php?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F03%2Fmootools-swap-image-11%2F&amp;title=Mootools%20swap%20image%201.1?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/segnalo.png" title="Segnalo" alt="Segnalo" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://slashdot.org/bookmark.pl?title=Mootools%20swap%20image%201.1&amp;url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F03%2Fmootools-swap-image-11%2F?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://socialogs.com/add_story.php?story_url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F03%2Fmootools-swap-image-11%2F&amp;story_title=Mootools%20swap%20image%201.1?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/socialogs.png" title="Socialogs" alt="Socialogs" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow" class="thickbox" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F06%2F03%2Fmootools-swap-image-11%2F?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://davidecaffaratti.com/2009/06/03/mootools-swap-image-11/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Mootools swap image</title>
		<link>http://davidecaffaratti.com/2009/05/09/mootools-swap-image/</link>
		<comments>http://davidecaffaratti.com/2009/05/09/mootools-swap-image/#comments</comments>
		<pubDate>Sat, 09 May 2009 23:19:12 +0000</pubDate>
		<dc:creator>Davide</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[mootools]]></category>
		<category><![CDATA[Classes]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://davidecaffaratti.com/?p=260</guid>
		<description><![CDATA[Here is my Mootools class that I use for swap the source of an image with the same filename + &#8216;_over&#8217; before the extension (&#8216;img.jpg&#8217; will be &#8216;img_over.jpg&#8217;) work fine in firefox3, safari for windows, internet explorer 7. Use this class is very simple: First need to have mootools 1.2 javascript library Second download MooSwap [...]]]></description>
			<content:encoded><![CDATA[<p>Here is my <a href="http://mootools.net" target="_blank">Mootools</a> class that I use for swap the source of an image with the</p>
<p>same filename + &#8216;_over&#8217; before the extension (&#8216;img.jpg&#8217; will be<br />
&#8216;img_over.jpg&#8217;) work fine in firefox3, safari for windows, internet explorer 7.<br />
Use this class is very simple:</p>
<p>First need to have <a href="http://mootools.net/core" target="_blank">mootools 1.2</a> javascript library<br />
Second download MooSwap class</p>
<a href="http://davidecaffaratti.com/upload/moo-swap-images1.zip" title="download Mootools swap images"><img src="http://davidecaffaratti.com/wp-content/plugins/download-monitor/img/download.gif" alt="download" style="float:left;width:300px;" /></a><div style="float:left;width:auto;line-height:25px;margin-top:30px;margin-left:15px;"><b>Size:</b> 98.12 KB<br /><b>Hits :</b> 440</div><br style="clear:both;" />
<h3>The class:</h3>
<pre class="brush: jscript;">
var MooSwap = new Class({

//implements
Implements: [Options],

options: {
imgHoverPrefix: '_hover'
},

initialize: function(elements, options) {
//set options
this.setOptions(options);
// Set elements
this.setSwap(elements);
},

setSwap: function(elements) {

var prefix = this.options.imgHoverPrefix;

// preload images array
imgTemp = [];
i = 0;

$$(elements).each(function(el) {
var mouseFx = new Fx.Tween(el, {duration: 240, wait: false});

var holdSrc = el.getProperty('src');
var extension = holdSrc.substring(holdSrc.lastIndexOf('.'),holdSrc.length);
var newSrc = holdSrc.replace(extension, prefix + '' + extension);

// set new image for preloading
imgTemp[i] = new Asset.image(newSrc, {'alt':el.getProperty('alt'),'id':el.getProperty('id')});
//imgTemp[i] = new Element('img', {'alt': el.getProperty('alt')}).set('src', newSrc);

// default link on current img element
var link = el;

// check if there is a link a href parent
var test = el.getParent('a');
if (test) {
var link = test.setProperty('id', '__link_' + i);
}

link.addEvents({
mouseover: function() {
el.setProperty('src', newSrc);
},
mouseout: function() {
el.setProperty('src', holdSrc);
}
});

i++;
});
}
});
</pre>
<h3>The javascript in the page:</h3>
<pre class="brush: jscript;">
&lt;script src=&quot;mootools-1.2.2-core.js&quot; type=&quot;text/javascript&quot;  charset=&quot;utf-8&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;  charset=&quot;utf-8&quot;&gt;
//&lt;![CDATA[
window.addEvent('domready', function() {
var swap = new MooSwap('.fade img', { imgHoverPrefix:'_hover' });
});
//]]&gt;
&lt;/script&gt;
</pre>
<h3>The html</h3>
<pre class="brush: xml;">
&lt;ul class=&quot;fade&quot;&gt;
&lt;li&gt;&lt;img src=&quot;my-image.jpg&quot; alt=&quot;my title&quot; /&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://mylink/&quot;&gt;&lt;img src=&quot;my-image-1.jpg&quot; alt=&quot;my title 1&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</pre>
<p><strong>Need to have valid</strong><br />
my-image_hover.jpg and my-image-1_hover.jpg</p>
<p>That&#8217;s all <img src='http://davidecaffaratti.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow" class="thickbox" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F05%2F09%2Fmootools-swap-image%2F&amp;t=Mootools%20swap%20image?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://delicious.com/post?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F05%2F09%2Fmootools-swap-image%2F&amp;title=Mootools%20swap%20image&amp;notes=Here%20is%20my%20Mootools%20class%20that%20I%20use%20for%20swap%20the%20source%20of%20an%20image%20with%20the%0D%0A%0D%0Asame%20filename%20%2B%20%27_over%27%20before%20the%20extension%20%28%27img.jpg%27%20will%20be%0D%0A%27img_over.jpg%27%29%20work%20fine%20in%20firefox3%2C%20safari%20for%20windows%2C%20internet%20explorer%207.%0D%0AUse%20this%20class%20is%20very%20?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://twitter.com/home?status=Mootools%20swap%20image%20-%20http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F05%2F09%2Fmootools-swap-image%2F" title="Twitter"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F05%2F09%2Fmootools-swap-image%2F&amp;title=Mootools%20swap%20image&amp;annotation=Here%20is%20my%20Mootools%20class%20that%20I%20use%20for%20swap%20the%20source%20of%20an%20image%20with%20the%0D%0A%0D%0Asame%20filename%20%2B%20%27_over%27%20before%20the%20extension%20%28%27img.jpg%27%20will%20be%0D%0A%27img_over.jpg%27%29%20work%20fine%20in%20firefox3%2C%20safari%20for%20windows%2C%20internet%20explorer%207.%0D%0AUse%20this%20class%20is%20very%20?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F05%2F09%2Fmootools-swap-image%2F&amp;title=Mootools%20swap%20image&amp;bodytext=Here%20is%20my%20Mootools%20class%20that%20I%20use%20for%20swap%20the%20source%20of%20an%20image%20with%20the%0D%0A%0D%0Asame%20filename%20%2B%20%27_over%27%20before%20the%20extension%20%28%27img.jpg%27%20will%20be%0D%0A%27img_over.jpg%27%29%20work%20fine%20in%20firefox3%2C%20safari%20for%20windows%2C%20internet%20explorer%207.%0D%0AUse%20this%20class%20is%20very%20?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://technorati.com/faves?add=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F05%2F09%2Fmootools-swap-image%2F?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F05%2F09%2Fmootools-swap-image%2F&amp;t=Mootools%20swap%20image" title="MySpace"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F05%2F09%2Fmootools-swap-image%2F&amp;title=Mootools%20swap%20image?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F05%2F09%2Fmootools-swap-image%2F&amp;Title=Mootools%20swap%20image" title="BlinkList"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/blinklist.png" title="BlinkList" alt="BlinkList" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="javascript:AddToFavorites();" title="Add to favorites"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/addtofavorites.png" title="Add to favorites" alt="Add to favorites" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="mailto:?subject=Mootools%20swap%20image&amp;body=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F05%2F09%2Fmootools-swap-image%2F" title="email"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://davidecaffaratti.com/feed/?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F05%2F09%2Fmootools-swap-image%2F&amp;title=Mootools%20swap%20image?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://bitacoras.com/anotaciones/http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F05%2F09%2Fmootools-swap-image%2F?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/bitacoras.png" title="Bitacoras.com" alt="Bitacoras.com" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://blogmarks.net/my/new.php?mini=1&amp;simple=1&amp;url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F05%2F09%2Fmootools-swap-image%2F&amp;title=Mootools%20swap%20image?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/blogmarks.png" title="blogmarks" alt="blogmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.blogospherenews.com/submit.php?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F05%2F09%2Fmootools-swap-image%2F&amp;title=Mootools%20swap%20image?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/blogospherenews.png" title="Blogosphere News" alt="Blogosphere News" class="sociable-hovers" /></a></li>
	<li><a  href="http://blogplay.com" title="Blogplay"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/blogplay.png" title="Blogplay" alt="Blogplay" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.connotea.org/addpopup?continue=confirm&amp;uri=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F05%2F09%2Fmootools-swap-image%2F&amp;title=Mootools%20swap%20image&amp;description=Here%20is%20my%20Mootools%20class%20that%20I%20use%20for%20swap%20the%20source%20of%20an%20image%20with%20the%0D%0A%0D%0Asame%20filename%20%2B%20%27_over%27%20before%20the%20extension%20%28%27img.jpg%27%20will%20be%0D%0A%27img_over.jpg%27%29%20work%20fine%20in%20firefox3%2C%20safari%20for%20windows%2C%20internet%20explorer%207.%0D%0AUse%20this%20class%20is%20very%20?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/connotea.png" title="connotea" alt="connotea" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://current.com/clipper.htm?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F05%2F09%2Fmootools-swap-image%2F&amp;title=Mootools%20swap%20image?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/current.png" title="Current" alt="Current" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.diggita.it/submit.php?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F05%2F09%2Fmootools-swap-image%2F&title=Mootools%20swap%20image?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/diggita.png" title="Diggita" alt="Diggita" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.diigo.com/post?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F05%2F09%2Fmootools-swap-image%2F&amp;title=Mootools%20swap%20image?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/diigo.png" title="Diigo" alt="Diigo" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F05%2F09%2Fmootools-swap-image%2F&amp;title=Mootools%20swap%20image?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.ekudos.nl/artikel/nieuw?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F05%2F09%2Fmootools-swap-image%2F&amp;title=Mootools%20swap%20image&amp;desc=Here%20is%20my%20Mootools%20class%20that%20I%20use%20for%20swap%20the%20source%20of%20an%20image%20with%20the%0D%0A%0D%0Asame%20filename%20%2B%20%27_over%27%20before%20the%20extension%20%28%27img.jpg%27%20will%20be%0D%0A%27img_over.jpg%27%29%20work%20fine%20in%20firefox3%2C%20safari%20for%20windows%2C%20internet%20explorer%207.%0D%0AUse%20this%20class%20is%20very%20?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/ekudos.png" title="eKudos" alt="eKudos" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://internetmedia.hu/submit.php?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F05%2F09%2Fmootools-swap-image%2F?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/im.png" title="Internetmedia" alt="Internetmedia" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F05%2F09%2Fmootools-swap-image%2F&amp;title=Mootools%20swap%20image&amp;source=Davide+Caffaratti+blog+My+own+personal+blog+and+my+works&amp;summary=Here%20is%20my%20Mootools%20class%20that%20I%20use%20for%20swap%20the%20source%20of%20an%20image%20with%20the%0D%0A%0D%0Asame%20filename%20%2B%20%27_over%27%20before%20the%20extension%20%28%27img.jpg%27%20will%20be%0D%0A%27img_over.jpg%27%29%20work%20fine%20in%20firefox3%2C%20safari%20for%20windows%2C%20internet%20explorer%207.%0D%0AUse%20this%20class%20is%20very%20?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://reporter.nl.msn.com/?fn=contribute&amp;Title=Mootools%20swap%20image&amp;URL=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F05%2F09%2Fmootools-swap-image%2F&amp;cat_id=6&amp;tag_id=31&amp;Remark=Here%20is%20my%20Mootools%20class%20that%20I%20use%20for%20swap%20the%20source%20of%20an%20image%20with%20the%0D%0A%0D%0Asame%20filename%20%2B%20%27_over%27%20before%20the%20extension%20%28%27img.jpg%27%20will%20be%0D%0A%27img_over.jpg%27%29%20work%20fine%20in%20firefox3%2C%20safari%20for%20windows%2C%20internet%20explorer%207.%0D%0AUse%20this%20class%20is%20very%20?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/msnreporter.png" title="MSN Reporter" alt="MSN Reporter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://reddit.com/submit?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F05%2F09%2Fmootools-swap-image%2F&amp;title=Mootools%20swap%20image?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.scoopeo.com/scoop/new?newurl=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F05%2F09%2Fmootools-swap-image%2F&amp;title=Mootools%20swap%20image?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/scoopeo.png" title="Scoopeo" alt="Scoopeo" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://segnalo.alice.it/post.html.php?url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F05%2F09%2Fmootools-swap-image%2F&amp;title=Mootools%20swap%20image?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/segnalo.png" title="Segnalo" alt="Segnalo" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://slashdot.org/bookmark.pl?title=Mootools%20swap%20image&amp;url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F05%2F09%2Fmootools-swap-image%2F?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://socialogs.com/add_story.php?story_url=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F05%2F09%2Fmootools-swap-image%2F&amp;story_title=Mootools%20swap%20image?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/socialogs.png" title="Socialogs" alt="Socialogs" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow" class="thickbox" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fdavidecaffaratti.com%2F2009%2F05%2F09%2Fmootools-swap-image%2F?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://davidecaffaratti.com/2009/05/09/mootools-swap-image/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Cat Prototype Edit Inline</title>
		<link>http://davidecaffaratti.com/2008/10/13/cat-prototype-edit-inline/</link>
		<comments>http://davidecaffaratti.com/2008/10/13/cat-prototype-edit-inline/#comments</comments>
		<pubDate>Mon, 13 Oct 2008 15:40:41 +0000</pubDate>
		<dc:creator>Davide</dc:creator>
				<category><![CDATA[Library]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Classes]]></category>
		<category><![CDATA[prototype]]></category>

		<guid isPermaLink="false">http://davidecaffaratti.com/?p=53</guid>
		<description><![CDATA[Class Cat Prototype Edit Inline Simple class for &#8220;edit in line&#8221; with prototype javascript library. Click HERE for see the code of this class Here is an example to use this class: &#60; ?php // Include the library include(cat-prototype.inc.php'); $eip = new Cat_Edit_Inline('js/', $_SERVER['PHP_SELF'].'?ajax=on'); // Check if there is an ajax request return false if [...]]]></description>
			<content:encoded><![CDATA[<h3>Class Cat Prototype Edit Inline</h3>
<p>Simple class for &#8220;edit in line&#8221; with prototype javascript library.</p>
<p><a title="See the code" href="http://davidecaffaratti.com/php-code/cat-prototype.phps"><span style="text-decoration: underline;"><strong>Click HERE for see the code of this class</strong></span></a></p>
<p>Here is an example to use this class:</p>
<pre class="brush: php;">&lt; ?php
// Include the library
include(cat-prototype.inc.php');

$eip = new Cat_Edit_Inline('js/', $_SERVER['PHP_SELF'].'?ajax=on');

// Check if there is an ajax request return false if there isn't data return false
$request = $eip-&gt;getAjaxDatas();

if ($request &amp;&amp; isset($_GET['ajax'])) {
// set php header
$this-&gt;setHeaderPhp(false, true);

// empty id
if (!isset($request['id']) || !isset($request['option_id'])) {
print(&quot;Incorrected datas - No id sent !&quot;);
}
// continue
else {
// Update the database
/* update_function(); */

// Print text
print ($request['content']);
}
}
// No ajax data sent
else {
// Set default size of textarea
$this-&gt;setInitEditOptions('size', 80);
// Setto default cols of textarea
$this-&gt;setInitEditOptions('cols', 60);
// Set saving_text
$this-&gt;setInitEditOptions('saving_text', 'Saving...');
// Set text field
$this-&gt;setElement(array('id'=&gt;'field_name','ajax_data'=&gt;array('option_id'=&gt;1)));
// Set body text
$bodyOptions = array('html_start'=&gt;&quot;&lt;em&gt;description of the field&lt;/em&gt;&quot;);
// Set body element
$this-&gt;setElementBody('option_name', 'option_value', $bodyOptions);
// Set textarea field
$this-&gt;setElement(array('id'=&gt;'field_name', 'type'=&gt;'textarea', 'ajax_data'=&gt;array('option_id'=&gt;2)));
// Set body textarea
$bodyOptions = array('html_start'=&gt;&quot;&lt;em&gt;description of the field&lt;/em&gt;&quot;);
// Set body element
$this-&gt;setElementBody('option_name', 'option_value', $bodyOptions);
// Select / Option yes / no
$optionsSelect = array('yes'=&gt;'yes', 'no'=&gt;'no');
$this-&gt;setElement(array('id'=&gt;'field_name', 'type'=&gt;'select', 'options'=&gt;$optionsSelect, 'ajax_data'=&gt;array('option_id'=&gt;2)));
// Set body select
$bodyOptions = array('html_start'=&gt;&quot;&lt;em&gt;description of the field&lt;/em&gt;&quot;);
// Set body element
$this-&gt;setElementBody('option_name', 'option_value', $bodyOptions);
// Inizialize class
$eip-&gt;initEditInline();
// Get header havascript e css
$header = $eip-&gt;getJavascript().$eip-&gt;getCss();

echo
&quot;&lt; !DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head&gt;
Eip demo&quot;.
$header.&quot;
&lt;/head&gt;
&lt;body&gt;

&lt;h1&gt;Eip Demo&lt;/h1&gt;
&lt;div&gt;
&quot;.$eip-&gt;getBody().&quot;
&lt;/div&gt;

&lt;/body&gt;
&lt;/html&gt;&quot;;
}
?&gt;
</pre>
<a href="http://davidecaffaratti.com/upload/cat-prototype.zip" title="download cat-prototype"><img src="http://davidecaffaratti.com/wp-content/plugins/download-monitor/img/download.gif" alt="download" style="float:left;width:300px;" /></a><div style="float:left;width:auto;line-height:25px;margin-top:30px;margin-left:15px;"><b>Size:</b> 18.96 KB<br /><b>Hits :</b> 12</div><br style="clear:both;" />

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow" class="thickbox" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fdavidecaffaratti.com%2F2008%2F10%2F13%2Fcat-prototype-edit-inline%2F&amp;t=Cat%20Prototype%20Edit%20Inline?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://delicious.com/post?url=http%3A%2F%2Fdavidecaffaratti.com%2F2008%2F10%2F13%2Fcat-prototype-edit-inline%2F&amp;title=Cat%20Prototype%20Edit%20Inline&amp;notes=Class%20Cat%20Prototype%20Edit%20Inline%0D%0ASimple%20class%20for%20%22edit%20in%20line%22%20with%20prototype%20javascript%20library.%0D%0A%0D%0AClick%20HERE%20for%20see%20the%20code%20of%20this%20class%0D%0A%0D%0AHere%20is%20an%20example%20to%20use%20this%20class%3A%0D%0A%0D%0A%5Bcode%20language%3D%22php%22%5D%26lt%3B%20%3Fphp%0D%0A%2F%2F%20Include%20the%20library%0D%0Ainclu?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://twitter.com/home?status=Cat%20Prototype%20Edit%20Inline%20-%20http%3A%2F%2Fdavidecaffaratti.com%2F2008%2F10%2F13%2Fcat-prototype-edit-inline%2F" title="Twitter"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fdavidecaffaratti.com%2F2008%2F10%2F13%2Fcat-prototype-edit-inline%2F&amp;title=Cat%20Prototype%20Edit%20Inline&amp;annotation=Class%20Cat%20Prototype%20Edit%20Inline%0D%0ASimple%20class%20for%20%22edit%20in%20line%22%20with%20prototype%20javascript%20library.%0D%0A%0D%0AClick%20HERE%20for%20see%20the%20code%20of%20this%20class%0D%0A%0D%0AHere%20is%20an%20example%20to%20use%20this%20class%3A%0D%0A%0D%0A%5Bcode%20language%3D%22php%22%5D%26lt%3B%20%3Fphp%0D%0A%2F%2F%20Include%20the%20library%0D%0Ainclu?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fdavidecaffaratti.com%2F2008%2F10%2F13%2Fcat-prototype-edit-inline%2F&amp;title=Cat%20Prototype%20Edit%20Inline&amp;bodytext=Class%20Cat%20Prototype%20Edit%20Inline%0D%0ASimple%20class%20for%20%22edit%20in%20line%22%20with%20prototype%20javascript%20library.%0D%0A%0D%0AClick%20HERE%20for%20see%20the%20code%20of%20this%20class%0D%0A%0D%0AHere%20is%20an%20example%20to%20use%20this%20class%3A%0D%0A%0D%0A%5Bcode%20language%3D%22php%22%5D%26lt%3B%20%3Fphp%0D%0A%2F%2F%20Include%20the%20library%0D%0Ainclu?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://technorati.com/faves?add=http%3A%2F%2Fdavidecaffaratti.com%2F2008%2F10%2F13%2Fcat-prototype-edit-inline%2F?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fdavidecaffaratti.com%2F2008%2F10%2F13%2Fcat-prototype-edit-inline%2F&amp;t=Cat%20Prototype%20Edit%20Inline" title="MySpace"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fdavidecaffaratti.com%2F2008%2F10%2F13%2Fcat-prototype-edit-inline%2F&amp;title=Cat%20Prototype%20Edit%20Inline?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Url=http%3A%2F%2Fdavidecaffaratti.com%2F2008%2F10%2F13%2Fcat-prototype-edit-inline%2F&amp;Title=Cat%20Prototype%20Edit%20Inline" title="BlinkList"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/blinklist.png" title="BlinkList" alt="BlinkList" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="javascript:AddToFavorites();" title="Add to favorites"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/addtofavorites.png" title="Add to favorites" alt="Add to favorites" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="mailto:?subject=Cat%20Prototype%20Edit%20Inline&amp;body=http%3A%2F%2Fdavidecaffaratti.com%2F2008%2F10%2F13%2Fcat-prototype-edit-inline%2F" title="email"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://davidecaffaratti.com/feed/?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fdavidecaffaratti.com%2F2008%2F10%2F13%2Fcat-prototype-edit-inline%2F&amp;title=Cat%20Prototype%20Edit%20Inline?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://bitacoras.com/anotaciones/http%3A%2F%2Fdavidecaffaratti.com%2F2008%2F10%2F13%2Fcat-prototype-edit-inline%2F?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/bitacoras.png" title="Bitacoras.com" alt="Bitacoras.com" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://blogmarks.net/my/new.php?mini=1&amp;simple=1&amp;url=http%3A%2F%2Fdavidecaffaratti.com%2F2008%2F10%2F13%2Fcat-prototype-edit-inline%2F&amp;title=Cat%20Prototype%20Edit%20Inline?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/blogmarks.png" title="blogmarks" alt="blogmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.blogospherenews.com/submit.php?url=http%3A%2F%2Fdavidecaffaratti.com%2F2008%2F10%2F13%2Fcat-prototype-edit-inline%2F&amp;title=Cat%20Prototype%20Edit%20Inline?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/blogospherenews.png" title="Blogosphere News" alt="Blogosphere News" class="sociable-hovers" /></a></li>
	<li><a  href="http://blogplay.com" title="Blogplay"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/blogplay.png" title="Blogplay" alt="Blogplay" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.connotea.org/addpopup?continue=confirm&amp;uri=http%3A%2F%2Fdavidecaffaratti.com%2F2008%2F10%2F13%2Fcat-prototype-edit-inline%2F&amp;title=Cat%20Prototype%20Edit%20Inline&amp;description=Class%20Cat%20Prototype%20Edit%20Inline%0D%0ASimple%20class%20for%20%22edit%20in%20line%22%20with%20prototype%20javascript%20library.%0D%0A%0D%0AClick%20HERE%20for%20see%20the%20code%20of%20this%20class%0D%0A%0D%0AHere%20is%20an%20example%20to%20use%20this%20class%3A%0D%0A%0D%0A%5Bcode%20language%3D%22php%22%5D%26lt%3B%20%3Fphp%0D%0A%2F%2F%20Include%20the%20library%0D%0Ainclu?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/connotea.png" title="connotea" alt="connotea" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://current.com/clipper.htm?url=http%3A%2F%2Fdavidecaffaratti.com%2F2008%2F10%2F13%2Fcat-prototype-edit-inline%2F&amp;title=Cat%20Prototype%20Edit%20Inline?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/current.png" title="Current" alt="Current" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.diggita.it/submit.php?url=http%3A%2F%2Fdavidecaffaratti.com%2F2008%2F10%2F13%2Fcat-prototype-edit-inline%2F&title=Cat%20Prototype%20Edit%20Inline?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/diggita.png" title="Diggita" alt="Diggita" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.diigo.com/post?url=http%3A%2F%2Fdavidecaffaratti.com%2F2008%2F10%2F13%2Fcat-prototype-edit-inline%2F&amp;title=Cat%20Prototype%20Edit%20Inline?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/diigo.png" title="Diigo" alt="Diigo" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fdavidecaffaratti.com%2F2008%2F10%2F13%2Fcat-prototype-edit-inline%2F&amp;title=Cat%20Prototype%20Edit%20Inline?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.ekudos.nl/artikel/nieuw?url=http%3A%2F%2Fdavidecaffaratti.com%2F2008%2F10%2F13%2Fcat-prototype-edit-inline%2F&amp;title=Cat%20Prototype%20Edit%20Inline&amp;desc=Class%20Cat%20Prototype%20Edit%20Inline%0D%0ASimple%20class%20for%20%22edit%20in%20line%22%20with%20prototype%20javascript%20library.%0D%0A%0D%0AClick%20HERE%20for%20see%20the%20code%20of%20this%20class%0D%0A%0D%0AHere%20is%20an%20example%20to%20use%20this%20class%3A%0D%0A%0D%0A%5Bcode%20language%3D%22php%22%5D%26lt%3B%20%3Fphp%0D%0A%2F%2F%20Include%20the%20library%0D%0Ainclu?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/ekudos.png" title="eKudos" alt="eKudos" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://internetmedia.hu/submit.php?url=http%3A%2F%2Fdavidecaffaratti.com%2F2008%2F10%2F13%2Fcat-prototype-edit-inline%2F?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/im.png" title="Internetmedia" alt="Internetmedia" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fdavidecaffaratti.com%2F2008%2F10%2F13%2Fcat-prototype-edit-inline%2F&amp;title=Cat%20Prototype%20Edit%20Inline&amp;source=Davide+Caffaratti+blog+My+own+personal+blog+and+my+works&amp;summary=Class%20Cat%20Prototype%20Edit%20Inline%0D%0ASimple%20class%20for%20%22edit%20in%20line%22%20with%20prototype%20javascript%20library.%0D%0A%0D%0AClick%20HERE%20for%20see%20the%20code%20of%20this%20class%0D%0A%0D%0AHere%20is%20an%20example%20to%20use%20this%20class%3A%0D%0A%0D%0A%5Bcode%20language%3D%22php%22%5D%26lt%3B%20%3Fphp%0D%0A%2F%2F%20Include%20the%20library%0D%0Ainclu?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://reporter.nl.msn.com/?fn=contribute&amp;Title=Cat%20Prototype%20Edit%20Inline&amp;URL=http%3A%2F%2Fdavidecaffaratti.com%2F2008%2F10%2F13%2Fcat-prototype-edit-inline%2F&amp;cat_id=6&amp;tag_id=31&amp;Remark=Class%20Cat%20Prototype%20Edit%20Inline%0D%0ASimple%20class%20for%20%22edit%20in%20line%22%20with%20prototype%20javascript%20library.%0D%0A%0D%0AClick%20HERE%20for%20see%20the%20code%20of%20this%20class%0D%0A%0D%0AHere%20is%20an%20example%20to%20use%20this%20class%3A%0D%0A%0D%0A%5Bcode%20language%3D%22php%22%5D%26lt%3B%20%3Fphp%0D%0A%2F%2F%20Include%20the%20library%0D%0Ainclu?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/msnreporter.png" title="MSN Reporter" alt="MSN Reporter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://reddit.com/submit?url=http%3A%2F%2Fdavidecaffaratti.com%2F2008%2F10%2F13%2Fcat-prototype-edit-inline%2F&amp;title=Cat%20Prototype%20Edit%20Inline?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://www.scoopeo.com/scoop/new?newurl=http%3A%2F%2Fdavidecaffaratti.com%2F2008%2F10%2F13%2Fcat-prototype-edit-inline%2F&amp;title=Cat%20Prototype%20Edit%20Inline?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/scoopeo.png" title="Scoopeo" alt="Scoopeo" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://segnalo.alice.it/post.html.php?url=http%3A%2F%2Fdavidecaffaratti.com%2F2008%2F10%2F13%2Fcat-prototype-edit-inline%2F&amp;title=Cat%20Prototype%20Edit%20Inline?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/segnalo.png" title="Segnalo" alt="Segnalo" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://slashdot.org/bookmark.pl?title=Cat%20Prototype%20Edit%20Inline&amp;url=http%3A%2F%2Fdavidecaffaratti.com%2F2008%2F10%2F13%2Fcat-prototype-edit-inline%2F?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" class="thickbox" href="http://socialogs.com/add_story.php?story_url=http%3A%2F%2Fdavidecaffaratti.com%2F2008%2F10%2F13%2Fcat-prototype-edit-inline%2F&amp;story_title=Cat%20Prototype%20Edit%20Inline?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/socialogs.png" title="Socialogs" alt="Socialogs" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow" class="thickbox" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fdavidecaffaratti.com%2F2008%2F10%2F13%2Fcat-prototype-edit-inline%2F?TB_iframe=true&amp;height=500&amp;width=900"><img src="http://davidecaffaratti.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://davidecaffaratti.com/2008/10/13/cat-prototype-edit-inline/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
