call the OpenWindow function with at timestamp as the title openWindow(strURL, new Date(), intWidth, intHeight);
Ray Bujarski <[EMAIL PROTECTED]> on 03/15/2002 12:41:14 PM Please respond to [EMAIL PROTECTED] To: CF-Talk <[EMAIL PROTECTED]> cc: Subject: OT New window I am using the following code to open a new window. However when one window has already been spawned from the opener, any more new windows simply re-use the same one. I need to open a new window every time, (My users REALLY want to annoy themselves;-) Can anyone tell me how to get the below code to do such a thing? <SCRIPT LANGUAGE=javascript> <!-- function OpenWindow(strURL, strTitle, intWidth, intHeight) { var intWindowLeft var intWindowTop var msgWindow // find out the numbers to center the screen. intWindowLeft = (screen.width - intWidth) / 2; intWindowTop = (screen.height - intHeight) / 2; msgWindow = window.open(strURL,strTitle,'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width ' + intWidth + ',height=' + intHeight + ',left=' + intWindowLeft + ',top=' + intWindowTop); } //--> </SCRIPT> Thanks! Ray Bujarski 858-845-7669 858-636-9900 pgr [EMAIL PROTECTED] ______________________________________________________________________ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists