這是個出色的幻燈播放腳本,並且很容易安裝。可采用三種方式來觀賞圖像:自動循環、前進或後退按鈕、從拉下選項目錄作選擇。
安裝:
步驟一 拷貝以下腳本後貼在有關網頁的 HEAD 之中。
步驟二 拷貝以下代碼貼於有關網頁的 BODY 范圍內您需要展示幻燈圖像的部位。 唯一需要調整的是圖像的 文件名以及圖像標題。 注:盡管這個幻燈播放程式可以隨意調整圖像面積大小,但為了美觀和順暢,最好使用一律的,並且不大於300 x 300 像素的圖像。
<center>
<form name=slideform>
<table cellspacing=1 cellpadding=4 bgcolor="#000000">
<tr>
<td align=center bgcolor="#C0C0C0">
<font color="#000000"><b>幻燈圖像</b></font>
</td>
</tr>
<tr>
<td align=center bgcolor="white" width=200 height=150>
<img src="tx1.jpg" name="show">
</td>
</tr>
<tr>
<td align=center bgcolor="#C0C0C0">
<select name="slide" onChange="change();">
<option value="tx1.jpg" selected>圖像一
<option value="tx2.jpg">圖像二
<option value="tx3.jpg">圖像三
<option value="tx4.jpg">圖像四
<option value="tx5.jpg">圖像五
<option value="tx6.jpg">圖像六
</td>
</tr>
<tr>
<td align=center bgcolor="#C0C0C0">
<input type=button onClick="first();" value="|<<" title="Beginning">
<input type=button onClick="previous();" value="<<" title="Previous">
<input type=button name="slidebutton" onClick="ap(this.value);" value="開始" title="AutoPlay">
<input type=button onClick="next();" value=">>" title="Next">
<input type=button onClick="last();" value=">>|" title="End">
</td>
</tr>
</table>
</form>
</center>