> I seen a custom tag here last week that popped a bunch of code up into the
> header so you don't have to use the CFHTMLHEADER tag.  I was
> wondering if I
> could be pointed to it again.


htmlhead.cfm:
----------------------------------------------------
<cfsetting enablecfoutputonly="Yes">
<!---
  Adds the inside text to the header.

  Usage:
    <cf_htmlhead>
      <meta name="comment" content="This will be added to the HTML header.">
    </cf_htmlhead>
--->

<cfif thisTag.executionMode eq "End">
  <cfhtmlhead text="#thisTag.generatedContent#">
  <cfset thisTag.generatedContent = "">
</cfif>


<cfsetting enablecfoutputonly="No">
---------------------------------------------------

Patrick


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to