You're right on that one.
Reposition the abort code:
slink.observe('mouseover', function(e) {
if(running==1) {
return
}
running=1
this.elm = Event.element(e);
this.elm_array = new Array();
this.elm_array = elms.without(this.elm);
this.elm_array.each(function(elms) {
elms.fade({
duration: 0.5,
to: 0.3,
scope: 'specials',
limit: '1',
afterFinish:function()
{running=0}
});
});
});
On Dec 17, 6:08 am, Chris <[email protected]> wrote:
> Hi Diodeus,
>
> that wont work for me, because i am runing the function just once.
> This adds the event listeners to all of the images.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---