• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

CFM Anchor link that links to a separate page

New Here ,
Dec 08, 2016 Dec 08, 2016

Copy link to clipboard

Copied

Hello,

I'm trying to use the same method that I would typically used to create a anchor text in ColdFusion that I would do using HTML. I knew to use ## in ColdFusion but the link pointing to the anchor is giving me a 404.

<a href="mylink"> Skip </a> -- This links returns a 404

<a name="##mylink"> </a>

How do I create an anchor link that will point to a particular section on a new page?

I'm trying to create a "Jump to Content" or "Skip Block Content" on my page and figured using an anchor link would be the best solution.

Thanks.

Views

1.0K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 08, 2016 Dec 08, 2016

Copy link to clipboard

Copied

It's the other way around. The # should be at the link: <a href="#mylink"> Skip </a>

That takes the clicker to:

<a name="mylink"> </a>

or to

<a id="mylink"> </a>

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 08, 2016 Dec 08, 2016

Copy link to clipboard

Copied

Thanks for responding. I will give it a try.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 08, 2016 Dec 08, 2016

Copy link to clipboard

Copied

THANKS!!! It worked.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 10, 2016 Dec 10, 2016

Copy link to clipboard

Copied

LATEST

Please mark the correct answer. It will help someone else in future. Thanks.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation