I'm using this function to open the window..
function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
<body>
<a href="mainmenu1.htm" onclick="NewWindow(this.href,'name','794','565','no');return false;">Main</a>
So, what should I do from here? Does your script means, if they can't maximize...they can't minimize..right? Does that also means, the max button is greyed out?
Regards,
Soon