Open a new tab
Solved
Anonymous user
-
Codeur61 -
Codeur61 -
Hello,
I am on a PHP page and I want to access another PHP page, but the FORM I am using does it in the same tab and I would like it to open a new tab or even a new Internet window...
Is it possible in HTML or PHP?
--
Only the dark forces can open and close the doors of Silent Hill
I am on a PHP page and I want to access another PHP page, but the FORM I am using does it in the same tab and I would like it to open a new tab or even a new Internet window...
Is it possible in HTML or PHP?
--
Only the dark forces can open and close the doors of Silent Hill
Configuration: Windows XP Firefox 2.0.0.14
10 answers
It's good, it works. However, it needs to be put:
in...
and not in...
Thank you very much for your help.
--
Only the dark forces can open and close the doors of Silent Hill
TARGET=_BLANK
in...
<FORM ACTION="page.php" METHOD="POST" TARGET=_BLANK>
and not in...
<INPUT TYPE="submit" VALUE="ok">
Thank you very much for your help.
--
Only the dark forces can open and close the doors of Silent Hill
bchauchat
Posted messages
1
Status
Member
It works if we put the quotes: TARGET="_BLANK"
You use the same thing with an onload and parent.document.location.href:
Not tested, but normally it works
--
JuZa.e3b.org || No man's land, People are strange, & Jesus was a punk ## The Blood's Flowers
#Engraved February# Sleepwalking Past Hope
Not tested, but normally it works
--
JuZa.e3b.org || No man's land, People are strange, & Jesus was a punk ## The Blood's Flowers
#Engraved February# Sleepwalking Past Hope
However, in Internet Explorer, it doesn't always work... I don't understand why sometimes the command works and sometimes it doesn't.
Under Mozilla, it works perfectly.
--
Only the dark forces can open and close the doors of Silent Hill.
Under Mozilla, it works perfectly.
--
Only the dark forces can open and close the doors of Silent Hill.
Hello everyone,
As a beginner webmaster, I'm looking for something similar:
How can I force the opening of a tab (or two) in IE7 or Firefox when my site opens?
I would like to display my homepage in the first one, and my guestbook in the second...
Thanks in advance
Tacus
As a beginner webmaster, I'm looking for something similar:
How can I force the opening of a tab (or two) in IE7 or Firefox when my site opens?
I would like to display my homepage in the first one, and my guestbook in the second...
Thanks in advance
Tacus
Do you want to create a link that opens a page in a new tab?
--
http://JuZa.e3b.org ||| No man's land, People are strange, & Jesus was a punk
--
http://JuZa.e3b.org ||| No man's land, People are strange, & Jesus was a punk
No, a form of the type:
<form action="page.php" method="post"> <input type="text" name="envoi" />
<input type="submit" value="ok" /> </form>
Except that this code opens page.php in the same tab (and in the same window).
I would like to modify it so that page.php opens in a new tab (or a new window).
Is it possible?
--
Only the dark forces can open and close the doors of Silent Hill.
<form action="page.php" method="post"> <input type="text" name="envoi" />
<input type="submit" value="ok" /> </form>
Except that this code opens page.php in the same tab (and in the same window).
I would like to modify it so that page.php opens in a new tab (or a new window).
Is it possible?
--
Only the dark forces can open and close the doors of Silent Hill.