開啟全螢幕視窗
screen.availWidth
screen.availHeight
window.open 可開啟附視窗
程式碼如下:
<script>
function Event1(){
var w1 = window.open("http://www.google.com", "outerwidth="+screen.availWidth+",outerheight="+screen.availHeight);
}
</script>
<input type="button" value="Press to start" onclick="Event1()">