PDA

View Full Version : Adjusting fading on Featured Content Glider



justin-nc
10-05-2010, 03:14 PM
1) Script Title:
Featured Content Glider

2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex17/featuredcontentglider.htm

3) Describe problem:

I made the modification to this script as described in this thread so that the content fades in instead of sliding in:
http://www.dynamicdrive.com/forums/blog.php?b=7

However, I'm trying to adjust it so that the previous slide disappears before fading in the next slide. In other words, the first slide should fade in, then disappear (showing the background), and then the next slide should fade in to cover the background, and so on.

I'm guessing I need to adjust this code, I'm just not sure what to do:

$target.css(endpoint).css({opacity:0}).animate({opacity:1}, config.speed) //custom code

Can anyone help?

ddadmin
10-05-2010, 07:30 PM
Sure, try the below modified .js file instead, which should fade out the previous content first, then fade in the selected one.

Fixed bug inside .js file

justin-nc
10-05-2010, 11:59 PM
Thanks, it does exactly what I was hoping for between slide #1 and slide #2, but then it seems to freeze after fading in the 2nd slide. I tried changing some of the parameters, but it always freezes after displaying the second slide (and if the slideshow starts on the 2nd one, then it freezes on the 3rd one). Any suggestions?

Thanks again!

justin-nc
10-07-2010, 01:32 PM
Can anyone help adjust the modification so that it continues to rotate in new images after the 2nd image? Right now it just stops.

Thanks

ddadmin
10-08-2010, 07:00 AM
Ah yes there's a bug inside the modified .js file. I've fixed it inside the attachment above.

justin-nc
10-08-2010, 01:27 PM
Thanks, that works great! I really appreciate your help and this site!

mrodenhaus
03-23-2011, 07:41 PM
Is there a way to pause the slideshow when you hover over the "main glider container"?
I think this would make the slideshow much more useful. Please let me know if this is at all possible.

Thank You

ddadmin
03-24-2011, 05:01 AM
Is there a way to pause the slideshow when you hover over the "main glider container"?
I think this would make the slideshow much more useful. Please let me know if this is at all possible.

Thank You

Please do a search, this question has been asked before: http://www.dynamicdrive.com/forums/showthread.php?p=249461

mrodenhaus
05-03-2011, 01:25 PM
When you click on the "active" slide... it fades out.. and then nothing fades in...
Is there a fix to this?
you can see what I am talking about on:

advantagelumber.com

Please let me know ASAP