文字幻燈片script
[runcode]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>51du.cn-代碼演示專用頁面</title>
<style type="text/css">
.trans {filter:revealTrans(Transition=12,Duration=2)}
</style>
</head>
<body>
<script language="JavaScript">
Text = new Array(
"<a href='http://www.51du.cn' target='_blank' class='cr4'>班級留言“說”出口,校友錄開通語音留言服務</a>",
"<a href='http://www.51du.cn' class='cr4'>星級會員新體驗,享受無廣告的清新校友錄</a>",
"<a href='http://www.51du.cn' target='_blank' class='cr4'>星級會員免費多彩留言,表情,貼圖,個性無限...</a>",
"<a href='http://www.51du.cn' target='_blank' class='cr4'>星級會員免費留言下載,導出更多昔日記憶</a>",
"<a href='http://www.51du.cn' target='_blank' class='cr4'>在5千萬用戶中脫穎而出,我是星級會員</a>"
)
var IDX= -1;
function playAd() {
if (IDX==Text.length-1) {
IDX=0;
} else {
IDX++;
}
var prefix = "";
divText.filters[0].apply();
divText.innerHTML = prefix + Text[IDX];
divText.filters[0].play();
to = setTimeout("playAd()",6000);
}
</script>
<table width=453 border=0 cellspacing=3 cellpadding=0>
<tr bgcolor=CCF4B9>
<td height=24 bgcolor=CCF4B9 id=divText class=trans></td>
</tr>
<script>playAd()</script>
</table>
</body>
</html>
[/runcode]