heh nevermind; i didn't realize you were defining openwin as the function.
still, see if the code helps. too early for me to read apparently ;).

-----Original Message-----
From: Dylan Bromby [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 08, 2001 6:50 AM
To: CF-Talk
Subject: RE: Javascript in Netscape


openwin might be a newer function (not sure). try this though;

<SCRIPT LANGUAGE="JAVASCRIPT">
function open_window(URL) {
        var popup = window.open(URL, "popup_win",
"TOOLBAR=NO,SCROLLBARS=YES,WIDTH=500,HEIGHT=370");
}
</SCRIPT>

then:

<A HREF="javascript:open_window('userid.html')">User ID</A>

hack it up to get what you want, but the window.open function will get you
more compatibility with older browsers.

--dylan

-----Original Message-----
From: han peng [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 08, 2001 12:19 AM
To: CF-Talk
Subject: Javascript in Netscape


hey i had a prob....
i'm opening a new window with size 500,370.
but for the link in there.. i wan the next page to be shown as full screen
or at least can be resized...
tried the codes below..
 can work for IE.. but cant for netscape..

any solution?

cheers
han


File A:
function openwin(location, x, y)
  {
    para="toolbar=no,scrollbars=yes,resizeable=yes,width="+x+",height="+y;
    msgWindow=window.open(location, "displaywindow", para);
  }

<A href="javascript:openwin('userid.html', 500, 370)">User ID</a>



userid.html :
function openwin(location, x, y)
  {
    para="toolbar=no,scrollbars=yes,resizeable=yes,width="+x+",height="+y;
    msgWindow=window.open(location, "displaywindow", para);
  }

<A href="register_email.cfm?action=forget">forgotten</a>

also tried this:
<A href="javascript:openwin('register_email.cfm?action=forget', 640,
480)">forgotten</a>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to