![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
28/09/2007, 04:55
|
![Avatar de sfx4ever](http://static.forosdelweb.com/customavatars/avatar48232_1.gif) | | | Fecha de Ingreso: noviembre-2003 Ubicación: aqui
Mensajes: 384
Antigüedad: 21 años, 2 meses Puntos: 2 | |
Re: colisiones de imagenes una preguntilla sobre tu script Kelpie:
Cuando te refieres a: obj1.x1, ¿quieres decir: document.getElementById('obj1').style.left ????
y cuando dices obj1.x2, ¿quieres decir: (document.getElementById('obj1').style.left + document.getElementById('obj1').style.width) ???, osea la coordenada x mas el ancho del elemento..
es que no me ha quedado muy claro eso... |