开发者

Is it possible to drag and drop an element from a different page to a Droppable?

I am trying to get the following requirement to work. I have a test page that has a Droppable area.

<%= drop_receiving_element(
 "basket",
 :onDrop => "function(element) { alert(element) }",
 :url => { :action => "create" }
)%>

What I want to achieve, is to be ab开发者_开发技巧le to drop any links from another browser tab/window onto the Droppable and record that link. Bear in mind that these links will be arbitrary and out of my control so I can't decorate them as Draggable. Is this achievable or am I barking up the wrong tree?

TIA


Not possible I'm afraid. Two browsers = two doms. Maybe possible with google gears, silverlight, and java but not js.

http://www.w3schools.com/htmldom/default.asp

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜