And if you don't want to use a custom tag, and have CF 5, you can use 
CFSAVECONTENT to define your header info.

Try:

<CFSAVECONTENT VARIABLE="goesinHead">
<SCRIPT TYPE="text/javascript"> // LANGUAGE attribute is redundant and has been 
deprecated
window.open("../index.cfm","mainApp","width="+parseInt(screen.availWidth * 
.90)+",height="+parseInt(screen.availHeight *
90)+",status=yes,top=0,left=0,resizable");
</SCRIPT>
</CFSAVECONTENT>
<CFHTMLHEAD TEXT="#goesinHead#">

..depending on your app design, you may have to include <cfoutput> tags 
around the <SCRIPT> in the <CFSAVECONTENT> area.

John Beynon wrote:

>You tried cf_htmlhead instead? I had some issues with quotes etc in the
>cfhtmlhead tag and htmlhead solved it...
>
>Pretty sure that allows you do to:
><cf_htmlhead>
>       ...javascript here
></cf_htmlhead>
>
>HTH,
>
>John.
>
>-----Original Message-----
>From: Critter [mailto:[EMAIL PROTECTED]] 
>Sent: 27 September 2002 17:09
>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";>
>
>
>
>
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.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

Reply via email to