JavaScript Reference/Javascript Properties/noResize

Материал из Web эксперт
Перейти к: навигация, поиск

"noResize" Example

    
<html>
<frameset rows="50,*" cols="*">
<frame id="myFrame" name="topFrame" scrolling="NO" src="http://www.wbex.ru">
<script language="javascript">
    document.getElementById("myFrame").noResize = true;
</script>
<frameset cols="25%,*" border="15px" framespacing="0">
<frame name="leftFrame" noresize scrolling="NO" src="http://www.wbex.ru">
<frame name="mainFrame" src="http://www.wbex.ru">
</frameset></frameset>
</html>



"noResize" is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |<frame>                                                       |
+----------------+--------------------------------------------------------------+



"noResize" Possible Values

Possible Values
true 
false      (the default).



"noResize" Syntax and Note

Note:
Read and write property. 
Is a frame resizable. 
    
Syntax:
    
document.getElementById("frameID").noResize = value
document.all.frameID.noResize = value // IE only