PDA

View Full Version : Fade-in slideshow dynamic sizing and border color



rodm1000
02-13-2008, 05:22 AM
1) Script Title: Ultimate Fade-in slideshow (v1.51)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm

3) Describe problem: I am wondering if there is a way to make the whole slideshow scale to a dynamic screen size. I am trying to use this slideshow inside a frame that changes size depending on the size of the viewing user's screen (ideal for me would be for the slideshow to fill 80% of the width of the frame and have the height be automatic). Also, is there a way to set the border color? I am using a black background and want to have a white border around the pics.

Thanks in advance!!!

Rod

Doro
02-17-2008, 12:17 PM
Hi,

I'm not sure about the dynamic resizing but here is how to change the border colour with CSS:

img { border: solid 4px white; }

jeremiah
04-08-2008, 02:23 PM
Hi,

I'm not sure about the dynamic resizing but here is how to change the border colour with CSS:

img { border: solid 4px white; }

This is what I'm looking for, so:

1) where in the script do I put the above CSS code?

2) is it possible to add a shadow or 3D effect?

3) This is the code from the script:
fadeimages[0]=["pic1.jpg", "", ""] //plain image syntax
fadeimages[1]=["pic2.jpg", "", ""] //image with link syntax
fadeimages[2]=["pic3.jpg", "", ""] //image with link and target syntax

I am guessing the // comments refer to the "" parts, so in the array line you have ["image", "link", "target (whatever that means)"] Am I reading that right?