View sourcecode

The following files exists in this folder. Click to view.

index.html

1 lines ASCII Unix (LF)
1
<!DOCTYPE html>
<html>
<head>
    <title>Javascript 1 - Kmom ?</title>
    <meta charset="utf-8">
    <link rel="stylesheet" type="text/css" href="style/style.css">
</head>
<body>
    <h1>Get size of elements</h1>
    <div id="content">
        The size of this browser window is: <span id="browserSize"></span><br />
        The size of the "content" div is: <span id="divSize"></span><br />
        <hr>
    </div>
    <script type="text/javascript" src="js/main.js"></script>
</body>
</html>