Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

kgp

Member
  • Content Count

    9
  • Joined

  • Last visited

  • Days Won

    1

Reputation Activity

  1. Like
    kgp reacted to Nic1570047698 in Can I disable viewers 'dragging and dropping' my jpeg images onto their desktop?   
    Hi there,
    Can I disable viewers 'dragging and dropping' my jpeg images onto their desktop?
    I have already implemented code to disable right click (below) --->
    <script src="http://ajax.googleapis.com/ajax/libs/jquery /1.3.2/jquery.min.js" type="text/javascript"></script> <script type="text/javascript" language="javascript"> $(function () { $(this).bind("contextmenu", function (e) { e.preventDefault(); }); }); </script>
    Is there code that will stop users dragging and dropping images aswell or can the above code be altered? I have seen this done on other sites that use HTML.
    Many thanks
×
×
  • Create New...