JavaScript Reference/Javascript Properties/noResize

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

"noResize" Example

   <source lang="javascript">
   

<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>


     </source>
   
  


"noResize" is applied to

   <source lang="javascript">

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

     </source>
   
  


"noResize" Possible Values

   <source lang="javascript">

Possible Values true false (the default).


     </source>
   
  


"noResize" Syntax and Note

   <source lang="javascript">

Note: Read and write property. Is a frame resizable.

Syntax:

document.getElementById("frameID").noResize = value document.all.frameID.noResize = value // IE only


     </source>