Main image with thumbnails - click to view?


M

MU

Hello

Can someone give me some ideas on the best way to do the following?

I have a product page and it has 1 large image and 6 thumbnails. The
main image is the first photo from a data table for the product. The
6 thumbnails are the next 6 images for the product from the data
table. I would like the user to click on the thumbnail and that
thumbnail would show in the 1 large image area.

So I use <IMG> tags or should I be using the ASP:Image control? Not
quite sure.

I am using ASP.NET, any suggestions would be great.

Thanks!
 
Ad

Advertisements

B

bruce barker

asp:image control just renders an <img>. if you need some of the
webcontrol features like databinding then use it, if you are writing
this feature in javascript (the best user experience for performance),
then use an <img>.

-- bruce (sqlwork.com)
 

Top