how to close frames
I think my problem is a little complicated, but I'll try to explain clearly.
I have 3 frames (top, middle, bottom). The bottom frame has a submit message button which when pressed, submits a message to the server. The server creates a HTML page and sends it back to the client. At this point the frame src is pointing at this HTML page and the frame size is 100% (since I want to use the entire bottom frame to display the HTML).
This HTML has also a logout button. When it is pressed I want the middle frame to close / disappear. This is my problem. How do I close the middle frame?
It wouldnt really be 'closing' the frame, but you could have your server creat an HTML file that doesnt have the frame in it
I understand alcodes, but the problem is that even though I have the server create a HTML without frames, it will only display on the bottom frame since it is the bottom frame that submitted the message.
I need to somehow find a way to access the middle frame from the server (after the bottom frame submit the message) so that I can force the middle frame on the client side to close.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)