Header
From Wikimas
(Difference between revisions)
Line 16: | Line 16: | ||
</style> | </style> | ||
- | <script language= | + | <script language="JavaScript1.1"> |
- | <!-- | + | <!-- Begin |
- | + | function right(e) { | |
- | var | + | var msg = " [ ?No te ha dicho tu mama que no hay que robar?] "; |
- | + | if (navigator.appName == 'Netscape' && e.which == 3) { | |
- | + | alert(msg); // Delete this line to disable but not alert user | |
- | + | ||
- | if ( | + | |
- | alert( | + | |
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 | |
- | if ( | + | |
- | + | ||
- | alert( | + | |
return false; | return false; | ||
} | } | ||
+ | return true; | ||
} | } | ||
- | + | document.onmousedown = right; | |
- | + | // End --> | |
- | + | ||
- | + | ||
- | document.onmousedown= | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | // --> | + | |
</script> | </script> |
Revision as of 03:15, 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>