Jump to content

Nic1570047698

Member
  • Posts

    8
  • Joined

  • Last visited

  • Days Won

    2

Reputation Activity

  1. Like
    Nic1570047698 got a reaction from nobutan 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
  2. Like
    Nic1570047698 got a reaction from CameraWala 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
  3. Like
    Nic1570047698 got a reaction from Ari 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.