M
Micha³ Kurowski
Hi,
It must be a trivial thing to do but I'm a complete ecmascript newbie
with an urgent need ...
I'd like to have a script producing a popup window with a selected
table displayed exactly as in an original page - width and hight are
specially important.
As far as I understand I need to call "getElementById" with a table
"ID" as an argument and then call "window.open" with it.
I'm stuck on an URL problem ... Basically I do not need any URL at all
- I just want a new window to inherit everything from parent. The only
addition should be a "close" button.
I would be really greatfull for some examples/pointers - but make it
simple enough for a newbie ...
Another question - how to make sure such a window will not be treated
as a typical popup ? I mean browsers' popup blocking - is there a way
to differentiate these things ?
Thanks,
It must be a trivial thing to do but I'm a complete ecmascript newbie
with an urgent need ...
I'd like to have a script producing a popup window with a selected
table displayed exactly as in an original page - width and hight are
specially important.
As far as I understand I need to call "getElementById" with a table
"ID" as an argument and then call "window.open" with it.
I'm stuck on an URL problem ... Basically I do not need any URL at all
- I just want a new window to inherit everything from parent. The only
addition should be a "close" button.
I would be really greatfull for some examples/pointers - but make it
simple enough for a newbie ...
Another question - how to make sure such a window will not be treated
as a typical popup ? I mean browsers' popup blocking - is there a way
to differentiate these things ?
Thanks,