Set dialog window width : window : Javascript Objects JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Javascript Objects » window »

 

Set dialog window width



    
<html>
<body>
<SCRIPT>
function function1()
{
    event.srcElement.blur();
    window.showModalDialog("http://www.navioo.com"""
        "dialogWidth:5cm; dialogHeight:10cm")
}
</SCRIPT
</HEAD>
<BODY>
<SELECT onchange="function1()">
    <OPTION>Item 1</OPTION>
    <OPTION>Item 2</OPTION>
    <OPTION>Item 3</OPTION>
</SELECT>
</body>
</html>

    
      
      



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Javascript Objects
» window