Title: script.aculo.us Drag and drop functional test file
I don't know what you're trying to accomplish with this, but you are overwriting the innerHTML of one node with that of another than contains an id declaration, so for one thing you no longer have unique ids in your DOM. IE has different behavior than FF with respect to non-unique ids so this is probably your problem.. Anyway, using script tags inside of a div and calling Element.update with the innerHTML to recreate the draggable is not a good idea. You should rethink what you are trying to do exactly.. If you want to replace the innerHTML of a draggable without killing it, wrap the content in  span and Element.update the span instead and your draggable will still work afterwards.

Also, in the future, please don't post attachments. Instead, put up a live page on your own server and post a link.

Thanks,
Colin

David Welton wrote:
Hello,

The attached file works fine with firefox, but fails misearably with
IE6 - tested via Wine under Linux.  I'm encountering a similar problem
in an application of mine in which a container gets replaced.

If it's of any use at all, the ugly IE window says the error is on
line 364, character 5, error is 'object required'.

Any help or ideas would be welcome...

Thankyou,
  



script.aculo.us Drag and drop functional test file

Draggables/Droppables

To be dragged.
Don't drag this

To be dropped on.

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

Reply via email to