PDA

View Full Version : Featured Content Slider - First page flashes in



mobius2000
10-30-2008, 03:20 AM
1) Script Title: Featured Content Slider v2.4

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

3) Describe problem:

Hi all,

First off, thanks for such a great script. My problem though is that on load everything seems fine, when the user selects the second pagination button, it flashes into view displaying the white background. From then on, any clicks fades in the content nicely over the top.

I am trying to figure out how to remove the flash from the first click a user does.

The examples on the page show this same issue so it may not be fixable but if there is anyone out there that has had any luck fixing this it would be greatly appreciated.

ddadmin
10-30-2008, 07:43 AM
When the first slide is faded in, it's doing so against the background of the main content DIV container, since there's no "previous" slide proceeding it. I'm not sure there's an easy way to overcome this unfortunately. You can try giving the main content DIV a black background, which may work better than the default white:


.sliderwrapper{
position: relative; /*leave as is*/
overflow: hidden; /*leave as is*/
border: 10px solid navy;
border-bottom-width: 6px;
width: 400px; /*width of featured content slider*/
height: 250px;
background: black;
}