How open a PopUp window?

alexk
07-24-2002, 10:34 AM
I must open PopUp window (not regular browser) in client side.
How can I do it?
Please help me.
Thanks.

Rezner
07-24-2002, 10:44 AM
Do you mean with JavaScript?

If so:


<script type="text/javascript" language="javascript">

function PopUp(URL, w, h){
open (URL,'Comment_Window','toolbar=no,location=0,directories=no,scrollbars =yes,status=no,menubar=no,resizable=no,titlebar=no, copyhistory=0,width='+w+',height='+h);
}
</script>

Then, with a hyperlink you could use:<A HREF="javascript:PopUp('http://www.visualbasicforum.com',400,500)">Cool site!</A>

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum