Nik
April 19th, 2001, 08:36 AM
For our business web-site we have a link to another page on a different server, and we want it to open in a new browser window, BUT its not maximised?? it opens up in a std smaller size until the user clicks maximise, We dont want people to have to maximise it first so that the computer remembers it like in a posting earlier on. are there any commands with the "_New" command that helps me out? (THERE MUST BE) LOL
BreakWindows
April 19th, 2001, 09:50 AM
Well, you could try setting the link properties:
function Maximize()
{
window.innerWidth = screen.width;
window.innerHeight = screen.height;
window.screenX = 0;
window.screenY = 0;
alwaysLowered = false;
}
<A HREF="javascript: onClick=Maximize()">Link</A>
or, set the properties manually:
function newWindow(bookgif){
bookWindow=window.open(bookgif,
'bookwin', 'width=800,height=600')
bookWindow.focus() }
<A href="javascript:newWindow('abc.html')">