Hi,
I found a good slideshow script, code below:
Code:
<script language="JavaScript">
// configuration structure
var A_TPL = {
// randomize the array each time page loads
'random' : true,
// number of transparency changes during the transition
// increase for smoother transition, reduce for less CPU usage
'steps' : 20,
// transition duration in seconds
'transtime': .5,
// slide time in seconds
'slidetime': 3,
// width of the slide (optional)
'width' : 300,
// height of the slide (optional)
'height': 225,
// alt text for the image (optional)
'alt' : 'Sample Tigra Fader Slideshow',
// css class assigned to the slide <img> (optional)
'css' : ''
};
// list of images to display
var A_ITEMS = [
'img/k001.jpg',
'img/k020.jpg',
'img/k070.jpg'
];
// fader initialization
var mySlideShow = new tFader (A_ITEMS, A_TPL);
</script>
I am unsure how to call the images, it just lists the image name on a seperate line. How can this be done?
Any Ideas?
Cheers