Author Topic: removing the right click disabler?  (Read 3270 times)

0 Members and 1 Guest are viewing this topic.

Offline Shap

  • Full Member
  • ***
  • Posts: 114
    • View Profile
removing the right click disabler?
« on: December 12, 2002, 03:35:36 AM »
how do I remove the right-click disabler?

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
header.html
« Reply #1 on: December 12, 2002, 05:50:48 AM »
Open the header.html template and remove these lines:
Code: [Select]

  function right(e) {
    if (navigator.appName == 'Netscape' && (e.which == 2 || e.which == 3)) {
      alert("© Copyright by {site_name}");
      return false;
    }
    else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button==2 || event.button == 3)) {
      alert("© Copyright by {site_name}");
      return false;
    }
    return true;
  }
  document.onmousedown=right;
  if (document.layers) window.captureEvents(Event.MOUSEDOWN);
  window.onmousedown=right;

Offline marineswife

  • Newbie
  • *
  • Posts: 14
    • View Profile
removing the right click disabler?
« Reply #2 on: June 12, 2003, 04:14:16 PM »
i am having this issue also. This dodn't remove mine?