Jack,
If you used the ##anchor, then it should have worked fine. I have never had
a problem with using anchor tags in CFML. Maybe something else is at the
root of the problem. If you want some sample code, I will send it your way.
Let me know.
Jason
-----Original Message-----
From: Holt, Jack C. [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 09, 2000 3:34 PM
To: Fusebox
Subject: RE: Intrapage Named Anchors
I was actually using '##anchor' in my file because the anchor tag was inside
the scope of a <CFOUPUT> tag. But I didn't mention it because it didn't
seem germane to the problem.
I have actually found a solution, although it could arguably be said to be a
workaround or even "bug fix".
I noticed when I did a view source in a browser (IE and Netscape seem to
show the same thing) it showed a <BASE> tag that sets the Base HREF to a
troublesome value. Below is the actual generated code (the included HTML
comments show you the execution path):
<!-- gettool/index.cfm
Author: [EMAIL PROTECTED] -->
<!-- gettool/app_locals.cfm -->
<!-- app_globals.cfm -->
<base href="http://alloc-dev.dcs.saic.com/itoolshed/getTool/">
<!-- dsp_getTool.cfm
Author: [EMAIL PROTECTED] -->
I fixed this by including a <CFHTMLHEAD) tag in my app_locals.cfm file that
looks like this:
<CFHTMLHEAD TEXT="<BASE
HREF='HTTP://#CGI.SERVER_NAME##CGI.PATH_INFO#?#CGI.QUERY_STRING#'>">
This produces a <BASE> tag in the <HEAD> section of the page that looks like
this:
<BASE
HREF='HTTP://someserver.com/itoolshed/getTool/index.cfm?fuseaction=getTool&i
d=137&CFID=138&CFTOKEN=74658718'>
That seems to fix the problem. The internal links work like I expect them
to.
It would seem that this needs to done in every apps_local.cfm or
apps_global.cfm if you use any internal links in your application.
Or is there a more elegant solution and I'm just too new to Fusebox to be
aware of it?
-----Original Message-----
From: Jason Lotz [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 09, 2000 2:41 PM
To: Fusebox
Subject: RE: Intrapage Named Anchors
Jack,
The <a href="#anchor"> does not work without <cfoutput> tags because CFAS is
looking for #'s. Use <a href="##anchor"> inside <cfoutput>'s and you are
set to go (# escapes the #).
Jason
-----Original Message-----
From: Holt, Jack C. [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 09, 2000 2:40 PM
To: Fusebox
Subject: RE: Intrapage Named Anchors
It did occur to me that I could make the URL absolute. However, it seems to
me that there are number of drawbacks:
1. It would make the page server-specific.
2. It would break links if I moved these files into another directory
structure.
3. It would thwart one of the goals of Fusebox, i.e., to allow display page
designers to be as unconcerned about the environment of the page as
possible.
Besides, I seek to understand why defining a link as <a href="#anchor">
works when calling a CFM template directly and in flat HTML but not when
using the Fusebox technique of calling the page from the index.cfm via
<CFINCLUDE> or <CFMODULE>.
-----Original Message-----
From: Matt [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 09, 2000 2:24 PM
To: Fusebox
Subject: Re: Intrapage Named Anchors
Did you try making the links link as follows:
http://somecompany.com/dir/dir1/index.cfm?action=gettools#anchor
----------------------------------------------------------------------------
--
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
----------------------------------------------------------------------------
--
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
----------------------------------------------------------------------------
--
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.