www.webdeveloper.com
Results 1 to 3 of 3

Thread: how to close frames

  1. #1
    Join Date
    Oct 2003
    Posts
    7

    how to close frames

    Hi All,

    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?

  2. #2
    Join Date
    Nov 2002
    Posts
    49
    It wouldnt really be 'closing' the frame, but you could have your server creat an HTML file that doesnt have the frame in it

  3. #3
    Join Date
    Oct 2003
    Posts
    7
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles