D'oh! That's what I get for shooting from the hip (and not reading the
scriptaculous code)!
- Dash -
Tom Gregory wrote:
> That's not the problem. Drag/drop lives (and dies) on the mousemove
> event.
>
> It's a bit hard to help without a complete, minimal code sample (and
> the specific, unhelpful IE error message).
>
> I have two suggestions:
> 1. Check to make sure you don't have a trailing comma after the last
> element your curly braces. (Common problem)
> 2. Because you posted an edited sample.... are you sure the observe()
> is being called *after* pMenu is defined?
>
>
> TAG
>
> On Jun 19, 2007, at 1:29 PM, David Dashifen Kees wrote:
>
>
>> I don't think IE has a mouse movement event. I could be wrong.
>> Hell, I
>> didn't now FireFox did have a mousemove event!
>>
>> - Dash -
>>
>> RighteousRaven wrote:
>>
>>> Does anyone know why this would work in FF2 but not IE7?
>>>
>>> Event.observe(window, 'mousemove', pMenu.watching);
>>>
>>> pMenu = {
>>> .....
>>> watching: function(ev) {
>>> do stuff
>>> },
>>> .....
>>> };
>>>
>>> Thanks,
>>> RR
>>>
>
>
> >
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---