artane
August 20th, 2003, 12:27 PM
hey guys,
I've been trying to get a bit of control over the "getURL" action. I want the window that pops up to be a particular size, centered and have the maximize button accessible (it always seems to be greyed-out).
heres the code I've been using:
on (release) {
getURL("javascript:openNewWindow('http://www.google.com','thewin','height=600,width=400,max imize=yes,toolbar=no,sc\r\nrollbars=no')\r\n\r\n");
}
This is all on one line. I've tried adding things like "maximize=yes" but that isn't doing squat.
Within the HTML, I've got this:
<script language="JavaScript">
function openNewWindow(URLtoOpen, windowName, windowFeatures) { newWindow=window.open(URLtoOpen, windowName, windowFeatures); }
</script>
Can somebody please help? I've tried a few of the components that are supposed to make this easy but, I haven't found one that works properly yet.
Thanks very much,
artane
I've been trying to get a bit of control over the "getURL" action. I want the window that pops up to be a particular size, centered and have the maximize button accessible (it always seems to be greyed-out).
heres the code I've been using:
on (release) {
getURL("javascript:openNewWindow('http://www.google.com','thewin','height=600,width=400,max imize=yes,toolbar=no,sc\r\nrollbars=no')\r\n\r\n");
}
This is all on one line. I've tried adding things like "maximize=yes" but that isn't doing squat.
Within the HTML, I've got this:
<script language="JavaScript">
function openNewWindow(URLtoOpen, windowName, windowFeatures) { newWindow=window.open(URLtoOpen, windowName, windowFeatures); }
</script>
Can somebody please help? I've tried a few of the components that are supposed to make this easy but, I haven't found one that works properly yet.
Thanks very much,
artane