- 博客(3)
- 资源 (1)
- 收藏
- 关注
原创 在父窗口关闭子窗口(解决刷新问题)
1、一般方法(存在刷新问题)a.htm (父窗口)父窗口var wind; //全局变量function winopen(){ wind=window.open("b.htm","childwind","",""); //打开子窗口}function winclose(){ if(typeof(wind)!="undefined"&&wind.open&&!wind.close
2007-04-26 12:04:00
2199
原创 Js中setInterval()和setTimeout()的使用和清除
setInterval()和setTimeout()都是设定延时,区别在于setInterval()会自动重复,而setTimeout()不会重复;使用举例:var t;function clockS(){ t=setInterval(send(),1000);}function clockE(){ clearInterval(t);}function send(){
2007-04-24 15:06:00
5026
原创 如何设置C# treeview Web控件背景图片
一、先将treeview背景设置为透明,方法如下: 修改treeview.htc,在buildTreeFromRoot()函数中的 bodyNode.style.direction = element.currentStyle.direction; 后面加入如下代码: bodyNode.style.background = "transparent";二、把放treev
2007-01-29 17:19:00
1395
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人