dynamic header
Hi,
My header file is getting really big, lots of jquery, stylesheets and other bits and pieces due to the demands of trying to create a modern UI.
What I would like to do is invoke a header on a page by page basis and only inlclude the bits I want rather than pull in the whole kitchen sink.
Can I do something like this below. -
<cfinvoke component="cfc.header" method="header" returnvariable="myHeader" jquery="yes" mainStyle="yes" validation="no" />
I suppose I need to invoke an some arguments (argument collection?) and then return them as text.
- is this possible?
- would it make the pages more lightweight?
- how can i return the html to the browser?
Many thanks.