5
Contributors
7
Replies
8
Views
6 Years
Discussion Span
Last Post by epicrevolt
0

I don't think if its possible to generate popups with only PHP. You can use Javascript to achieve this.

0

you can use this code to open a new window. but not php...
window.open('new-window.php','mywindow','width=550,height=420')

Edited by ditty: n/a

0

If the link is <a href=\"modules.php?name=News&file=article&sid=$sid&page=$next_pagenumber ... > </a> Name


how to make the pop up window after the click? Thanks!

Edited by cliffcc: n/a

0

You can make the browser window a certain size via JS as mentioned. php can't do this, as it's done before the browser gets it. ditty has it.

Depending on the content, you could always use a "faux-window", by using jQuery dialog or similar.

0

Please ignore the size of window, I just want to have pop up window by the above mentioned link!

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.