PDA

View Full Version : Conveyor Belt Slideshow



picture master
04-18-2006, 01:08 PM
This slideshow works really well. However, I need to change the colour of the outline around each image from the pre-set blue to something else. I've looked through the code and I can't see where the blue colour is specified. Can someone please advise! Thanks

ddadmin
04-19-2006, 03:56 AM
Warning: Please include a link to the DD script in question in your post. See this thread (http://www.dynamicdrive.com/forums/showthread.php?t=6) for the proper posting format when asking a question. In this case, that's http://www.dynamicdrive.com/dynamicindex14/leftrightslide.htm.

You can use CSS to colorize the border color of the image links. Firstly, add the below to the HEAD:


<style type="text/css">

.cslideshow a img{
border-color: green;
}

</style>

Then, change the line:


document.write('<table border="0" cellspacing="0" cellpadding="0" class="cslideshow" ><td>')

The part in red is new.