Ver Mensaje Individual
  #3 (permalink)  
Antiguo 01/03/2007, 12:25
wigglyUtrera
 
Fecha de Ingreso: enero-2007
Mensajes: 405
Antigüedad: 18 años, 1 mes
Puntos: 3
Re: quitar funcionalidad de enlaces antes de cargar pagina

aqui esta ese ejemplo retocado un poquito:

Código PHP:
<script>
var 
enlaces = new Array();
function 
deshabilitar()
{
for (
i=0;i<document.links.length;i++)
   {
     
enlaces[i] = document.links[i].href;
   
document.links[i].href "#";
   }
}

function 
habilitar()
{
for (
i=0;i<enlaces.length;i++)
   
document.links[i].href enlaces[i];

}
window.onload deshabilitar;
</script> 

Saludos.