![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
18/03/2011, 17:45
|
![Avatar de _cronos2](http://static.forosdelweb.com/customavatars/avatar357240_2.gif) | Colaborador | | Fecha de Ingreso: junio-2010
Mensajes: 2.062
Antigüedad: 14 años, 8 meses Puntos: 310 | |
Respuesta: aplicar esto a todos los enlaces y no poner esta linea uno por uno Usa getElementsByTagName o querySelectorAll, y después recorres el array de objetos y le añades un evento onclick.
Saludos (:
__________________ " Getting older’s not been on my plans
but it’s never late, it’s never late enough for me to stay. " Cigarettes - Russian Red |