The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Disable Image Drag

View previous topic View next topic 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
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!


Remember to mark your topic when a solution is found.

brandon_g
Support Moderator
Support Moderator

Male Posts : 5344
Reputation : 488
Language : English
Location : USA

http://broadcastingduo.forumotion.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_
Helper
Helper

Male Posts : 2032
Reputation : 302
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
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_
Helper
Helper

Male Posts : 2032
Reputation : 302
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


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