iframe中有个height和width属性,改变它就可以了呀?

解决方案 »

  1.   

    <% i=300
     j=400 %>
    <iframe  style="yourstyle" 
                               src="yourpage"
    height="<%=i%>" 
                               width="<%=j%>">
    name="555" 
    scrolling="auto" >
    </iframe>
      

  2.   

    我应说的更明白些,引用 wulemale的语句
    <% i=300
     j=400 %>
    <iframe  style="yourstyle" 
                               src="yourpage"
    height="<%=i%>" 
                               width="<%=j%>">
    name="555" 
    scrolling="auto" id=message>
    </iframe>
    我要把控制程序放在youpage里面,而要控制的是上级网页的iframe标记。这样写可以吗?js:
    opener.message.hight+=10;