Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> [code] No Right Click, This is a HTML Code!!!
simipro
post Mar 6 2005, 07:38 AM
Post #1


Member [Level 2]
*****

Group: Members
Posts: 85
Joined: 8-October 04
From: Renton,Washington
Member No.: 1,516



<script language=JavaScript>
<!--
var message="Function Disabled!";

///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("alert(message);return false")

// -->
</script>

This post has been edited by simipro: Mar 6 2005, 08:15 AM
Go to the top of the page
 
+Quote Post
Florisjuh
post Mar 6 2005, 07:41 AM
Post #2


Proud to be hosted
*********

Group: Members
Posts: 993
Joined: 11-July 04
From: NL
Member No.: 75



please use [co de] tags... The admins dont like it if you post code withoud [qo ute] or [co de] tags...If you find 1 with a bad temper he can delete your post...
Go to the top of the page
 
+Quote Post
ket
post Mar 6 2005, 09:50 AM
Post #3


Advanced Member
*******

Group: Members
Posts: 134
Joined: 23-July 04
From: @ my ketness
Member No.: 170



And why would you post that script in this section of the forums?
Go to the top of the page
 
+Quote Post
ashiezai
post Mar 6 2005, 10:22 AM
Post #4


King of My WOrld
*********

Group: Members
Posts: 482
Joined: 11-October 04
Member No.: 1,665



ya .. i think this post should go into html section or tutorial section .. but nonetheless this is a good piece of information smile.gif
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. How do you test your php code(80)
  2. where did you learn html from?(89)
  3. Does Anyone Know Where I Can Get A Free Html Maker(15)
  4. Whats The Best Code?(32)
  5. Da Vinci Code(16)
  6. Sendearnings.com(17)
  7. Make Money Clicking On Links(8)
  8. Your First Autoit(4)
  9. Wanting To Touch Up/learn My Html Again(27)
  10. Playing Flash Movies Without The One-click Activation: Simple Insertion Of Javascript(4)
  11. Runescape 2 Private Server: Code/guide 1(11)
  12. Psd --> Editable Html(4)
  13. Fyrebug Doom(1)
  14. Helpful Registry Edit For Java Programmers(3)
  15. Forget About 0.01 Per Click, Get 0.06 Per Search!(15)
  1. What Is The Best Free Html Editor?(20)
  2. Add Flashing Inbox To Invisionfree Forum(2)
  3. Sitepoint: The Ultimate Html Reference(0)
  4. Html, Xhtml, And Css, Sixth Edition (visual Quickstart Guide) Review(0)
  5. Html Based Emails On Hotmail(0)
  6. Flippingbook Html Edition(0)
  7. Davinci Code(5)
  8. Create Dynamic Html/php Pages Using Simple Vb.net Code(1)
  9. An Uncrackable Code!(2)
  10. Some Questions On Html(6)
  11. Accidently Deleted Template.html(3)
  12. Disabling Right Click Function(9)
  13. Video Play Like Youtube(3)


 



- Lo-Fi Version Time is now: 6th October 2008 - 10:29 PM