'dialogLeft' Example : dialogLeft « Javascript Properties « JavaScript Reference

Home
JavaScript Reference
1.Event Handlers Reference
2.Javascript Collections
3.Javascript Methods
4.Javascript Objects
5.Javascript Properties
JavaScript Reference » Javascript Properties » dialogLeft 
'dialogLeft' Example

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

    
      
      
Related examples in the same category
1.'dialogLeft' Syntax and Note
2.'dialogLeft' is applied to
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.