Not exactly sure what you are asking without seeing more of the code or
error that you have... 

does the window.open() work?  OR Is there an easy way to control window
size?

If you are using any variables within the window.open function make sure to
wrap <cfoutput> around the script/function so the variables are read
correctly.

Here is a function I use that works in NN and MSIE.  You can change the
winprops (which should be on one line not TWO) of course to meet your needs:


function doWin() {
        // set vars for centering pop-up window within the browser
        var winl = (screen.width - 250) / 2;
        var wint = (screen.height - 75) / 2;
        var winprops = 'height=75,width=
250,top='+wint+',left='+winl+',directories=no,status=no,scrollbars=no,resize
=no,menubar=no';
        // Display window 
        win=window.open("doit.cfm?action=no","WindowName",winprops);
}



Steven Semrau
SRA International, Inc.
Senior Member, Professional Staff
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Com:  (703) 805-1095
DSN:  (703) 655-1095


-----Original Message-----
From: Richard Colman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 10, 2001 10:40 AM
To: CF-Talk
Subject: JS:URL Parameter in window.open



does anyone know something like this will work:

window.open('file.cfm?name=value', ... )

(does not seem to be working.)

is there another easy way to control window size while passing a parameter
in the URL???

TNX if you can help.

Rick Colman
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to