Obeject ID Alert
Posted on 2004-04-08
I'm trying to create an alert message when two objects are dragged in to the same position, I've set up a site with different areas with different ids
eg <td id="main"> </td> or <td id="subleft"> </td> etc
the site also uses coords (x,y) for each position, I'm not sure which is easier to use, so I included them both when designing it.
There are multiple moving objects all with different names
<div id="redcar" style="position:absolute;left:350;top:350;">
<img src="redcar.jpg" id="redcar01" alt="Drive Me!" width="80" height="50">
bluecar, yellowcar etc
Also if two cars are placed in the same position after the alert is displayed informing the users of it the car placed on top of the other one needs to return to it's previous position.