Custom source handler for Jquery plugin Levitip
<p>I am developing an application using Jquery and the levitip plugin. I need to write a new source handler in jquery.levitip.js this kind of call to levitip to be possible:</p>

<pre><code>$("Tag").leviTip({sourceType: 'pertsonalizatua', source: '#Mached_Tag_atribute' , addClass: ''});
</code></pre>

<p>I want the levitip to show the element with the same id as <code>$(this).attr(Mached_Tag_atribute)</code></p>

<p>I dont know how the handler would look. I am a newbie in jquery. Thank you.</p>

<p>The handler I wrote so far is this:</p>

<pre><code>$.LeviTip.addSourceHandler({
        type: 'pertsonalizatua',
        prepare: function(levitip)
        {
            if ( levitip.settings.hideSourceElement )
            {
                $(levitip.settings.source).hide();
            }
        },
        get: function(levitip)
        {
            var $e = [];
            if ( levitip.settings.source )
            {
                $e = $(levitip.target).attr(levitip.settings.source);
                if ( $e.length )
                    $e = $e.clone(true).show();
            }
            return $e;
        }
    });
</code></pre>
