Results 1 to 2 of 2
Oct 16, 2012, 09:51 #1
Prevent dragging and dropping links
-webkit-touch-callout: none; . . .-=SunnaH=-
Oct 16, 2012, 10:05 #2
- Join Date
- Jun 2008
- Madison, WI
- 34 Post(s)
- 2 Thread(s)
I am not entirely certain what you are asking, but If I get what you are saying correctly.... on a web page.. its an ALL or NOTHING thing. The text/link is is accessible for the user to do what s/he wishes or its not accessible and the user can do nothing with it.
YOU can , after the fact and using .js ( as CSS only controls appearance, not function) , validate the value of an input to make sure it's valid. In fact , this is a far more logical method that to prevent someone from dragging text or copying a link ( what if they drag a link from another webpage that they have open at the same time... how could you even prevent that?)
In short, validate your form inputs, display error messages if values do not conform to what you were expecting.Tips for better/ faster SitePoint forum answers
Brilliant ideas, elegant execution.
Graphic Design, Art Direction, Copywriting and Web Design.