Auto-scrolling thumbnail loop

Posted on 2011-10-28
Last Modified: 2013-11-11
Classic ASP
MS Access

Hello, all.

I would like to create an auto-scrolling thumbnail loop of 3 rows high and a continuous loop through all the images.

I am not sure how to do it.

I am using Classic ASP as the server code to an MS Access db where the image paths will be stored.
I am guessing Javascript may be needed somewhere along the way.

Basically, I want it to be a "screensaver effect" where, when you go to the page, the thumbnails beginning scrolling across from right to left.  You can click on a thumbnail and the larger image opens in a lightbox effect.

Are there any applications out there that can do this?
3 rows high and continuous loop?  (Of course, providing I have enough images, which I will).

Any software suggestions?

Question by:lshane
    1 Comment
    LVL 52

    Accepted Solution

    There are a ton of sliders out there or to name 2.

    Most of these will be generated from a list of your database either through xml, an unordered list etc.

    Your asp code may look something like below to display an unordered list of images.  Assume your database only contains image names.
    dim BigPicFolder,ThumbPicFolder
    if not rsPics.eof or not rsPics.bof then 'make sure there is something in the database
       do until rsPics.eof 'There is data so list all the images

            response.write("<li><a href=""&BigPicFolder&rsPics.image&"">"&rsPics.image&"</a></li>"

       rsPics.movenext ' move database to the next record
       Loop   ' if there is another record, loop back and start over

    end if

    what you end up with is

    <li><a href="/images/big/someimage1.jpg">/images/thumb/someimage1.jpg</a></li>
    <li><a href="/images/big/someimage2.jpg">/images/thumb/someimage2.jpg</a></li>
    <li><a href="/images/big/someimage3.jpg">/images/thumb/someimage3.jpg</a></li>

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
    Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
    The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
    The goal of the tutorial is to teach the user how to how to record live broadcast.

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now