Go Back   CodingForums.com > Web Projects and Services Marketplace > Web Projects > Small projects (quick fixes and changes)

Notices

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-16-2011, 06:27 PM   PM User | #1
Mitche11
New to the CF scene

 
Join Date: Nov 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Mitche11 is an unknown quantity at this point
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?):
Mitche11 is offline   Reply With Quote
Old 11-17-2011, 02:17 AM   PM User | #2
WA
Administrator


 
Join Date: Mar 2002
Posts: 2,596
Thanks: 2
Thanked 19 Times in 18 Posts
WA will become famous soon enough
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.
WA is offline   Reply With Quote
Old 11-17-2011, 08:04 AM   PM User | #3
andersonaaleyah
New to the CF scene

 
Join Date: Sep 2011
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
andersonaaleyah is an unknown quantity at this point
Hi,

I can help you on your project.
Will you please give me your contact details?
andersonaaleyah is offline   Reply With Quote
Reply

Bookmarks

Tags
button, functionality, hyperlink, javascript, slideshow

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:14 PM.


Advertisement
Log in to turn off these ads.