Tweet
I found this piece of code pretty useful. It is when you want the user to click on a link and a pop up window appears with the content that you specify. This window sits on top of the previous page so that your user still stays "within" your site.
Click to see what happens
This is the complete code for that:
<SCRIPT language="JavaScript1.2">
function openwindow()
{
window.open("/guestbook/gbook.php","mywindow","location=1,status=1,scrollbars=1,width=750,height=800");
}
</SCRIPT> <a href="javascript: openwindow()">Click to see what happens</a>
Post new comment