圖片在顯示一定的時間後消失
將以下代碼加到〈body〉與〈/body〉之間
<SCRIPT language=
//
var alttext=
//
var fadeintoview=
var visibleduration=
function regenerate(){
window
}
function regenerate
if (document
setTimeout(
}
var fadeset=
if (fadeintoview)
fadeset=
if (document
document
function bringintoview(){
if (logo
logo
else{
clearInterval(viewit)
if (visibleduration!=
setTimeout(
}
}
function createlogo(){
staticimage=new Layer(
staticimage
staticimage
staticimage
staticimage
staticimage
regenerate
staticitns()
}
if (document
window
if (document
w=
h=
logo
logo
}
function logoit(){
var w
var h
logo
logo
}
function logoit
staticimage
staticimage
}
function insertimage(){
logo
if (fadeintoview)
viewit=setInterval(
else{
if (visibleduration!=
setTimeout(
}
}
if (document
window
window
window
}
function staticitns(){
setInterval(
if (visibleduration!=
setTimeout(
}
//
</SCRIPT>
From:http://tw.wingwit.com/Article/program/Java/JSP/201311/19305.html