摘要: 超级简单的方法,也不用写什么判断浏览器高度、宽度啥的。下面的两种方法自选其一就行了。一个是放在和iframe同页面的,一个是放在test.html页面的。注意别放错地方了哦。iframe代码,注意要写ID<iframe src="test.html" id="main" width="700" height="300" frameborder="0" scrolling="auto"></iframe>jquery代码1://注意:下面的代码是放在te 阅读全文
posted @ 2013-04-02 12:01 shenrq163 阅读(132) 评论(0) 推荐(0) 编辑
摘要: <iframe src="1.htm" name="ifrmname" id="ifrmid"></iframe>一、 用iframe的name属性定位 <input type="button" name="Button" value="Button" onclick="document.frames('ifrmname').location.reload()">或 <input type=&quo 阅读全文
posted @ 2013-04-02 11:58 shenrq163 阅读(231) 评论(0) 推荐(0) 编辑