代码如下:
[ctrl+a 全选 提示:你可先修改部分代码,再点运行代码]
其中用到一个date.js文件代码如下:
1
<!-- hide
2
isie = (document.all ? true : false);
3
4
function getieposx(elt) { return getiepos(elt,"left"); }
5
function getieposy(elt) { return getiepos(elt,"top"); }
6
function getiepos(elt,which) {
7
ipos = 0
8
while (elt!=null) {
9
ipos += elt["
<!-- hide2
isie = (document.all ? true : false); 3
4
function getieposx(elt) { return getiepos(elt,"left"); } 5
function getieposy(elt) { return getiepos(elt,"top"); } 6
function getiepos(elt,which) { 7
ipos = 0 8
while (elt!=null) { 9
ipos += elt["首页
下页
尾页
[1]
[2]
[3]
[4]
[5]
[6]
[7]
[8]
[9]
[10]
[11]
[12]
[13]
[14]
[15]
[16]
[17]
[18]
[19]
[20]
[21]
[22]
[23]
[24]
本文关键:天涯社区用到的日历函数