Jump to content

ryguild

Member
  • Posts

    20
  • Joined

  • Last visited

Posts posted by ryguild

  1. adding this bit to prevent right-click

    
    
    <script type="text/javascript">
         function nocontext(e) {
           var clickedTag = (e==null) ? event.srcElement.tagName : e.target.tagName;
           if (clickedTag == "IMG")
             return false; 
         }
         document.oncontextmenu = nocontext;
       </script>
    <style>img {
     -webkit-user-drag: none;
     -khtml-user-drag: none;
     -moz-user-drag: none;
     -o-user-drag: none;
     user-drag: none;
    } </style>
    
    
    
    
    

×
×
  • 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.