Help - I have a link in my Webpage that opens as a new window - however it does not open to its maximum size - how can I, when I click on the link make it grow to fit the screen automatically
Thank you!!!!!!
Caroline:confused:
Printable View
Help - I have a link in my Webpage that opens as a new window - however it does not open to its maximum size - how can I, when I click on the link make it grow to fit the screen automatically
Thank you!!!!!!
Caroline:confused:
Hi,
I think this is what you want
Code:<html>
<head>
<title>Untitled</title>
<script language="JavaScript" type="text/javascript">
<!--
function maximise(){
window.moveTo(0, 0);
window.resizeTo(screen.width, screen.width)
}
//-->
</script>
</head>
<body>
<a href="javascript:" onclick="maximise()">Maximise Window</a>
</body>
</html>