Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> --- usunieto przez autora ---
lunter
post
Post #1





Grupa: Zablokowani
Postów: 64
Pomógł: 0
Dołączył: 29.04.2004

Ostrzeżenie: (60%)
XXX--


--- usunieto przez autora ---

Ten post edytował lunter 20.08.2005, 18:11:16
Go to the top of the page
+Quote Post
goldmann
post
Post #2





Grupa: Zarejestrowani
Postów: 13
Pomógł: 0
Dołączył: 20.11.2004
Skąd: Polska :P

Ostrzeżenie: (0%)
-----


Polecam serdecznie kurs Pawła Wimmera! W dziale przydatne skrypty jest naprawdę dużo odpowiedzi na często zadawane pytania.

Kod
<script language="Javascript1.2">

// (C) 2000 www.CodeLifter.com
// http://www.codelifter.com
// Free for all users, but leave in this  header

// Set the message for the alert box
am = "Niestety, prawy klawisz nie działa!";

// do not edit below this line
// ===========================
bV  = parseInt(navigator.appVersion)
bNS = navigator.appName=="Netscape"
bIE = navigator.appName=="Microsoft Internet Explorer"

function nrc(e) {
   if (bNS && e.which > 1){
      alert(am)
      return false
   } else if (bIE && (event.button >1)) {
     alert(am)
     return false;
   }
}

document.onmousedown = nrc;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (bNS && bV<5) window.onmousedown = nrc;

</script>


Pozdrawiam!
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 15.09.2025 - 13:09