RE: [PHP] Creating a Window without JavaScript that is on top
| From: | Jay Blanchard | Date: | Wed, 22 Mar 2006 19:50:30 +0000 |
| Subject: | RE: [PHP] Creating a Window without JavaScript that is on top | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-232418@lists.php.net to get a copy of this message | ||
[snip]
Is there a way to create a Window that is like the Help or Popup
type windows one can create with JavaScript?
I have an event calendar and I want the link for the event to go
to a PHP page, but I want the page to be on top and have focus
with a Close button. The PHP page will have some PHP code that
will display the data passed by the GET var.
[/snip]
Also, if you don't want to use javascript, you can use target="_blank"
in the link for the new window. You will not have any control over the
look of the window though;
<a href="foo.php" target="_blank">
And you can pass variables via the URL.
Remember, PHP is server-side. In order to things client-side you will
have to rely on client side tools such as javascript.