Have you set your image directory in app_globals?
<!--- app_globals.cfm --->
<cfset request.webroot="/myrootdir">
<cfset request.imgroot="#request.webroot#/images">
<!--- dsp_header.cfm --->
<img src="#request.imgroot#/nav2_off.gif">
This should work regardless of which level of directories you're in.
Brad
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 25, 2000 11:06 PM
To: Fusebox
Subject: Frames 2nd level directory
I have set up a functioning fusebox and frames application. I have a
universal
header file in the root directory. The header file has graphics that reside
in the "nav" directory (2nd level below root). Also in the second level of
directories,
I have the "HR" directory with index, fra_mother calling the universal
header
file from the root (as in ../"header.cfm"). In the browser, the first level
default loads fine, you drill down one level to the "HR" index, which loads
everything correctly except the header graphics. When I right click to see
"properties"
for the graphics, the path that being called is "hr/nav/nav2_off.gif", even
though the actual path being called by the header is <IMG
SRC="nav/nav2_off.gif">.
I don't want to use a different header file for every directory.
That defeats the whole purpose of fusebox. There must be a standard solution
for this??
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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