Linda Coleman
2005-Sep-13 19:15 UTC
[Rails-spinoffs] Drag & Drop between two browser windows??
Hi All, I''m just starting out with RoR and scriptaculous so I hope this is the right forum for this question. :) I''d like to use the drag & drop feature to allow users to copy text from a browse/search result to a text box across windows. For example if a user wants to browse for an existing tags, that list might be too long for a auto complete textfield to be helpful. So I''m spawning a new window where users a enter a search string or browse the list. The results are displayed in a list the same window using AJAX. Now I''d like users to be able to grab the bullet in the list and drag it to the text box in the original window. I''ve been trying to find some information on this but all the examples I''ve seen show items being transferred from one list to another within the same window. Is drag & drop across browser windows possible with script.aculo.us? If so, does anyone have any suggestions about how I might go about this or perhaps point me in the right direction? Thanks!! Linda :)
François Beausoleil
2005-Sep-14 09:27 UTC
[Rails-spinoffs] Drag & Drop between two browser windows??
Hi ! I don''t think that would be possible. The elements are tied to their owner document, so they can''t cross the document''s edge. Bye, Fran?ois Linda Coleman said the following on 2005-09-13 19:26:> I''d like to use the drag & drop feature to allow users to copy text from > a browse/search result to a text box across windows.