It will work on an IMG tag also, as long as you create a web server
mapping not a cf mapping in the CFAS.  If all your docs are CFML then
create a cf mapping in the CFAS for them and a web server mapping for
the image directory(s).  

I have not tried it with CFCONTENT, but would assume it would work with
a CF mapping.

Regards
Chuck

-----Original Message-----
From: Paris Lundis [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, January 16, 2002 9:32 AM
To: CF-Talk
Subject: RE: approach to nested file locations.. menus.. and includes...

thanks Chuck.. was considering that approach.. had used that one before
as
well...

Assume extending it to IMG tag references should be seamless as well...

Longer code on large pages... but aside from that it should work well I
suspect...

Even with CFCONTENT :) ?


-paris


-----Original Message-----
From: Chuck Hergenroeder [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 16, 2002 09:27
To: CF-Talk
Subject: RE: approach to nested file locations.. menus.. and includes...


You could create mappings on the web server, that way no matter where
you are in the directory structure you could reference the specific
folder and file that you wanted to go to.

e.g. If you create a mapping called "folder" you could place the
following link in your code no matter where you are in the app.
        <a href="/folder/file.cfm">
Instead of:
        <a href=http://url.com/top_folder/folder/file.cfm> or
        <a href"../folder/file.cfm>


-----Original Message-----
From: Paris Lundis [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 16, 2002 1:38 AM
To: CF-Talk
Subject: approach to nested file locations.. menus.. and includes...

so this has been brought up in part before and I was wondering if anyone
had
successfully came up with an easy to use solution...

like most fusebox-like sites, we utilize a well defined site
architecture/naming schema...

one of the glaring parts of our universal solution and most others is
the
header and footer type pieces...

in both we have navigation (links) to certain things.... all is swell if
we
define this in long full defined server linkage.... including the img
locations ...

has anyone come up with any approach that works well no matter where a
person is making the call from within your site...?? want to move away
from
the sub_header design I have been implementing (somewhat lazily) for a
while
now...

interested in hearing approaches others have successfully employed to
work
around this.

-paris




______________________________________________________________________
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to