27 February 2014

How to find javascript window screen width

<!DOCTYPE html>
<html>
<body>

<script>

document.write("Available Width: " + screen.availWidth);

</script>

</body>
</html>

No comments:

Post a Comment