Help getting the Sender [SOLVED]

Help getting the Sender [SOLVED]

Hello all,

Thx for u'r time and atention.

I am using qTip, a plugin based on JQuery to help building Tooltips.
plugin website: http://craigsworks.com/projects/qtip/

The broblem is that im getting "text 1" all the time!
I wanted to show "text 1" on the qTip of the 1st item, "text 2" on the 2nd... and so on.

I also tried: $(this).attr('alt')

But it doesn't work!


I really need help with this.


My Html Code
<img src="img/img1.jpg" class="myTip" alt="text 1" />
<img src="img/img2.jpg" class="myTip" alt="text 2" />
<img src="img/img3.jpg" class="myTip" alt="text 3" />
<img src="img/img4.jpg" class="myTip" alt="text 4" />


My JQuery code:

var animEnter = function(){ this.show("bounce", {distance:30, times:3}, length); };

$(".myTip").qtip({
    content: $(".myTip").attr('alt'),
    position:
    {
       corner: {target: 'topMiddle',tooltip: 'bottomMiddle'}
    },
    show:
    {
            effect: {type: animEnter , length: 1000 }
    },
    hide:
    {
            effect: {type: 'fade', length: 300 },
            delay: 200
    },
    style:
    {
            width: 60,
            padding: 4,
            background: 'black',
            color: 'white',
            border: {width: 2, radius: 5, color: 'black'},     
            tip: {size: { x: 10, y: 10}, corner: 'bottomMiddle'},
            name: 'dark'
    }
});


Once again, thx for your time,
And if u can... please help me solve this.

Cheers