摘要: var obj1=document.getElementById("myframe"); alert(obj1.src); //取标签属性 alert(obj1.contentWindow); //取相关联的 window 窗口对象 阅读全文
posted @ 2009-03-16 10:39 Devbar 阅读(224) 评论(0) 推荐(0)
摘要: function getWindowSize(){ return { Width:Math.max(document.body.scrollWidth,document.documentElement.clientWidth), Height:Math.max(document.body.scrollHeight,docume... 阅读全文
posted @ 2009-03-16 09:43 Devbar 阅读(491) 评论(0) 推荐(0)