Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

use html <a href="#TOP"> with CF

Status
Not open for further replies.

theotrain

Programmer
Mar 5, 2003
150
0
0
MX
Im making a page which will output a large amount of data onto one page. i want to provide links to different places on the same page, which HTML does like so:

'marker' at the top of the page would be:
<a name=&quot;top&quot;></a>

link to top would be:
<a href=&quot;#top&quot;>BACK TO TOP</a>

how can i define the 'marker' using a cf variable?
EX: <a name=&quot;#cfvariable#&quot;></a>

and how can i define the link using a cf variable without getting into trouble with the extra pound sign i need?

thanks yall
 
use this:
<a href=&quot;###cfvariable#&quot;>some text</a>

the first two pound signs will display a single pound sign. The ones surrounding 'cfvariable' you know about.

chau
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top