Main image with thumbnails - click to view?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • MU

    Main image with thumbnails - click to view?

    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 <IMGtags or should I be using the ASP:Image control? Not
    quite sure.

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

    Thanks!
  • bruce barker

    #2
    Re: Main image with thumbnails - click to view?

    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)


    MU wrote:
    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 <IMGtags or should I be using the ASP:Image control? Not
    quite sure.
    >
    I am using ASP.NET, any suggestions would be great.
    >
    Thanks!

    Comment

    Working...