我有一个主页面main.html,里面嵌了一个I_main.aspx
<div align= "center ">
<Module:Title id= "Head " runat= "server " Width= "75px "> </Module:Title>
<iframe width=993 height=1000 frameborder=0 scrolling=no src= "I_main.aspx "> </iframe>
</div>
I_main.aspx
<script language= "javascript "> <!--
function showhideQ(id)
{
var status = document.getElementById( "q "+id).style.display
if(status== 'none ')
{
document.getElementById( "q "+id).style.display = 'block '
}
else{
document.getElementById( "q "+id).style.display = 'none '
}
iframeAutoFit();
}
//--> </script>
<span style= "CURSOR: hand " onclick= "showhideQ(1);return false ">
test </span>
<div id= "q1 " style= "DISPLAY: none "> TTTTTTTTTTTTTTTTTTTTTTT </div>
为什么每次点了test,IE的滚动条会自动往上移动,导致用户还要拉动滚动条,才能看到显示的内容,谢谢
------解决方案--------------------
架设=> 假设 -_-!!