3 Replies - 6564 Views - Last Post: 13 October 2002 - 06:47 AM Rate Topic: -----

#1 j4h2e  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 22
  • Joined: 17-September 02

Right Click

Post icon  Posted 04 October 2002 - 11:14 AM

How Can I disable a right click within a sight?? :o
Is This A Good Question/Topic? 0
  • +

Replies To: Right Click

#2 SlashRaid  Icon User is offline

  • Dream.In.Force

Reputation: 1
  • View blog
  • Posts: 2,421
  • Joined: 21-January 02

Re: Right Click

Posted 04 October 2002 - 11:29 AM

It's a simple script:
<script language="Javascript">
function click() {
if (bN=='Microsoft Internet Explorer')
{
if (event.button==2)
{
str = "Access Denied ";
str = str + "";
str = str + "";
alert (str);
}
}
}
document.onmousedown=click

</script>
It's easy to get around though. :D
Was This Post Helpful? 0
  • +
  • -

#3 j4h2e  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 22
  • Joined: 17-September 02

Re: Right Click

Post icon  Posted 04 October 2002 - 11:32 AM

:D Thanx :D
Was This Post Helpful? 0
  • +
  • -

#4 pergesu  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 8
  • Joined: 13-October 02

Re: Right Click

Posted 13 October 2002 - 06:47 AM

But as he said, it's easy to get around. A user simply has to disable Javascript in their browser.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1