Web question

Joe Crawford joe at artlung.com
Tue Oct 16 19:11:25 CDT 2001


~sdpm~
On Tue, 16 Oct 2001, Joel Fentin wrote:
> An html script has frames and a submit button. When the submit button is
> clicked, my perl script is run. It displays  what I want it to display, but
> only within a frame. How do I get rid of the frame stuff without opening
> another window?

In the <form> tag include the target attribute, and set it to "_top" so:

<form
  action="....pl"
  method="get"
  target="_top">

See also:
http://www.w3.org/TR/REC-html40/types.html#h-6.16

This will keep you in the same window, but override all existing frames.

HTH,
	Joe
--
...........  Joe Crawford : thinking and design about the web
.... enigmatic narcissism and miscellany : http://artlung.com
.... community instigator : http://WebSanDiego.org
.... San Diego, California, USA .....................AAAFNRAA

~sdpm~

The posting address is: san-diego-pm-list at hfb.pm.org

List requests should be sent to: majordomo at hfb.pm.org

If you ever want to remove yourself from this mailing list,
you can send mail to <majordomo at happyfunball.pm.org> with the following
command in the body of your email message:

    unsubscribe san-diego-pm-list

If you ever need to get in contact with the owner of the list,
(if you have trouble unsubscribing, or have questions about the
list itself) send email to <owner-san-diego-pm-list at happyfunball.pm.org> .
This is the general rule for most mailing lists when you need
to contact a human.




More information about the San-Diego-pm mailing list