Skip to content Skip to sidebar Skip to footer

How To Auto Maximize Window Screen When Link Is Opened?

I am wondering how to set the browser to auto maximize the window screen when a link is opened? Below the sample codes: Vi

Solution 1:

Try this

<html>
<head>
<title></title>
<script type="text/javascript">
function fullScreen(theURL) {
window.open(theURL, '', 'fullscreen=yes, scrollbars=yes,location=yes,resizable=yes');
}
</script>
</head>

<body>
<a href="javascript:void(0);" onclick="fullScreen('http://www.w3schools.com');">Visit W3Schools</a>
</body>
</html> 

Post a Comment for "How To Auto Maximize Window Screen When Link Is Opened?"