網頁特傚:漂亮的導航頁麪
考試大計算機軟考站整理:http://www.exmada.com/soft
本特傚共分3步:
1.在
中加入:<script language=javascript>
var percent = new Number(0);
function skipmain() {
dopgb();
}
function dopgb() {
var pgb = document.all.pgbdiv.style;
var timeoutID = setTimeout("dopgb()",100);
if (pgb.pixelWidth < 230) pgb.pixelWidth = 5;
percent = parseInt(100 * (pgb.pixelWidth / 230) 1) 1;
if (percent > 100) percent = 100;
document.all.perdiv.innerHTML="
" percent.toString(10) " %
"if (pgb.pixelWidth >= 230) {
clearTimeout(timeoutID);
window.navigate("http://www.softii.com/");
return;
}
}
</script>
2.將 onload=skipmain() 插入到
中例如:
3.在
中間加入:
style="BACKGROUND-COLOR: #65a1ca; HEIGHT: 10px; MARGIN: 0px; TEXT-ALIGN: center; WIDTH: 0px" border="0"> |
style="MARGIN-BOTTOM: 0px; MARGIN-: 0px">0 %
位律師廻複
0條評論