I have encountered an unusual quirk this morning with the aformentioned events.
When I run my mouse over the DIV Object in inquestion, it fire’s off several times. Does anyone know what might cause such a thing to happen?
I found the same quirk to be true with the onmouseout event which I also need to use.
Here is my code (sorry, its a PHP / Javascript / HTML / CSS mish-mash so I will add it with PHP tags)
<div id="mybox" onmouseover="box1();" style="border:1px solid #2380ba;width:197px;background-color:#1b90d9;<?if($numPendingRequests > 0){?>margin-top:5px;<?}?>padding-bottom:5px;">
<p style="font-weight:bold;font-size:10pt;padding:5px;">Interactions:</p>
<?
$interactionLoopCount = 1;
foreach($arrIds as $friendId)
{
?>
<div id="interaction<?echo $interactionLoopCount;?>" style="<?if($interactionLoopCount > 1){?>margin-top:5px;border-top:1px solid #2380ba;<?}?>">
<p style="font-size:8pt;padding:5px 5px 0px 5px;">
<span style="font-weight:bold;"><?echo ucfirst($friendId);?></span><?echo funcA();?>.
</p>
<div style="width:160px;font-size:8pt;padding:5px 5px 0px 5px;">
<a href="javascript:funcB('<?echo $_GET['alias']?>', '<?echo $friendId;?>', 'interact<?echo $interactionLoopCount;?>')" >Interact Back!</a>
| <a href="funcC()" >Remove</a>
</div>
<div style="clear:both;"></div>
</div>
<?
$interactionLoopCount ++;
}
?>
</div>