Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dragging an object between windows

Status
Not open for further replies.

SeanJansson

Programmer
Aug 2, 1999
13
0
0
GB

Using javascript.

Can anybody tell me how to drag an object from one browser window & drop it on another.

I'm only concerned with 95/98/NT operating systems.
cheers.

[sig][/sig]
 
If your scripts loaded in these windows came from the same domain you can do this. However script will by much havier than for in-window drag&drop... [sig]<p>Michael Dubner<br>Brainbench MVP/HTML+JavaScript<br>
[/sig]
 

Thanks for letting me know that it can at least be done Michael.

However I was hoping for some pointers as to how to go about coding it. Do I use ondragstart,onmouseup,onmousedown? How can the mouse be changed to the usual &quot;can't drop here&quot; type icon when over the desktop, etc.

Any clues?

Thanks.

[sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top