codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  How to kill framesets  meguyme at 02:46 on Friday, June 23, 2006
 

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.

  Re: How to kill framesets  cherni99 at 10:41 on Tuesday, June 27, 2006
 

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!

  Re: How to kill framesets  meguyme at 10:51 on Tuesday, June 27, 2006
 

hey... it works! thanks for the advice. :D

  Re: How to kill framesets  cherni99 at 11:01 on Tuesday, June 27, 2006
 

No probs!








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  automation of Word Mail Merge
•  Re: Filepointer in Perl
•  Re: dynamic crystal report generation
•  Data transfer from DB2 to Sybase using Perl?
•  is there other ways to get data out from excel using ASP.NET
•  Re: Array manipulations
•  ASP+Bar Code
•  Please help me with my Hover Buttons (pls)
•  Re: User input. Command line application.


Recent Articles
What is a pointer in C?
Multiple submit buttons with form validation
Understanding Hibernate ORM for Java/J2EE
HTTP screen-scraping and caching
a javascript calculator
A simple way to JTable
Java Native Interface (JNI)
Parsing Dynamic Layouts
MagicGrid
Caching With ASP.Net


© Copyright codetoad.com 2001-2006