Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Nov 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Javascript Slideshow Functionality help!!!

    1) Project Details: (be as specific as possible):
    I am having trouble adding button functionality to my slide show in javascript. In addition to hyperlinking each one of the images. Please help me!

    here is the javascript:

    Code:
    <script>
    
    var slideShowSpeed = 7500
    
    var crossFadeDuration = 2
    
    
    var Pic = new Array()
    
    Pic[0] = 'images/dr. gold.png'
    Pic[1] = 'Images/Award.jpg'
    Pic[2] = 'images/Brandi.jpg'
    Pic[3] = 'images/dream spa (2).jpg'
    Pic[4] = 'images/Kyle Richards (1).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>

    2) Payment method/ details (Paypal, check? Timeline?):

  • #2
    WA
    WA is offline
    Administrator
    Join Date
    Mar 2002
    Posts
    2,596
    Thanks
    2
    Thanked 19 Times in 18 Posts
    Is this a paid request? If so please fill out the section on payment amount and method.
    - George
    - JavaScript Kit- JavaScript tutorials and 400+ scripts!
    - JavaScript Reference- JavaScript reference you can relate to.

  • #3
    New to the CF scene
    Join Date
    Sep 2011
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi,

    I can help you on your project.
    Will you please give me your contact details?


  •  

    Tags for this Thread

    Posting Permissions

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