| rows | ใช้ในการกำหนดค่า หรือคืนค่า การแบ่งสัดส่วนของแถว |
|---|---|
| cols | ใช้ในการกำหนดค่า หรือคืนค่า การแบ่งสัดส่วนของคอลัมน์ |
| id | ใช้ในการกำหนดค่า หรือคืนค่า id ของ frameset |
| focus | ใช้กำหนดให้ frameset ได้รับ focus |
| blur | ใช้กำหนดให้ frameset สูญเสีย focus |
| onfocus | จะทำงานตาม function ที่กำหนด เมื่อ frameset ได้รับ focus |
| onblur | จะทำงานตาม function ที่กำหนด เมื่อ frameset สูญเสีย focus |
property:rows;
return type:string, void
content:ใช้ในการกำหนดค่า หรือคืนค่า การแบ่งสัดส่วนของแถว
example:var tagFrameset = document.getElementById ( "bamboo" ); tagFrameset.rows = "15%, 60%, *";
property:cols;
return type:string, void
content:ใช้ในการกำหนดค่า หรือคืนค่า การแบ่งสัดส่วนของคอลัมน์
example:var tagFrameset = document.getElementById ( "bamboo" ); tagFrameset.cols = "*, 30%";
property:string, void
return type:
content:ใช้ในการกำหนดค่า หรือคืนค่า id ของ frameset
example:var tagFrameset = document.getElementById ( "bamboo" ); alert ( tagFrameset.id );
method:focus ();
return type:void
content:ใช้กำหนดให้ frameset ได้รับ focus
example:var tagFrameset = document.getElementById ( "bamboo" ); tagFrameset.focus();
method:blur ();
return type:void
content:ใช้กำหนดให้ frameset สูญเสีย focus
example:var tagFrameset = document.getElementById ( "bamboo" ); tagFrameset.blur();
property:onfocus = function;
return type:void
content:จะทำงานตาม function ที่กำหนด เมื่อ frameset ได้รับ focus
example:var tagFrameset = document.getElementById ( "bamboo" ); tagFrameset.onfocus = function () { alert ( "welcome" ); }
property:onblur = function;
return type:void
content:จะทำงานตาม function ที่กำหนด เมื่อ frameset สูญเสีย focus
example:var tagFrameset = document.getElementById ( "bamboo" ); tagFrameset.onblur = function () { alert ( "good bye" ); }