Page 1 of 1

New Window

Posted: Mon Feb 02, 2004 9:10 am
by glennalmeda
Can someone help me on how to open a new window after clicking a link... i dont want the page be displayed on the same window.
thank you.

Posted: Mon Feb 02, 2004 9:11 am
by ol4pr0
read about..

Code: Select all

target=_blank
target=_self
target=_new

ect....

Posted: Mon Feb 02, 2004 4:15 pm
by DuFF
PHP is server side, opening windows are client side. You will have to use HTML (as mentioned above) or Javascript to open a new window.

Posted: Tue Feb 03, 2004 2:30 am
by twigletmac
Moved to Client Side forum.

Mac

Posted: Tue Feb 03, 2004 8:14 am
by m3rajk
target="_blank" in the html will always call it in a new window.
in javascript it's window.open('location','target','optional arguments')

where that's target, replace with target name, and _blank for always being new