【www.gdgbn.com--js教程】

脚本说明:
第一步:把如下代码加入区域中
<script language="JavaScript1.2">
scores = new Array(20);var numTotal=0;NS4 = (document.layers) ? 1 : 0;IE4 = (doc
ument.all) ? 1 : 0;ver4 = (NS4 || IE4) ? 1 : 0;if (ver4) {    with (document) {    
        write("");    }}function getIndex(el) {    ind = nul
l;    for (i=0; i[i];        if (whichEl.id == el) {       ind = i;       break;        
}    }    return ind;}function arrange() {    nextY = document.layers[firstInd].p
ageY +document.layers[firstInd].document.height;    for (i=firstInd+1; i.layers.length; i++) {        whichEl = document.layers[i];        if (whichEl.vi

本文来源:http://www.gdgbn.com/wangyezhizuo/8455/