10-28-2003, 12:26 PM
I am looking for a code snippet that could be run in a strict PHP environment to do a window popup. Specifically, I will have a page with a <a href....> where, if clicked, I would like to have a popup in a new window open. I will be passing a variable value along with the <a href link which will run a query to a MySQL table to pull the actual popup window content.
10-28-2003, 12:34 PM
Note that many people use pop-up blocking software these days and any pop-pops that are essential to the function of your site may become disabled which will disable your site.
10-28-2003, 12:48 PM
I fully understand that PHP is client-side. The entire html is being rendered through php, thus my original request. As far as popup blocking again, I am fully aware of the limitations. The application that this would be used in is a corporate environment within an InfraNet. Popup blocking is not an issue here.
10-28-2003, 01:16 PM
window.open() Inside the parenthesis is a number of parameters that you can use to define the file to be opened and the size, location and features of the window being opened.