Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Old 06-28-2006, 02:05 PM Divs and Mouseover
Junior Talker

Posts: 1
Name: Rob
Trades: 0
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
lifestinks1 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to Divs and Mouseover
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.08443 seconds with 12 queries