That's a nice trick for handling long strings. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 2:32 PM To: CF-Talk Subject: RE: <cfhtmlhead>
I usually do this: <cfsavecontent variable="script"> <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript"> window.open("../index.cfm","mainApp","width="+parseInt(screen.availWidth * .90)+",height="+parseInt(screen.availHeight *90)+",status=yes,top=0,left=0,r esizable"); </SCRIPT> </cfsavecontent> <cfhtmlhead text="#script#"> David Murphy www.cfugcny.org = = = Original message = = = Try using text="" and not text=''. You can get the double quotes in a quoted string by doubling them up (so text="a string with ""another string"" in it") -----Original Message----- From: Critter [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 12:09 PM To: CF-Talk Subject: <cfhtmlhead> oi CF-Talk,!! I've got a tag that says this: <cfhtmlhead text='<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">window.open("../index.cfm","mainApp","width="+parseIn t(screen.availWidth * .90)+",height="+parseInt(screen.availHeight * 90)+",status=yes,top=0,left=0,resizable");</SCRIPT>'> but when the page is processed all that shows is: <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">void(0); </SCRIPT> any ideas? -- Critz Macromedia Certified Advanced ColdFusion Developer <CFX_BotMaster Network="Efnet" Channel="ColdFusion" Blog="http://blog.ctzc.com"> ______________________________________________________________________ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm 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