Re: Opening an URL on an new window
| From: | David Otton | Date: | Tue, 29 Jan 2002 13:12:12 +0000 |
| Subject: | Re: Opening an URL on an new window | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-82559@lists.php.net to get a copy of this message | ||
On Tue, 29 Jan 2002 09:46:39 -0200, you wrote:
>There is a way to open an URL in a new window
<a href="blah" target="_blank"></a>
>using JAVASCRIP commands as such as window.open
[windowVar = ][window].open("URL", "windowName", ["windowFeatures"])
Where windowFeatures is a comma-separated list of any of the following
:
toolbar[=yes|no]|[=1|0]
location[=yes|no]|[=1|0]
directories[=yes|no]|[=1|0]
status[=yes|no]|[=1|0]
menubar[=yes|no]|[=1|0]
scrollbars[=yes|no]|[=1|0]
resizable[=yes|no]|[=1|0]
width=pixels
height=pixels
>where is the documentation for JAVASCRIP commands ?
http://directory.google.com/Top/Computers/Programming/Languages/JavaScript/References/
>thanks
But please don't do this without a very good reason. It disrupts the
flow of the user's session, and only serves to annoy him. Trying to
second-guess the user's needs in this way is bad user-interface
design.
(Oh, and you posted to a PHP list... you know that, right?)
>Eduardo Melo
>copmuter programmer
*sigh*...
djo