On Oct 12, 6:53 pm, Mike BWD <
gadd.m...@googlemail.com> wrote:
> What is the best way to add page specific CSS and .js files?
> Seems silly to add to the dm header when code is only needed on one
> page.
Look in the ./tags/webskin folder for skin:htmlHead tag:
|| DESCRIPTION ||
$Description: htmlHead tag - This tag reproduces the functionality of
cfhtmlHead however maintains functionality if used in a webskin and
that webskin has been cached. $
|| DEVELOPER ||
$Developer: Matthew Bryant (
mbr...@daemon.com.au) $
|| ATTRIBUTES ||
$in: text -- the content to be added to the head. $
$in: id -- an id for the content to be added to the head. If the key
already exists, it is not added again. This ensures it is not added
multiple times $
$in: library -- used in add predefined libraries from core. This can
optionally be a list of libraries. $
$in: libraryState -- used to turn predefined libraries on or off.
Default turns the library on. $
That'll do the trick nicely.
-- geoff
http://www.daemon.com.au