Eric-

I think what you are looking for is this:

<a href="http://site.com/page.cfm?var1=#URL.var1#&var2=#URL.var2###foo";>

In this example, the current page has been passed two URL variables,
var1 and var2.  You create the link on the page that goes to a later
point in the same page by passing the variables again and tacking on the
named anchor.

At the end of the line (###foo) the first # ends the variable, then the
next two # escape into #foo in the HTML.

Matthew Monahan

-----Original Message-----
From: Eric Scuccimarra [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, March 12, 2002 5:36 PM
To: CF-Linux
Subject: Named Anchors with CF


Question - I have a CF page that I want to put named anchors in so we
can 
jump to locations in the page:

Example: <a href="foo">

But the problem is that we are also passing tons of variables to this
page 
in the URL and we can not figure out how to get the anchor location 
(index.cfm#foo) to co-exist with the URL variables.

Any ideas or suggestions will be greatly appreciated.

Eric


______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-linux%40houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_linux or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to