p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

beginning_php thread: Controlling window aspects like javascript onLoad behaviors.


Message #1 by Jefferis Peterson <jefferis@p...> on Tue, 01 Oct 2002 13:56:35 -0400
Is there a way to use PHP to open a browser window as a called url with
certain properties, like no toolbar, no resize, etc.  and not use javascript
to do it? 

Jeff


~~~~~~~~~~~~
Jefferis Peterson, Pres.
Web Design and Marketing
http://www.PetersonSales.net
Tel .  xxx-xxx-xxxx
ICQ 19112253

http://www.Slippery-Rock.com - 7,000 hits per year

Message #2 by "Nikolai Devereaux" <yomama@u...> on Tue, 1 Oct 2002 11:20:08 -0700
> Is there a way to use PHP to open a browser window as a called url with
> certain properties, like no toolbar, no resize, etc.  and not use javascript
> to do it?

No -- PHP has no effect on the properties of the browser window.  You'll need
to use a client-side script for that.

Message #3 by "Gellings, C.O." <gellingsco@p...> on Tue, 1 Oct 2002 22:15:03 +0200
you could do something like this:

<script language="JavaScript">
function ShowImage(sImageName)
{
   window.open(sImageName, "Image",
"width=230,height=260,status=no,resizable=no,scrollbars=no");
}

</script>
mth,
Carl

-----Original Message-----
From: Jefferis Peterson [mailto:jefferis@p...]
Sent: 01 October 2002 19:57
To: beginning php
Subject: [beginning_php] Controlling window aspects like javascript
onLoad behaviors.


Is there a way to use PHP to open a browser window as a called url with
certain properties, like no toolbar, no resize, etc.  and not use javascript
to do it?

Jeff


~~~~~~~~~~~~
Jefferis Peterson, Pres.
Web Design and Marketing
http://www.PetersonSales.net
Tel .  xxx-xxx-xxxx
ICQ 19112253

http://www.Slippery-Rock.com - 7,000 hits per year



Message #4 by "Nikolai Devereaux" <yomama@u...> on Tue, 1 Oct 2002 13:34:36 -0700
Carl,

> <snip> and not use javascript to do it?

=)
Message #5 by "Gellings, C.O." <gellingsco@p...> on Tue, 1 Oct 2002 23:08:47 +0200
AAAAAAAAAAAAAaaaaaaaaaaaaaaaaaaaaaaaaaaarrrrrrrrrrrrrrrrrrrrrrrrrggggggggggg
hhhhhhhhhh
Sometimes I resolve to a very low loevel of programming

-----Original Message-----
From: Nikolai Devereaux [mailto:yomama@u...]
Sent: 01 October 2002 22:35
To: beginning php
Subject: [beginning_php] RE: Controlling window aspects like javascript
onLoad behaviors.



Carl,

> <snip> and not use javascript to do it?

=)



  Return to Index