Two Hoots Banner




Pop-Up Window Javascript

Add the following code to your page to create a pop-up window, with fixed dimensions and no browser window.

<script language="javascript" type="text/javascript">
function popUp(URL){
 
 // window.open returns a reference to a Window Object
 // Pass the URL of the html file to be opened
 // No browser Toolbar
 
 props=window.open(URL,'toolbar=no,
 
 // No Horizontal or Vertical scrollbars 
 scrollbars=no,
  
 // No input field for entering URLs into the browser
 location=no, 
	
 // No Status line
 status=no, 

 // No memubar
 menubar=no, 
	
 // No size handles around the border of the browser window
 resizable=no,
 
 // Width, in pixels of the window's document display area 
 width=300, 
	
 // Height, in pixels of the window's document display area
 height=200');
 }
</script>	
pop up window