document.defaultView
In this chapter you will learn:
document.defaultView
document.defaultView
returns the Window
object.
<!DOCTYPE HTML> <!--from jav a2 s .c om-->
<html>
<body>
<script type="text/javascript">
document.writeln(window.outerWidth);
document.writeln(document.defaultView.outerHeight);
</script>
</body>
</html>
Next chapter...
What you will learn in the next chapter:
Home » Javascript Tutorial » Document