...

View Full Version : DHTML - RotateImages() coding question



larsi
12-01-2002, 09:15 PM
Hello. I am new to this site and am thrilled to know that something like the exists. I have spent about 30 hours trying to complete this task. I know it must seem easy but I am a beginner. I'm trying to keep it simple but I'm getting very confused. Can someone please help me? I am trying to create a slide show for screensaver with a random dissolve transition. There are 20 picutres altogether which will rotate. They are called “Picture001.jpg”, “Pictue002.jpg” and so on and so forth. I HAVE to use the RotateImages() function. I believe everything is correctly written below except for the RotateImages() function, which I can’t seem to do. I have left this area blank, so as to not confuse everyone who is reviewing this, with all of my previous attempts. THANK YOU !!!!!!!!!

<HTML>
<HEAD>
<TITLE>screen saver slide show</TITLE>
<SCRIPT>

var intCount=2

function RotateImages()
{


}

function StartTrans()
{
setInterval("RotateImages()", 1000);
}

</SCRIPT>
</HEAD>
<BODY onLoad="StartTrans();">

<IMG SRC="Picture001.jpg" ID=Img1 BORDER=1 WIDTH=100% Height=100% STYLE="visibility: visible; filter: revealTrans(Duration=20, Transition=12)">

</BODY>
</HTML>

BrightNail
12-01-2002, 09:52 PM
not sure what you want..

do you want a random transition EFFECT...

or

a random IMAGE

???

larsi
12-02-2002, 12:36 PM
it should be a random dissolve of one picture into antoher. the picutres will go in order (1 thru 20). They are titled "Picture001.jpg " and so on and so forth.

larsi
12-02-2002, 12:38 PM
thanks!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum