'screenTop' Example : window « Javascript Objects « JavaScript DHTML

JavaScript DHTML
1. Ajax Layer
2. Data Type
3. Date Time
4. Development
5. Document
6. Event
7. Event onMethod
8. Form Control
9. GUI Components
10. HTML
11. Javascript Collections
12. Javascript Objects
13. Language Basics
14. Node Operation
15. Object Oriented
16. Page Components
17. Security
18. Style Layout
19. Table
20. Utilities
21. Window Browser
Microsoft Office Word 2007 Tutorial
Java
Java Tutorial
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
C# / C Sharp
C# / CSharp Tutorial
ASP.Net
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
PHP
Python
SQL Server / T-SQL
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
JavaScript DHTML » Javascript Objects » window 
'screenTop' Example

    
<html>
<body>
<script language="JavaScript">
function function1() {
    var m = ""
    m = "The left coordinate is: " + window.screenLeft + "\n";
    m += "The top coordinate is: " + window.screenTop + "\n";
    alert(m)

</script>
<body bottommargin="150">
<input type="button" value="Extract the coordinates" onclick="function1();">
</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 top
16. Set dialog window width
17. Set the dialog window height
18. Is window closed
19. Display an alert dialog
20. Close a window
21. 'offScreenBuffering' Example
22. Open a new window and close it
23. Open a new Window
24. Print a window
25. Create a prompt
26. Window resize By
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.java2s.com'))
35. Show Browser UI
36. Add Desktop Component
w__w___w___.__j_av__a_2___s___.__c_o__m | Contact Us
Copyright 2003 - 08 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.