Hello, my name is Robert, and I am pleased to meet you.
I am not an official member/admin of the Dymanic Drive forums, I am just another user, but I am able to help you nonetheless.
I remember creating a page like this before, for my school website.
I have cleaned up as much of this code for you as possible, seeing that I had originally created it for other purposes.
Code:
<input type="button" id="btnPrev" value="<< Previous" onclick="Prev();">
<input type="button" id="bntPlay" value="Play - Stop" onclick="Play()">
<input type="button" id="btnNext" value=" Next >> " onclick="Next();">
<img id="_Ath_Slide" onload="OnImgLoad()" src="firstimage.gif">
<table id=imgObj style="FILTER: progid:DXImageTransform.Microsoft.Fade(Overlap=1.00);">
<tr><td>
<SPAN id="_Ath_FileName"> </SPAN>
</td></tr>
</table>
<br><br>Number: <SPAN id="_Ath_Img_X"></SPAN> of <SPAN id="_Ath_Img_N"></SPAN>
<script language="JavaScript1.2">
/*
Interactive Image slideshow with text description
By Christian Carlessi Salvadó (cocolinks@c.net.gt). Keep this notice intact.
Visit http://www.dynamicdrive.com for script
*/
g_fPlayMode = 0;
g_iimg = -1;
g_imax = 0;
g_ImageTable = new Array();
function ChangeImage(fFwd)
{
imgObj.filters[0].apply();
if (fFwd)
{
if (++g_iimg==g_imax)
g_iimg=0;
}
else
{
if (g_iimg==0)
g_iimg=g_imax;
g_iimg--;
}
Update();
imgObj.filters[0].play();
}
function getobject(obj){
if (document.getElementById)
return document.getElementById(obj)
else if (document.all)
return document.all[obj]
}
function Update(){
getobject("_Ath_Slide").src = g_ImageTable[g_iimg][0];
getobject("_Ath_FileName").innerHTML = g_ImageTable[g_iimg][1];
getobject("_Ath_Img_X").innerHTML = g_iimg + 1;
getobject("_Ath_Img_N").innerHTML = g_imax;
}
function Play()
{
g_fPlayMode = !g_fPlayMode;
if (g_fPlayMode)
{
getobject("btnPrev").disabled = getobject("btnNext").disabled = true;
Next();
}
else
{
getobject("btnPrev").disabled = getobject("btnNext").disabled = false;
}
}
function OnImgLoad()
{
if (g_fPlayMode)
window.setTimeout("Tick()", g_dwTimeOutSec*3000);
}
function Tick()
{
if (g_fPlayMode)
Next();
}
function Prev()
{
ChangeImage(false);
}
function Next()
{
ChangeImage(true);
}
////configure below variables/////////////////////////////
//configure the below images and description to your own.
g_ImageTable[g_imax++] = new Array ("firstimage.gif", "text here");
g_ImageTable[g_imax++] = new Array ("secondimage.gif", "text here");
g_ImageTable[g_imax++] = new Array ("thirdimage.gif", "text here");
//extend the above list as desired
g_dwTimeOutSec=2
////End configuration/////////////////////////////
if (document.getElementById||document.all)
window.onload=Play
</script>
In this code, I have used a different version to the fading script. Instead, I have used the one from this page:
http://msdn.microsoft.com/workshop/s...o/DXTidemo.htm
In my original version, I actually wanted to remove the images, and just leave the text, but found this difficult, so I just replaced all the images with just one image location. As this happens to keep the same script structure, I was easily able to recover the image feature just for you 
I have highlighted the stuff you need to change in red.
Please tell me how it goes!
Bookmarks