You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
function getSize()
|
|
{
|
|
var w = document.documentElement.clientWidth;
|
|
var h = document.documentElement.clientHeight;
|
|
|
|
// put the result into a h1 tag
|
|
document.getElementById('wh').innerHTML = "<h1>Width: " + w + " • Height: " + h + "</h1>";
|
|
}
|