Hi everyone. I am trying to create a scrollable div and have a mouseover display a larger version of the image underneath. Here is my code.
<div align="right" style=" overflow  ; height:150px; width:455px" >
<table width="1000px">
<? for ($i=0; $i<$arlength; $i++){
$init = explode("_",$photos[$i]);
if($init[0] == "SHI"){ ?>
<td onMouseOver="document.rollover.src = <? echo $photos[$i] ;?> " align="center"><img height=110 width=110 src="<? echo $photos[$i]; ?>" /><br/><? echo $photos[$i]; ?></td>
<? }
}
?>
</table>
</div>
<img name="rollover" width="400px" height="300" border="1px" src="SHI_shirt2.jpg">
I cant get it to work, I think the div and mouseover conflict or something... here is the link to the site.
http://www.rprisoner.com/images/thum...b.php?type=shi
|