Re: Re: popup window under php
| From: | Thomas Deliduka | Date: | Thu, 04 Oct 2001 20:00:59 +0000 |
| Subject: | Re: Re: popup window under php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-69972@lists.php.net to get a copy of this message | ||
You could also wait for the page to load and then invoke the JS by putting
an onLoad="function_name()" in the 'BODY' tag of the document.
On 10/4/2001 3:58 PM this was written:
> tsawyer@telcom.lgb.cal.boeing.com (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.
--
Thomas Deliduka
IT Manager
-------------------------
New Eve Media
The Solution To Your Internet Angst
http://www.neweve.com/