JavaScript Reference/Javascript Properties/frameSpacing

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

"frameSpacing" Example

    
<html>
<body>
<frameset id="myFrameset" 
          onload="alert(window.myFrameset.frameSpacing);" 
          rows="200,*" 
          border="15px" 
          framespacing="2"> 
<frame name="topFrame" noresize scrolling="NO" src="http://www.wbex.ru">
<frame name="mainFrame" src="http://www.wbex.ru">
</frameset>
</body>
</html>



"frameSpacing" is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |<frameset>                                                    |
+----------------+--------------------------------------------------------------+



"frameSpacing" Syntax and Note

Note:
Read and write property. 
Sets the spacing in pixels between frames of a frameset. 
Default value is 2.
    
Syntax:
    
window.framesetID.frameSpacing = value