--- Jack Gates <[EMAIL PROTECTED]> wrote:
Greetings,
This is my first post here and I am still new to PHP and learning. I just joined this list last night.
Javascript can open a separate and specifically sized window from a
web page when a user clicks on a link that might reference a note or picture
etc.
Can this be done with PHP? If yes, will someone tell me where in
the manual on the php.net site I can find the information to learn how to do
this?
I have been looking through the manual on the site but without
knowing the name or names of what I am looking for it is real hard to find it.
Since PHP is a server-side language, it can't really tell the browser to do anything. However you can generate javascript from your PHP code (if necessary) to open (and close) browser windows.
Mark
===== Mark Weinstock [EMAIL PROTECTED] *************************************** You can't demand something as a "right" unless you are willing to fight to death to defend everyone else's right to the same thing. ***************************************
Mark is right, this can be very useful.
Especially if, say you have multiple images at different sizes that you're opening in a pop up, and you want each window to fit the image perfectly. You could then use PHP to get the size of the image, to then dynamically insert into the JavaScript.
Congrats on RTFM!! It seems daunting at first, but as you learn more, it will become your friend.
-- Chris Martin Web Developer Open Source & Web Standards Advocate http://www.chriscodes.com/
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php