OZONE Asylum
Forums
DHTML/Javascript
Equivalent JavaScript for FireFox
This page's ID:
29398
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
I have to do drag and drop.Following one is runing well in IE But not in FireFox.Can please any body help me in finding a one for fireFox <html> <head> <title>Test Page</title> <script language="JavaScript" type="text/javascript"> function processDrop() { var link = document.getElementById("link1"); if(window.event) { var abc = window.event.dataTransfer.getData('Text'); alert("Text is " + abc); link.href = window.event.dataTransfer.getData('Text'); link.style.display = "inline"; } return false; } </script> </head> <body> <div id="layer1" style="height:200px; width:200px; border:1px black solid;" ondragover="javascript:return false;" ondragenter="javascript:return false;" ondrop="javascript:processDrop();"></div> <br><br> <a id="link1" style="display:none;"><img id="image1" src="http://www.experts-exchange.com/images/certification.gif" style="border:none;" /></a> </body> </html>
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »