PDA

View Full Version : Simple Controls Gallery 1.4- help with description



newhandle
09-01-2011, 02:12 AM
1) Script Title: Simple Controls Gallery 1.4

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/simplegallery.htm

3) Describe problem:
I would like to automatically show and hide the description DIV without the need for mouse hover. I used the handler this.showhidedescpanel("show"), but it keeps the description in view all the time. What I really want is for the description to show up after 1 second on slide change, and then disappear just prior to the new slide. I was thinking I should add a settimeout function and then call this.showhidedescpanel("hide"), however, I don't know how to add a timeout.

Thanks in advance

azoomer
09-01-2011, 06:03 AM
Why not use the ultimate fade-in slideshow (http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm) it already has this feature ( peekaboo option)

newhandle
09-01-2011, 08:36 AM
Why not use the ultimate fade-in slideshow (http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm) it already has this feature ( peekaboo option)

Would have used it if I knew it existed ;) Now I know. Thanks!

newhandle
09-01-2011, 09:01 AM
Got the fadeslideshow working with minimal effort. Now I'd like to know how to make the description box drop-in from the top of the image, just like in the simple controls gallery script?

azoomer
09-01-2011, 03:38 PM
I couldn't think of an easy fix for that, but you may be able to do it using the onslide event described on this page (http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow_suppliment.htm)

I tried to experiment with it, but I couldn't get further than this (http://azoomer.com/Ultimate-peakaboo-down/). Maybe you can make it work better with some adjustments.

newhandle
09-01-2011, 04:56 PM
I couldn't think of an easy fix for that, but you may be able to do it using the onslide event described on this page (http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow_suppliment.htm)

I tried to experiment with it, but I couldn't get further than this (http://azoomer.com/Ultimate-peakaboo-down/). Maybe you can make it work better with some adjustments.

That looks just about alright. I can style the changes easily. I did notice another shortcoming of the script in general. When you hover the mouse over, the descbox should stay up. I'm sure it's an easy fix. Any ideas?

P.S: I notice you achieved the effect by adding a time-delay. May be that's what's causing less-than-smooth scrolls.