method:open ( url, window_name, option );
return type:window
content:ใช้ในการเปิดหน้าต่างขึ้นมาใหม่
example:var win1 = window.open ( "http://www.bamboolabcode.com", "labcode", " height=100,
width=200, scrollbars=no" );
comment:url คือ site ที่ต้องการเปิด
window_name คือ ชื่อของหน้าต่างใช้สำหรับอ้างอิงในเอกสารของ html
option คือกำหนดคุณสมบัติของหน้าต่างที่จะเปิดขึ้นมา ดังนี้
คุณสมบัติที่สามารถกำหนดค่าได้เพียง yes ( 1 ) หรือ no ( 0 )
คือ toolbars, location, directories, statusbars, menubars, scrollbars, resizable
คุณสมบัตที่สามารถกำหนดค่าได้เดียงตัวเลข ( หน่วย pixel )
คือ width, height, outerwidth, outerheight, left, right