Forum Moderators: open

Message Too Old, No Replies

Loading HTML page after a SUBMIT via a form in a frame

         

nitinmalik

5:31 pm on Sep 25, 2003 (gmt 0)



Hello All,

Here is my issue...

I have the page split into 2 frames and when a user does a Logout via clicking on a button in the form (on the right frame), I want to take the user to the main login page but without the frames on the page.

I know if the logout would have been a link (and not a button) I could use the TARGET="_top" in the link... but this one's a button and I couldn't think of a neat way of doing it.

Thanks,

Nitin

tedster

4:24 am on Sep 26, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld, nitinmalik.

Not sure what you're struggling with altogether, but how about including a "framebuster" javascript on the main login page.

griz_fan

10:36 pm on Sep 29, 2003 (gmt 0)

10+ Year Member



I'm assuming the button is part of a form. If that is the case, try <form action="home.html" target="_top">. Its valid HTML 4.01 transitional, and works for me. I try to avoid JavaScript for navigational features...