Jump to content

Nic1570047698

Member
  • Posts

    8
  • Joined

  • Last visited

  • Days Won

    2

Nic1570047698 last won the day on July 8 2013

Nic1570047698 had the most liked content!

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Nic1570047698's Achievements

Level 2

Level 2 (2/20)

246

Reputation

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