|
Hi All,
I have this page which contains framsets. What i wanted to do is whenever I click a button from the main frame it will redirect to a different page. Henceforth, killing the framsets. Please refer to the illustration below:
FILENAME: TEST.HTML
<frameset rows="70%, 30%">
<frame src="/forum/foo.html"> //Main Window
<frame src="/forum/bar.html"> //Sub Window
</frameset>
When I click on a button from the foo.php page.. I want my page to go to www.yahoo.com NOT remain on TEST.HTML with the Sub Window still in it.
Any ideas?
Thanks in advance my fellow coders.
|
|
|
You are going to have to use target in your form tag
i.e. <form name="whatever" method="post" action="/forum/whatever.htm" target="_parent">
that should work!
|
|
|
hey... it works! thanks for the advice. :D
|
|
|
|
|
|
|
|
|
|