Slayt Şov-2 (resimli)
Başka bir slayt şov örneği.
ÖRNEK
<table border="0" cellpadding="0"> <tr> <td width="100%"><img src="resim1.gif" width="120" height="90" name="photoslider"></td> </tr> <tr> <td width="100%"><form method="POST" name="rotater"> <div align="center"><center><p><script language="JavaScript1.1"> var photos=new Array() var which=0 /*Change the below variables to reference your own images. You may have as many images in the slider as you wish*/ photos[0]="resim1.gif" photos[1]="resim2.gif" photos[2]="resim3.gif" function backward(){ if (which>0){ window.status='' which-- document.images.photoslider.src=photos[which] } } function forward(){ if (which<photos.length-1){ which++ document.images.photoslider.src=photos[which] } else window.status='End of gallery' } </script><input type="button" value="<<Geri" name="B2" onClick="backward()"> <input type="button" value="İleri>>" name="B1" onClick="forward()"><br> </center></div> </form> </td> </tr> </table>
Copyright © 2002-2004 www.javascriptbankasi.com.tr.tc
Mail:javascriptbankasi@hotmail.com