<iframe id="ifrTest" src="" width="580" height="399" scrolling="no" name="Web"> </iframe>document.getElementById('ifrTest').setAttribute('width','250px');
document.getElementById('ifrTest').setAttribute('height','250px');
document.getElementById('ifrTest').setAttribute('height','250px');
解决方案 »
- 哪位老大帮我看看程序逻辑错在哪里?为什么总一次性跳两格?
- @_@ 看看你的函数总共有几行?(Best Practice)
- 请教在.aspx中使用treeview,我将AutoPostBack设为False,又想让它在节点变换后,能触发事件,能行吗?应该如何做呢?
- 怎样把自己写的自定义对象给包含到自己的文件中啊?
- 我需要走马灯广告的程序源代码,谁能帮我写写。
- javascript的小问题……
- 如何在让本页最大化(已经完成)而且没有标题栏(没解决)
- 模态对话框中进行提交,提交后,在原来的模态对话框打开新的页面。
- 禁用了linkbutton按钮页面布局会乱掉
- 求教做软件工程综合实践
- 怎样使用jacascript安装ActiveX插件
- 怎样禁止img中的onclick事件
<script>
function $(id){return document.getElementsByTagName("iframe")[id]}
$(0).style.width = 250;
$(0).style.height = 250;
</script>
function iframes(){
content.location= 'http://www.zishu.cn/m.html';
document.getElementById('content').height= 500;
document.getElementById('content').width= 1000;
}
</script>