Add a popup window



Hire Us!Download Video(1)Comments


This tutorial will show you how to add a popup window with fixed width and height to your phpnuke site.

Steps :
Open javascript.php in your includes/ folder. Just before the closing php tag (?>) Place the following script


Save and close.

To use the link just write it like the following...

echo "<a href=\"javascript:popUp('YOUR_LINK_HERE')\">LINK_NAME</a>";

If you want to use it in a block you can't use echo so you would write it like:

$content .= "<a href=\"javascript:popUp('YOUR_LINK_HERE')\">LINK_NAME</a>";

That's all! Visit the forum for more help.



Hire Us!Download Video(1)Comments