PDA

View Full Version : Ultimate Fade-in slideshow



gisjmae
12-01-2005, 03:52 PM
Hello

Does anyone know how to lose the border?

There is a blue image border.

If you take the link off so the image doesn't link, there is still a border.

Thanks

Matt

kkroo
12-01-2005, 04:08 PM
try deleting the image... and do a search for the color of the border in the document and if there is a border: b4 it, delete it. but make sure you got the right one!

gisjmae
12-01-2005, 06:24 PM
not toto sure what you mean

i just need to give the image no border i think

gisjmae
12-01-2005, 06:42 PM
ahh, got it, change the border bit, in here:

slideHTML+='<img src="'+this.postimages[picindex].src+'" border="'+this.imageborder+'px">'

to this:

slideHTML+='<img src="'+this.postimages[picindex].src+'" border="0">'

cheers

jscheuer1
12-01-2005, 08:43 PM
Actually the documentation on this fine upgrade to a favorite old script is just a tad weak. The example code in step 2 should read:


<script type="text/javascript">
//new fadeshow(IMAGES_ARRAY_NAME, slideshow_width, slideshow_height, border_width, pause, optionalRandomOrder)
new fadeshow(fadeimages, 140, 225, 1, 3000, "R")
new fadeshow(fadeimages2, 140, 225, 0, 5000)

</script>

Then it would be more clear how to configure the border without resorting to editing the script as gisjmae has done.