I want to access full page width & height in Opera. Note I am not asking about Viewport's height or width, I want page's/document's width & height. I am using Opera 12.12
I have tried the following:
- document.body.scrollWidth/Height
- document.body.offsetWidth/Height
- window.innerWidth/Height
- document.body.clientWidth/Height
And all of them gives viewport's width/height.
Please use the following link: http://jsfiddle.net/RQhYR/
Or use the following HTML Page
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<body>
<div style="width:2000px;height:2000px;background-color: blue;"></div>
</body>
<script type="text/javascript">
alert(window.outerWidth + "," + window.outerHeight);
</script>
</html>