Jump to content

php popup window


bob_the _builder

Recommended Posts

Hi,

Is it posible to make a popup window that will resize to the image size + room for the desciption using php without any javascript?

The description is stored in the database and the image name+extension is stored in the database with the images in a folder on the server.

Thanks
Link to comment
https://forums.phpfreaks.com/topic/19422-php-popup-window/
Share on other sites

PHP cannot resized the browser. PHP cannot do anything to the clients browser window like javascript can. You open a new window with normal html when you click a link. Use [b]target="_blank"[/b] in your anchor tag, eg:
[code]<a href="http://google" target="_blank">Google</a>[/code]

What you are aksing is not possible with PHP AFAIK. The only option is javascript if you want to resize the browser window, create a popup etc.
Link to comment
https://forums.phpfreaks.com/topic/19422-php-popup-window/#findComment-84344
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.