PDA

View Full Version : I forgot how to do pop-up windows!



Lozzoling
03-11-2005, 04:49 PM
I'm so silly,can someone remind me of the pop up window code!

Lozzo2

nelly
03-11-2005, 05:02 PM
www.HabboLox.co.uk (http://www.HabboLox.co.uk) then generators and make 1 :)

Mentor
03-11-2005, 06:43 PM
I usealy do it as a href function so it doesnt get killed by popup blockers


<script language='JavaScript' type="text/javascript">
<!--
function my_popup() { window.open(' URL OF PAGE WANTED TO SHOW IN POPUP','PopUpName','width=500,height=500,resizable =yes,scrollbars=yes'); }
//-->
</script>

Configure the above js, most attributes are obvios etc then use with link href


<a href='javascript:my_popup();' title='title'>Link text</a>

Want to hide these adverts? Register an account for free!