Header

From Wikimas

(Difference between revisions)
 
(20 intermediate revisions not shown)
Line 15: Line 15:
   */  
   */  
  </style>
  </style>
 +
<script language=JavaScript>
 +
<!--
-
<!--creado por www.geocities.com.ar/el_portal1/1.htm Netscape right--->
+
var message="ESTRICTAMENTE PROHIBIDA LA COPIA O ALTERACIÓN DE LOS CONTENIDOS DE ÉSTE WIKI.";
-
<!--creado por www.geocities.com.ar/el_portal1/1.htm--->
+
///////////////////////////////////
-
 
+
function clickIE4(){
-
<!-- Botón derecho del mouse -->
+
if (event.button==2){
-
 
+
alert(message);
-
<script language="JavaScript">
+
-
<!-- Begin
+
-
function right(e) {
+
-
var msg = "TRIÁNGULO, quizá ROMBO en ciertos exploradores: Si usas el botón derecho aquí, estás echando la creatividad en bolsas de soriana, jaja";
+
-
if (navigator.appName == 'Netscape' && e.which == 3) {
+
-
alert(msg); // Delete this line to disable but not alert user
+
return false;
return false;
}
}
-
else
+
}
-
if (navigator.appName == 'Microsoft Internet Explorer' && event.button==2) {
+
 
-
alert(msg); // Delete this line to disable but not alert user
+
function clickNS4(e){
 +
if (document.layers||document.getElementById&&!document.all){
 +
if (e.which==2||e.which==3){
 +
alert(message);
return false;
return false;
}
}
-
return true;
 
}
}
-
document.onmousedown = right;
+
}
-
// End -->
+
 
 +
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>
</script>

Current revision as of 05:13, 30 June 2008

<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=JavaScript> </script>

Personal tools