Set dialog window top : window « Javascript Objects « JavaScript DHTML

JavaScript DHTML
1. Ajax Layer
2. Data Type
3. Date Time
4. Development
5. Document
6. Dojo toolkit
7. Event
8. Event onMethod
9. Ext JS
10. Form Control
11. GUI Components
12. HTML
13. Javascript Collections
14. Javascript Objects
15. Javascript Properties
16. jQuery
17. Language Basics
18. Mochkit
19. Mootools
20. Node Operation
21. Object Oriented
22. Page Components
23. Rico
24. Scriptaculous
25. Security
26. SmartClient
27. Style Layout
28. Table
29. Utilities
30. Window Browser
31. YUI Library
Java
Java Tutorial
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
JavaScript DHTML » Javascript Objects » window 
Set dialog window top
 
    
<html>
<body>
<SCRIPT>
function function1()
{
    event.srcElement.blur();
    window.showModalDialog("http://www.java2java.com""",
        "dialogWidth:5cm; dialogHeight:10cm; 
        dialogTop:0cm; dialogLeft:0cm")
}
</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. Create a Popup window
2. Set Default Status Information
3. Execute Javascript
4. Hide a window
5. Is window Open
6. Windown screen Left
7. Navigate window to a URL
8. Move window By
9. Move window to
10. Clear Interval
11. Clear Timeout
12. Display confirm dialog
13. Define dialog arguments
14. Set the dialog window left
15. Set dialog window width
16. Set the dialog window height
17. Is window closed
18. Display an alert dialog
19. Close a window
20. 'offScreenBuffering' Example
21. Open a new window and close it
22. Open a new Window
23. Print a window
24. Create a prompt
25. Window resize By
26. 'screenTop' Example
27. Set Timeout (window.setTimeout)
28. Show a Popup
29. Show Help (window.showHelp('URL'))
30. Show Modal Dialog (window.showModalDialog('URL', myArguments, ''))
31. Window self
32. Show Modeless Dialog (window.showModelessDialog(..))
33. Display information in status (window.status)
34. Let window navigate to a URL (window.navigate('http://www.java2java.com'))
35. Show Browser UI
36. Add Desktop Component
37. Handling Status Message Changes
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.