SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Evangelist
    Join Date
    Jan 2002
    Location
    Scotland, UK
    Posts
    530
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Looking for a simple slideshow script like this one

    http://www.addxonline.com/

    Down the page on the left hand side, graphic box with line of text underneath - fades out quickly to white then into next slide.

    Looking at the source it appears to be a commercial plug in for Joomla which I dont use so was wondering if there was a script out there that did a similar type of thing I could use in my own PHP scriped site.

    Many thanks,

    Rikki

  2. #2
    SitePoint Member
    Join Date
    Mar 2007
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Something like this?
    <script>
    // Set slideShowSpeed (milliseconds)
    var slideShowSpeed = 3000

    // Duration of crossfade (seconds)
    var crossFadeDuration = 4

    var Pic = new Array()

    Pic[0] = 'pics/bild_1.jpg'
    Pic[1] = 'pics/bild_2.jpg'
    Pic[2] = 'pics/bild_3.jpg'


    var t
    var j = 0
    var p = Pic.length

    var preLoad = new Array()
    for (i = 0; i < p; i++){
    preLoad[i] = new Image()
    preLoad[i].src = Pic[i]
    }

    function runSlideShow(){
    if (document.all){
    document.images.SlideShow.style.filter="blendTrans(duration=2)"
    document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)"
    document.images.SlideShow.filters.blendTrans.Apply()
    }
    document.images.SlideShow.src = preLoad[j].src
    if (document.all){
    document.images.SlideShow.filters.blendTrans.Play()
    }
    j = j + 1
    if (j > (p-1)) j=0
    t = setTimeout('runSlideShow()', slideShowSpeed)
    }
    </script>


    <body onload= runSlideShow();>
    <img src="pics/bild_1.jpg" name='SlideShow' >

  3. #3
    SitePoint Evangelist
    Join Date
    Jan 2002
    Location
    Scotland, UK
    Posts
    530
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Looks kinda like it but without the text changing and the links being active

  4. #4
    SitePoint Member
    Join Date
    Mar 2007
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Perhaps you find something in here:
    http://www.hotscripts.com/


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •