Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> prawy myszki blokada, jescze 1 pytanie :)
siestrzemcewiczo...
post
Post #1





Grupa: Zarejestrowani
Postów: 67
Pomógł: 0
Dołączył: 26.08.2005

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


Ej no jeszcze miałem jedno pytanie hmm wiec chcem zrobic aby po naciśnięciu prawego przycisku myszki wyskakiwało duzo komunikatów na raz lub kilka pod rząd najlepiej duuuuuuuzo naraz ale wątpie ze coś takiego sie da (IMG:http://forum.php.pl/style_emoticons/default/tongue.gif) pozdro (IMG:http://forum.php.pl/style_emoticons/default/tongue.gif)

sory za kłopot (IMG:http://forum.php.pl/style_emoticons/default/biggrin.gif)
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
TomASS
post
Post #2





Grupa: Zarejestrowani
Postów: 1 660
Pomógł: 13
Dołączył: 9.06.2004
Skąd: Wrocław i okolice

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


Już wcześniej pisałem a propos blokowania ściagania obrazków, ale powtórze jeszcze raz:

  1. <script language="Javascript1.2">
  2.  
  3. // (C) 2000 www.CodeLifter.com
  4. // Free for all users, but leave in this header
  5.  
  6. // Set the message for the alert box
  7. am = "no right click please";
  8.  
  9. // do not edit below this line
  10. // ===========================
  11. bV = parseInt(navigator.appVersion)
  12. bNS = navigator.appName=="Netscape"
  13. bIE = navigator.appName=="Microsoft Internet Explorer"
  14.  
  15. function nrc(e) {
  16. if (bNS && e.which > 1){
  17. alert(am)
  18. return false
  19. } else if (bIE && (event.button >1)) {
  20. alert(am)
  21. return false;
  22. }
  23. }
  24.  
  25. document.onmousedown = nrc;
  26. if (document.layers) window.captureEvents(Event.MOUSEDOWN);
  27. if (bNS && bV<5) window.onmousedown = nrc;
  28.  
Go to the top of the page
+Quote Post

Posty w temacie


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: 12.10.2025 - 15:19