What I am trying to do is to open a new window and the page I am on opens another page. I have managed to do this and the new window is the size I want it to be as shown in code below. What I want to do is resize the initial page I click the link on to fit in the remaining screen area that the window is not in. Is this possible and do you use javascript for it? Any help on the matter would be much appreciated. Thanks in advance
Here is my code
<html>
<head>
</head><body>
<script type="text/javascript">
var mywindow;
window.onload=function(){
document.getElementById('two_links').onclick=function() {
twoSites();
}
}
function twoSites() {
url='./documents/otherpage.html';
w=700;
h=4000;
l=(screen.width-w);
t=(screen.height-h)/2;
Bookmarks