动态改变是否显示iframe滚动条???急。。。在线等 kao我对csdn彻底失望,俺去google搜一把 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <iframe name=test src="test.htm"></iframe><input type=button value=test onclick="t()"><script>function t(){with(window.frames('test').document.body.style)overflow=overflow=='auto'?'hidden':'auto'}</script> testrecord.contentDocument.body.style.overflow="auto";或者testrecord.document.body.style.overflow="auto";scrolling="yes" || "no"只能够在页面中写好,似乎不可以对它进行编程我的看法确实是如此 it works for me,:(function t(){with(window.frames('test').document.body)scroll=scroll=='yes'?'no':'yes'} 初始设iframe属性scrolling = yes,上述脚本可以实现,如果是no就不行了 结贴啦function t(){with(window.frames('test').document.body)scroll=scroll=='yes'?'no':'yes'}it works is perfectly! still have a problem, the horizontal scroll bar don't show it. 本地运行javascript怎么操作pdf frame的使用 frameset 真讨厌啊 哪位朋友能把下面这段 JS 解密..学习 想用javascript做一个select属性对话框 菜MM提问:请高手帮忙,问题解决马上结贴给分 看个jquery写法,有什么问题? 关于取颜色值的问题?请大家帮帮我,急,谢了 给位大人们帮忙看看,到底什么问题? 字符串断行导致js变量不能正确赋值 关键是我现在不知道数值与字符串是怎样转换的,请叫JAVASCRIPT的编程人员: 这一句错在哪里? 如何屏蔽shift+左键打开新窗口
<input type=button value=test onclick="t()">
<script>
function t(){
with(window.frames('test').document.body.style)
overflow=overflow=='auto'?'hidden':'auto'
}
</script>
或者
testrecord.document.body.style.overflow="auto";scrolling="yes" || "no"只能够在页面中写好,似乎不可以对它进行编程
我的看法确实是如此
with(window.frames('test').document.body)
scroll=scroll=='yes'?'no':'yes'
}
function t(){
with(window.frames('test').document.body)
scroll=scroll=='yes'?'no':'yes'
}it works is perfectly!