REGISTER
|
Search Tycoon Talk
|
Freelancer.com
|
Members
Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.
Register Here
Forum Rules
JavaScript Forum
You are currently viewing our JavaScript Forum as a guest. Please
register
to participate.
Login
Remember Me?
Login via Freelancer.com
Tycoon Talk
>
Web Development and Programming Support
>
JavaScript Forum
>
Preventing DnD on IMGs in Firefox
Link Back
Thread Tools
Search this Thread
Preventing DnD on IMGs in Firefox
09-24-2006, 07:21 PM
#
1
(
permalink
)
Preventing DnD on IMGs in Firefox
amidrunk
Junior Talker
Posts: 1
Name: Nille
Trades:
0
Talkupation:
Hi,
Is it possible to prevent firefox from doing drag and drop on an image? I need to drag an <img...> and its kind of annoying when Firefox tries to do so to...
In IE I do this:
element.ondrag =
function
() {
return
false
; }
Regards,
Nille
Register
now for full access!
09-27-2006, 10:30 AM
#
2
(
permalink
)
Re: Preventing DnD on IMGs in Firefox
funkdaddu
Web Design Snob
Posts: 635
Trades:
0
Talkupation:
You can make the image the background of a DIV instead, then drag n' drop won't work - no JS needed.
« Reply to
Preventing DnD on IMGs in Firefox
Previous Thread
|
Next Thread
Tycoon Talk
>
Web Development and Programming Support
>
JavaScript Forum
>
Preventing DnD on IMGs in Firefox
Thread Tools
Search this Thread
Show Printable Version
Email this Page
Search this Thread
:
Advanced Search
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
BB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Trackbacks
are
Off
Pingbacks
are
Off
Refbacks
are
Off
Forum Rules
Feeds:
RSS
JS
XML
Feeds for this forum:
RSS
JS
XML
LinkBack
LinkBack URL
About LinkBacks
Bookmark & Share
Digg this Thread!
Add Thread to del.icio.us
Bookmark in Technorati
Tweet this thread
Page generated in
0.15836
seconds with
12
queries