Highlighted

CFM Anchor link that links to a separate page

New Here ,
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

520

Likes

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

CFM Anchor link that links to a separate page

New Here ,
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

521

Likes

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
Dec 08, 2016 0
Adobe Community Professional ,
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>

Likes

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
Reply
Loading...
Dec 08, 2016 1
New Here ,
Dec 08, 2016

Copy link to clipboard

Copied

Thanks for responding. I will give it a try.

Likes

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
Reply
Loading...
Dec 08, 2016 0
New Here ,
Dec 08, 2016

Copy link to clipboard

Copied

THANKS!!! It worked.

Likes

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
Reply
Loading...
Dec 08, 2016 0
BKBK LATEST
Adobe Community Professional ,
Dec 10, 2016

Copy link to clipboard

Copied

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

Likes

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
Reply
Loading...
Dec 10, 2016 0