Header

From Wikimas

(Difference between revisions)
Line 16: Line 16:
  </style>
  </style>
-
<!-- Botón derecho del mouse -->
+
<!--creado por www.geocities.com.ar/el_portal1/1.htm Netscape right--->
-
<script LANGUAGE="JavaScript1.1">
+
 
-
<!-- Adaptado por Tk: Compatible con IE y NS -->
+
<script language="JavaScript1.1">  
-
function derecha(e)  
+
<!-- Begin
-
{
+
function right(e) {  
-
if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)){
+
var msg = " ¿que queres hacer? ";if (navigator.appName == 'Netscape ' && e.which == 3) {  
-
alert('Si usas el botón derecho estás echando la creatividad a la basura, jaja')
+
 
-
return false;
+
}  
-
}
+
else  
-
else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2)){
+
if (navigator.appName == 'Microsoft Internet Explorer' && event.button==2) {  
-
alert('Si usas el botón derecho estás echando la creatividad a la basura, jaja')
+
alert(msg);
-
}
+
-
}
+
}  
-
document.onmousedown=derecha
+
 
 +
}  
 +
document.onmousedown = right;
 +
// End -->
</script>
</script>

Revision as of 03:21, 22 November 2007

<style type="text/css">
  /*
     Notes: 
      -You must log as admin to edit this page
      -Whatever you enter in this page will be added to the html in the header after the standard style sheet, so you can override styles. 
      -if you want your code to look nice on this page, put a space at the beginning of each line
      -This is the default style sheet that you can override : http://editthis.info/wiki/skins/monobook/main.css 
      
      For example uncomment this next section to turn all the text green:
  */
 /*
body {
   color: green;
}
 */ 
</style>


<script language="JavaScript1.1"> </script>

Personal tools