[EMAIL PROTECTED] (Tim Sawyer) wrote:
> I want to open a popup window under php control. So lets say I have an
> if statement which if true opens the window.
>
> if ($something) {
> JavaScript:window.open("test.php",blah...);
>}
>
> Guess I'm saying that I want to call a Javascript function without the
> user clicking on anything.
you need to put tha javascript in <script> tags and just echo it all
in the if block.
--
Henrik Hansen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]