[programming] Re: JavaScript pop-up

  • From: Ross Nelson <rnelson@xxxxxxxxxxxx>
  • To: programming@xxxxxxxxxxxxx
  • Date: Tue, 12 Jun 2001 17:44:22 -0500


>How do I make a window pop up with a pre-made HTML file in it from a link 
>in JavaScript? I thought it was
>going to be really easy, but all I've done so far is generate tons of 
>errors :(

If you don't see the HTML, tell me and I'll email you offlist with an 
attachment (include your addy)

   <script language="JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v1.2
   window.open(theURL,winName,features);
}
//-->
</script>

<body 
onLoad="MM_openBrWindow('news.htm','news','scrollbars=no,width=500,height=500')">

Ross

To unsubscribe, send a message to programming-request@xxxxxxxxxxxxx with the 
words "unsubscribe"  (without quotes) in the subject feild.  OR visit 
http://freelists.org/

Other related posts: