Need JQuery Slide Show

Posted on 2012-09-05
Last Modified: 2012-09-10
I have a classic asp web page that pulls an undetermined number of images of varying dimensions from a database, writes them to a 2-dimensional array.  I want to place a slide show on the page.  I currently just select one of the images at random and show that static image.  Any help would be much appreciated!!!
Question by:Bob Schneider
    LVL 2

    Assisted Solution

    You can try a slideshow like
    LVL 6

    Assisted Solution

    I use this :
    it's works perfectly

    Author Comment

    by:Bob Schneider
    After a quick look, it seems like both of these require a manual start.  Would like one that begins on load.
    LVL 6

    Assisted Solution

    Not it start automaticly

    i write a asp function to select randomly image :

    function imageslide()
    Dim RS,SQL
    set RS=Server.CreateObject("ADODB.Recordset")
    SQL="SELECT TOP 5 * FROM files ORDER BY Rnd((-1000*id)*Time())" sql,connpic,3,3
    response.write "<div id=""MySlideshow"">"
    While not rs.eof
    	response.write "<img src=""../scripts/pics/_LowRes/" & renvoi_rep(rs("folderid")) & "/" & "LR_"& rs("name") & """/>"
    response.write "</div>"
    end function

    Open in new window

    In my head page

     <script type="text/javascript">

    Open in new window

    in my body page

    <% call imageslide()  %>

    Open in new window

    LVL 32

    Accepted Solution

    i've grown fond of this one:

    it'll start automatically, has different "slide" effects, and is pretty simple to set up

    Author Closing Comment

    by:Bob Schneider
    Thanks all!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    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

    Introduction Chart.js, used properly, can visually add a difference to your charting applications. It engages your visitors and allows them to interact with data they otherwise wouldn't be able to without expensive and complicated systems. For this…
    Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
    The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
    The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

    779 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

    18 Experts available now in Live!

    Get 1:1 Help Now