Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hidden Window

Status
Not open for further replies.

hungnguyen

Programmer
Sep 22, 2000
43
US
Hi,
How can we hide the window? For example, I am openning a window broswer called WINDOW_1, then I click a button. This button will open(or pop up) another window called WINDOW_2 by using syntac "window.open(window_name or file_name)". Also, WINDOW_2 will calculate needed information and put back to previous window, WINDOW_1. I do not want to see the pop-up window(WINDOW_2). How can I hide WINDOW_2? Please help me.
Thank for your help.
[sig][/sig]
 
Hi Hungnguyen,

There is a way to do this,
first i will create a html files with two frame,
but set one of the frame column or width to zero.
example:

<frameset rows=&quot;0,*&quot; frameborder=&quot;NO&quot; framespacing=&quot;0&quot; border=&quot;0&quot; bordercolor=&quot;#006666&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot;>

this way, you have a hidden frame on the top with height=0,
the user can't see it, but if they go to view your source code, they will know that there is a frame hide on the top.

beside this method, you can also pop up a very tiny window, maybe 1x1 windows then close it right after you finish all your calculation.

hope this helps



[sig]<p>Chiu Chan<br><a href=mailto:cchan@gefmus.com>cchan@gefmus.com</a><br><a href= America, Inc</a><br>[/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top