Please dis-regard...
I had not had enough caffine this morning ..
I had the invoke in a loop so it was setting up X observers
*slaps Head*
Sorry for wasting the server space with my stupid message!!
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Alex McAuley"
To:
Sent: Friday, October 23, 2009 11:26 AM
Subject: [Proto-Scripty] Re: Bizzare goings on again...
>
> To add to it ...
>
> If i add a third element into div#contents it fires three times...
>
> Alex Mcauley
>
> http://www.thevacancymarket.com
>
>
> - Original Message -
> From: "Alex Mcauley"
> To: "Prototype & script.aculo.us"
>
> Sent: Friday, October 23, 2009 11:24 AM
> Subject: [Proto-Scripty] Bizzare goings on again...
>
>
>>
>> I have some really weird behaviour - perhaps someone could enlighten
>> me why its happening as i cant figure it out...
>>
>>
>> Open a window
>> Open a window
>>
>>
>> $$('#contents .windowopener').invoke('observe','dblclick',function
>> (event){
>>
>> alert('I was clicked');
>>
>> });
>>
>> The above script when double clicked gets fired twice for some
>> bizzarre reason and i cant see why it does ...
>>
>> Can anyone help me understand why it gets fired
>>
>> Thanks in advance
>>
>> Alex
>> >
>>
>
>
> >
>
--~--~-~--~~~---~--~~
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 prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~--~~~~--~~--~--~---