Hey,

Muskel A a écrit :
> I'm also using FF.
> Try moving the mouse around and press F5 while you are doing it. Then
> you will get a ton of the '$A is not defined' errors. The script is
> working fine and just liked to get rid of all those errors.

OK, that's nominal then.  But first, why would the user refresh the page
WHILE scrolling your contents?

Now, you won't have this error in IE, because in IE, Prototype
automatically unregisters all event handlers on page unload.

What you need to do is exactly this, so that your dragging ceases at
page unload, preventing its handlers to keep working on the reloading
page before its initialization is complete.  Try appending this to your
script:

Event.observe(window, 'unload', Event.unloadCache, false);

This should help.

-- 
Christophe Porteneuve aka TDD
[EMAIL PROTECTED]

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to