Panelių bazė
Sveiki, jūs panelių bazėje.
Neaktyvuotų panelių: 0
Viso panelių: 377
Ieškoti panelės
Neaktyvuotų panelių: 0
Viso panelių: 377
Ieškoti panelės
Panelės peržiūra
| Pavadinimas | |
| Įdėjo | ArTuRyK - Pateikta: 2008-02-12 - Peržiūrėta: 6558 |
| Aprašymas | Draud?iama paspausti de?in pels klavi? ant paveiksliuko. |
| Panelė | Code <script language="JavaScript1.2">
var clickmessage="Negalima de?inio klavi?o!"
function disableclick(e) {
if (document.all) {
if (event.button==2||event.button==3) {
if (event.srcElement.tagName=="IMG"){
alert(clickmessage);
return false;
}
}
}
else if (document.layers) {
if (e.which == 3) {
alert(clickmessage);
return false;
}
}
else if (document.getElementById){
if (e.which==3&&e.target.tagName=="IMG"){
alert(clickmessage)
return false
}
}
}
function associateimages(){
for(i=0;i<document.images.length;i++)
document.images[i].onmousedown=disableclick;
}
if (document.all)
document.onmousedown=disableclick
else if (document.getElementById)
document.onmouseup=disableclick
else if (document.layers)
associateimages()
</script> |
Rašyti komentarą
Turite prisijungti, norėdami parašyti komentarą.



aciu :)))))
Nesmon paspaudi de?in klavi? ant google chrome i?meta t lentel, o po to i?lenda copy image ir pan.