1
Español / Castellano / Re: FAQ de 4images
« on: March 11, 2009, 03:51:12 AM »¿ Puedo quitar el mensaje que me aparece al pulsar el boton derecho?
Sí. Abra el archivo header.html y quite estas lineas:Code: [Select]function right(e) {
if ((document.layers || (document.getElementById && !document.all)) && (e.which == 2 || e.which == 3)) {
alert("© Copyright by {site_name}");
return false;
}
else if (event.button == 2 || event.button == 3) {
alert("© Copyright by {site_name}");
return false;
}
return true;
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown = right;
}
else if (document.all && !document.getElementById){
document.onmousedown = right;
}
document.oncontextmenu = new Function("alert('© Copyright by {site_name}');return false");
Cuando hablas de abrir el archivo html te refieres al que está el directorio raíz ???
Y disculpa la pregunta hermano.
Saludos.