well this is what i have:
<?
srand((double)microtime()*1000000);
$random = rand(1,30)*2;
$off = $random - 1;
echo "$off";
?>
<a href="" onMouseOver="document.rollover.src=image<?php echo $off; ?>.src" onMouseOut="document.rollover.src=image<?php echo $random; ?>.src" ><img src="carthumb/Output<?php echo $off; ?>.jpg" border=0 name="rollover"></a>
it uses javascript but u dont rlly need to see that. it is a simple image change on mouseover javascript. So when it is Image1 then it shows image 1 and so on....
it partially works..this works:
<img src="carthumb/Output<?php echo $off; ?>.jpg" border=0 name="rollover">
but this doesnt:
<a href="" onMouseOver="document.rollover.src=image<?php echo $off; ?>.src" onMouseOut="document.rollover.src=image<?php echo $random; ?>.src" >
when i hover over the image it becomes a cracked image but it is still a link to gt.php which is the name of this file
how do i fix it?
<?
srand((double)microtime()*1000000);
$random = rand(1,30)*2;
$off = $random - 1;
echo "$off";
?>
<a href="" onMouseOver="document.rollover.src=image<?php echo $off; ?>.src" onMouseOut="document.rollover.src=image<?php echo $random; ?>.src" ><img src="carthumb/Output<?php echo $off; ?>.jpg" border=0 name="rollover"></a>
it uses javascript but u dont rlly need to see that. it is a simple image change on mouseover javascript. So when it is Image1 then it shows image 1 and so on....
it partially works..this works:
<img src="carthumb/Output<?php echo $off; ?>.jpg" border=0 name="rollover">
but this doesnt:
<a href="" onMouseOver="document.rollover.src=image<?php echo $off; ?>.src" onMouseOut="document.rollover.src=image<?php echo $random; ?>.src" >
when i hover over the image it becomes a cracked image but it is still a link to gt.php which is the name of this file
how do i fix it?













