My images move around the page in different directions. When two images collide I want to throw an alert.
Images are loaded like this:
    <?php foreach($logos as $logo) { $id = $logo['Id']; $logoName = $logo['Logo_Link']; ?>
        <img  class="imglogo" src="images/<?php echo $logoName ?>" />
    <?php } ?>
Is there anyway with JavaScript I could detect when any of the elements overlap?
 
    