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!
 
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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top