|
|
|
|
![]() ![]() |
Mar 20 2005, 06:13 PM
Post
#1
|
|
|
Privileged Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 535 Joined: 14-February 05 From: Oslo, Norway Member No.: 3,759 |
in normal links, you can add "_top" to the target, so it opens in the whole page, not only the frame... Is there a way to do the same with form submit buttons?
|
|
|
|
Mar 20 2005, 07:23 PM
Post
#2
|
|
|
Member [Level 2] ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 79 Joined: 12-January 05 Member No.: 3,251 |
You could try using an onSubmit code with javascript and redirect the top to the site you want to go to. Or use PHP or Perl or another language that can easily process form data and print a new page to handle it. Sorry I don't have code for you, but I don't have time to look it up and haven't done it before. The javascript onSubmit is all over the web though, just do a search.
|
|
|
|
Mar 20 2005, 08:32 PM
Post
#3
|
|
|
Privileged Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 535 Joined: 14-February 05 From: Oslo, Norway Member No.: 3,759 |
Ummm... Can someone just give me a code?
|
|
|
|
Mar 22 2005, 01:08 AM
Post
#4
|
|
|
Advanced Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 134 Joined: 23-July 04 From: @ my ketness Member No.: 170 |
google is your friend.. search there and you'll find it!
|
|
|
|
Mar 22 2005, 03:45 AM
Post
#5
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 372 Joined: 14-October 04 Member No.: 1,736 myCENT:ZERO |
To use _top as your target, use:
HTML <form action="somefile.php" method="post" target="_top"> Of course, you should change the action to whatever file you are using. |
|
|
|
Mar 22 2005, 08:36 AM
Post
#6
|
|
|
Privileged Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 535 Joined: 14-February 05 From: Oslo, Norway Member No.: 3,759 |
Yay thanks! I thought i had to put the target="_top" code on the submit button
|
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 22nd November 2008 - 06:11 PM |