[thelist] RE: document.write() into a pop-up window

Jason E. Burk jasonb at halstead-architects.com
Wed Jan 10 10:43:26 CST 2001


"Ornstein, Ian" wrote:

> I have once seen a JavaScript example that opened a window with
> window.open() without actually calling any URL and used document.write() (I
> think) to write a full HTML document directly into the newly opened window.

does what you're writing to the new window have any dynamic information
included?  in other words, is it based on a user input at some time?

you could always call a javascript file [*.js] in the onLoad and have the
<html> you want entered in the pop-up to be included in the *.js file -- but
this would be static.  i'm not sure how you could make the *.js file
dynamically edited without something like *.asp or some other server-side
solution.

iwwat [it was worth a try].

jason
************************************************
j a s o n  e . b u r k
http://www.bsu.edu/World2000/research/burk/
HALSTEAD|architects
www.halstead-architects.com
jasonb at halstead-architects.com
[ jdog at 020.co.uk ]
icq # | 33425254






More information about the thelist mailing list