Forums

Anchor link to another page is not working (2 posts)

  1. madhatterdesign
    Member
    Posted 1 year ago #

    Hello!

    I'm working on a test site for a client that requires anchor links from one page to another. Here is the page where the anchor link is located: http://cecicreative.com/pbotest/current-season/tosca/ (It's the Chiara Taigi link in red.)

    Here is where the anchor is located: http://cecicreative.com/pbotest/current-season/tosca/cast/ It's called "testanchor" and it's located at the bottom of the page by "Matteo."

    When you click the Chiara Taigi link, it takes you to the page as if it was a regular link. Is there some kind of redirect going on? Here is the code I used for the link:
    <a title="testanchor" href="http://cecicreative.com/pbotest/current-season/tosca/cast#testanchor">Chiara Taigi</a>

    And here is the code for the actual anchor:

    <a name="testanchor"></a>

    I tried setting these up using the TinyMCE Advanced plugin, but it does not support anchors on different pages. If anyone has a better idea of how to accomplish this, I'm open to ideas. I've searched the forums and I think I'm setting things up properly, but maybe I've overlooked something? Let me know if more info is needed.

    Thanks so much!!

  2. vtxyzzy
    Member
    Posted 1 year ago #

    It may be nothing, but when I type your href into the Location Bar of Firefox or Chrome, they both insert a slash just before the hash mark. Maybe that needs to be there for the link to work.

    http://cecicreative.com/pbotest/current-season/tosca/cast/#testanchor

Topic Closed

This topic has been closed to new replies.

About this Topic