Two questions that may help someone better address your issue:
1. What version of Prototype/Scriptaculous are you using?
2. Can you post your code somewhere?
TAG
On Jun 28, 2007, at 4:12 PM, [EMAIL PROTECTED] wrote:
>
> Actually, I did some experimenting and it is not actually firing the
> event 10 times every time, it seems to be tied to the number of pixels
> into the droppable that I go. If I hold still, it will stop firing
> but fire the moment I move the draggable, the exact number of times
> for every pixel that I move it. I tried the "greedy" option but it
> looks like it only is for layered droppables and had no effect.
>
> Chris
>
> On Jun 28, 4:42 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>> That worked, thanks for the quick lesson. The next problem is that
>> now when I hover over the drop, the event fires 10 times (the number
>> of items in the prospect class total) instead of just once.
>>
>> Changed the code to:
>>
>> Droppables.add(divIdName, {accept: 'prospect', onHover: function()
>> {showConsultantSchedule(keyVar)} });
>>
>> Thanks!
>>
>> Chris
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" 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/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---