setting up a new window/reflected page
by Nathan Lyle <natlyle(at)nmu.edu>
|
Date: |
Tue, 15 Aug 2000 23:34:32 -0400 |
To: |
hwg-techniques <hwg-techniques(at)hwg.org> |
|
todo: View
Thread,
Original
|
|
Javascript question:
Right now I have a page with links that pops open a smaller window that
contains misc. info related to that link. Originally, I had tried to create
the text for that new page via javascript and then import that into the
command to open a new window. I thought I'd seen this done somewhere
before. I tried a bunch of ways (like var new_text = "<html><body
bgcolor=#ffffff>...etc."; open(new_text,"New page","");) and various ways
of jiggling the command structure to get that approach to work, only it
never did.
The way I have it now, I open the new window, then the script in the
original page just writes to that window. This works, but my curiosity
isn't satisfied. Am I right in thinking there's a way to pack javascript
relfected HTML into a variable and then into the open() call?
Thanks for any ideas....
~Nathan Lyle - Web Design/Instruction
E-Mail: natlyle(at)nmu.edu or jopling(at)geocities.com
Web: http://vm.nmu.edu/~natlyle
Phone: 906-227-5736
Address: 1701 Lincoln Ave. #14, Marquette, MI 49855
"Creativity is more important than knowledge."
- Albert Einstein
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA