Disable Image Drag

Go down

Solved Disable Image Drag

Post by FineryWorkshop on February 26th 2015, 3:20 am

Hey, I've tried to disable dragging an image on my site, but every JS script I've tried so far hasn't worked, or only works when you use it for that one picture. 

Do any of you guys know a no image drag JS code I could use and put in my Javascript Code management? 

If you do, thank you so much!


Last edited by FineryWorkshop on February 26th 2015, 3:47 am; edited 1 time in total (Reason for editing : It is now solved <3)
FineryWorkshop
FineryWorkshop
Forumember

Female Posts : 48
Reputation : 1
Language : English
Location : USA

http://NOTREADY.forumotion.com

Back to top Go down

Solved Re: Disable Image Drag

Post by brandon_g on February 26th 2015, 3:28 am

What precissely do you mean by image dragging? Do you mean like holding the mouse and moving it? If so I never even noticed you could drag an image!


Disable Image Drag Brando10
Remember to mark your topic Disable Image Drag Solved15 when a solution is found.
brandon_g
brandon_g
Manager
Manager

Male Posts : 8366
Reputation : 765
Language : English
Location : USA

https://www.broadcastingduo.com

Back to top Go down

Solved Re: Disable Image Drag

Post by _Twisted_Mods_ on February 26th 2015, 3:31 am

acp>display>colors>css

add the code below and save


Code:
.post .content img{pointer-events: none;}
_Twisted_Mods_
_Twisted_Mods_
Helper
Helper

Male Posts : 2106
Reputation : 333
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Disable Image Drag

Post by FineryWorkshop on February 26th 2015, 3:46 am

@_Twisted_Mods_ wrote:acp>display>colors>css

add the code below and save


Code:
.post .content img{pointer-events: none;}
Thank you so much Very Happy  It worked just like I wanted it to ^-^
FineryWorkshop
FineryWorkshop
Forumember

Female Posts : 48
Reputation : 1
Language : English
Location : USA

http://NOTREADY.forumotion.com

Back to top Go down

Solved Re: Disable Image Drag

Post by _Twisted_Mods_ on February 26th 2015, 3:53 am

Topic solved and archived
_Twisted_Mods_
_Twisted_Mods_
Helper
Helper

Male Posts : 2106
Reputation : 333
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum