What's the error? Also, why do you have the extra +"" after your +y?
On Tue, Aug 24, 2010 at 10:14 AM, Matthew Smith <[email protected]>wrote: > > Simple script I found online for a popup window, works in ff and chrome, > but > I get an error in ie. Any ideas? > > <script language="javascript" type="text/javascript"> > <!--// > function myPopup(url,windowname,w,h,x,y){ > > > window.open(url,windowname,"resizable=no,location=no,toolbar=no,scrollbars=no,menubar=no,status=no,directories=no,width="+w+",height="+h+",left="+x+",top="+y+""); > } > //--> > > </script> > > > -- > Regards, > Matthew Smith > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-community/message.cfm/messageid:325815 Subscription: http://www.houseoffusion.com/groups/cf-community/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-community/unsubscribe.cfm
