Jump to content

nobutan

Member
  • Posts

    0
  • Joined

  • Last visited

Reputation Activity

  1. Like
    nobutan 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...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.