close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

dynamic image display problem

Thread began 2/02/2010 9:31 am by jeffmg279672 | Last modified 2/12/2010 9:28 am by jeffmg279672 | 1901 views | 5 replies

jeffmg279672

a related problem...

Thanks to your assistance I've got the page working fine, but have now hit another snag and wondered if you could point me in the right direction?

On the detail page there is an image which corresponds to image1 in the database, then below it the remainder of the images repeat as smaller thumbnails. Ideally what I want is for the user to be able to click on image2, image3 etc and have a larger version of that image appear in the space that image1 occupies, but I have no idea how to achieve this. I assume that it would be a javascript-driven disjointed rollover of some sort, with an onClick rather than a hover function, but I'm not sure how this would incorporate the code that you gave me:

<td>
<?php if(($row_DetailRS1['photo6'] != NULL) && ($row_DetailRS1['photo6'] != "")) { ?>
<a href="<?php echo $row_DetailRS1['photo6']; ?>" target="_blank"><img src="<?php echo $row_DetailRS1['photo6']; ?>" width="100" height="100" border="0" /></a>
<?php } else { echo "&nbsp;"; } ?>
</td>

Any help gratefully received...

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...