fixefox中如何获得div的onresize事件 http://topic.csdn.net/t/20041224/13/3673363.html 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 body中 onresize="javascript:OnReSize();" //屏幕改变大小时,触发 function OnReSize() { parent.window.moveTo(0,0); parent.window.resizeTo(screen.availWidth,screen.availHeight); treeHeight = (document.body.clientHeight - 20); listHeigth = document.body.clientHeight - 45; document.all?($('treeMenuControl').style.cssText="float:left;margin:0px;background-color:#eee;width:9px;height:"+treeHeight+"px;"):($('treeMenuControl').setAttribute("style","float:left;margin:0px;background-color:#eee;width:9px;height:"+treeHeight+"px;")); } 现在问题是FF只能获得WINDOW的onresize事件。但是我使用dojo的splitpanel。它会改变区域大小,也就是div,这样就弄得我没办法获得onresize对于这个DIV JS实现弹出层全屏特效,类似F11 关于js操作table的问题 jquery 如何 创建 dom 对象啊 这样的问题出现 很无语 如何在一个超链接里面刷新两个frame的内容 ajax 怎么将调用的数据载入到制定的图层中 JS 外币兑换问题 一个很很很很很很很很简单的问题 请教下大家 怎么让网页下面出现横向的scrolling以适应列数很多的表格 分高哦!!!!!!!!! ???javascript 动态改变滚动条的颜色 关于innerHTML和document.write当中的<style>标签 求无间断图片跑马灯???
function OnReSize()
{
parent.window.moveTo(0,0);
parent.window.resizeTo(screen.availWidth,screen.availHeight);
treeHeight = (document.body.clientHeight - 20);
listHeigth = document.body.clientHeight - 45;
document.all?($('treeMenuControl').style.cssText="float:left;margin:0px;background-color:#eee;width:9px;height:"+treeHeight+"px;"):($('treeMenuControl').setAttribute("style","float:left;margin:0px;background-color:#eee;width:9px;height:"+treeHeight+"px;"));
}