> How do I construct the href in the <link> tag to work independently of
where
> the template is within the directory tree?  I want to be able to take this
> whole app and to be able to place it anwhere in an existing web directory
tree
> without modification, so I can't use absolute referencing to the style
sheet,
> unless the link were dynamically generated by CF.

You already got some good suggestions, another potential solution would be
this UDF:

http://www.cflib.org/udf.cfm?ID=841

Do something like this:

relativeFilePath(GetBaseTemplatePath(),GetCurrentTemplatePath())

To get a feeling of how it works

----------------------------
Massimo Foti
Certified Dreamweaver MX Developer
Certified Advanced ColdFusion MX Developer
http://www.massimocorner.com/
----------------------------


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to