Neil,

Yes, you can write to a window after you create it.  Here is some sample
code taken from JavaScript: The Complete Reference

var myWindow = open('','mywin' , 'height=300,width=300');
myWindow.document.writeln( "<html><head><title>Created
Window</title></head>" );
myWindow.document.writeln( "<body>Text goes here</body></html>" );

(it's a good book, go buy it; sorry for the shameless plug :)
http://s1.amazon.com/exec/varzea/ts/exchange-glance/Y02Y2206893Y1211912/qid=
1021267427/sr=1-3/104-7919152-9558336

Reuben Poon


-----Original Message-----
From: Neil H. [mailto:[EMAIL PROTECTED]]
Sent: Sunday, May 12, 2002 10:07 PM
To: CF-Talk
Subject: Pop a window with content...
Importance: Low


Is there a way to pop a window from a page loading without having its
contents as a physical file?  I.e. I would like to pass the contents of the
window pop in the javascript?

Thanks,

Neil


______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to