Hummm.... Ok. I'm going to have to dig a bit.... I'm using the fusebox methodology and incHeader is part of my first index.cfm which includes everything else necessary.
Let me see what I can do here. thanks, til tomorrow Brian At 01:09 AM 3/11/02 -0700, you wrote: >Either call the incHeader.cfm as a CF tag with an optional parameter, or >else set a variable before the cfinclude. Within the body tag in that file, >look for the variable. The variable could contain text to be inserted into >the <body> tag, or it could define the entire tag. > ><cfset bodytagtext = 'onLoad="JavaScriptFunctionCall()"'> ><cfinclude template="incHeader.cfm"> > >In incHeader.cfm: > ><cfparam name="bodytagtext" default=""> ><body text="black" bgcolor="white"<cfif Len(bodytagtext)> ><cfoutput>#bodtytagtext#</cfoutput>> > >Jim > > >----- Original Message ----- >From: "Brian Scandale" <[EMAIL PROTECTED]> >To: "CF-Talk" <[EMAIL PROTECTED]> >Sent: Monday, March 11, 2002 12:49 AM >Subject: Re: <cfhtmlhead> > > >> Sometimes I want to use <cfhtmlhead> to push some JavaScript into the ><head> tag. >> >> Then in the <body> tag I want to include >onLoad="JavaScriptFunctionCall()". >> >> However, the body is part of the incHeader.cfm which is included on ALL >pages I'm using... so I need a way to place it there in a dynamic way. >> >> >> >> At 01:09 AM 3/11/02 -0500, you wrote: >> ><cfoutput> :) >> > >> >What are you trying to accomplish? >> > >> >jon >> >Brian Scandale wrote: >> >> Is there a similar tag to <cfhtmlhead> that is used to add content into >the <body> tag? >> >> >> >> Can't seem to find it if it exists >> >> >> >> thanks, >> >> Brian > > ______________________________________________________________________ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

