Click to See Complete Forum and Search --> : New Window, HELP!!!


JessieO
01-14-2004, 10:46 PM
I'm trying to open a new smaller window... But nothing is opening & all I get is an "error on page" msg in the status bar... Can anyone see something that I'm missing? Here's the script...

...
<SCRIPT LANGUAGE="JavaScript">
function openWindow(URL) {
newWindow = window.open(URL, "BUManagement", "toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=1,width=730,height=580, left=150,top=150")
}
</SCRIPT>
</HEAD>

<BODY
...
<P><font size="1" face="Verdana"><a href=javascript:openWindow('bobu2.htm')><b>Learn more about booking Bob</b></a></P>
...
Thanks!!!

Khalid Ali
01-14-2004, 11:26 PM
make sure

window.open(URL, "BUManagement"

all is in same line,if not in the same line that is..

use the following link

<a href="javascript:openWindow('bobu2.htm')">

tychichus1116
01-14-2004, 11:56 PM
Hi,

I was wondering if any of you pros could help me out - I had a request for a site to maximize the ie or netscape window on load...i'm sure this is possible, right? If I could get the code for this, I'd appreciate it.

So will my doctor's office!

Randy