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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Preventing Drag and Drop 1

Status
Not open for further replies.

dalvin200

Programmer
Oct 10, 2000
20
GB
Does anyone know how I can prevent a drag from outside the browser window (IE), and dropping onto the browser window (IE)..
example. if i had a gif on my desktop and dragged and dropped it onto the browser window, the image would load up and i would lose what page i previously had. how can i prevent this image from being loaded ?
do i have to use the onUnload event ? if so, do you know any functions to use ?
I need some kind of response ASAP

Thank you. [sig][/sig]
 
I'd be surprised if you could disable this functionality in client code. [sig]<p>nick bulka<br><a href=mailto: > </a><br>[/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top