Trouble with Page Jumps

  • Author
    Posts
  • #1036411

    catlander
    Member

    I can’t make the page jump work properly on my latest blog post. But it worked last time. I’ve looked and looked at it, and can’t tell the difference between the two, yet one works, and the other doesn’t. Please help!

    This code pairing works: [Blog post: http://wp.me/p2uyKs-6E%5D
    *Dick Directors
    <span style=”text-decoration:underline;”>‘Dick’ Directors</span>

    This code pairing does not: [Blog post: http://wp.me/p2uyKs-7C%5D
    *Dual Hats: Directing AND/OR Producing
    <span style=”text-decoration:underline;”>Dual Hats: Directing AND/OR Producing</span>

    The blog I need help with is catlander.wordpress.com.

    #1036489

    catlander
    Member

    UPDATE: Now the “good” page is having problems. Some of the anchors work, some don’t and route me to a “This is embarrassing. We can’t find your page” page. Others don’t work and just don’t do anything. Oh, this is SO frustrating!

    Hoping someone out there can help!

    #1036530

    raincoaster
    Member

    we need to see the exact code. Place it here between backticks so we can look at it.

    #1036567

    catlander
    Member

    Ah, sorry about that. Didn’t realize the code wouldn’t show up. Here it is, within backticks. The first two are the ones that are NOT working, the second two are working. The anchor “symbol” does show up on the page, but when I click on the jump (on the published page) it doesn’t take me anywhere.

    <a href="#Directing AND/OR Producing">*Dual Hats: Directing AND/OR Producing</a>

    <a name="Dual Hats: Directing AND/OR Producing"></a><strong><span style="text-decoration:underline;">Dual Hats: Directing AND/OR Producing</span></strong>

    <a href="#Coolest Thing About Art">*Coolest Thing About Art</a>

    <a name="Coolest Thing About Art"></a><span style="text-decoration: underline;"><strong>Coolest Thing About Art</strong></span>

    Thanks for any help you can give.

    Peace
    Cat

    #1036596

    justpi
    Member

    When you write these two:

    <a href="#UniqueName">ETC ETC
    <a name="UniqueName">ETC ETC ETC

    the UniqueName can be anything (doesn’t have to be the actual visible text) but it has to be exactly the same in both cases.

    See here as well:
    http://wpbtips.wordpress.com/2010/08/01/links-to-specific-points-on-a-page/

    #1036601

    catlander
    Member

    Thanks for that, Justpi. I knew that info, and thought that I had done that, but could see that I hadn’t. I finally figured out that it didn’t like the “Dual Hats: ” part. Every time I typed “*Dual Hats: Directing AND/OR Producing” when I updated the page, it would show up as “Directing AND/OR Producing.” So, I changed the text to read “*Dual Hats-Directing and Producing” and it’s now working. I don’t know WHY it didn’t like the colon, but at least the jump now works. Thanks again for helping!

    Peace
    Cat

    #1036607

    justpi
    Member

    You’re welcome.
    The colon can’t be used because it’s a functioning element in a link code (used after http). That issue aside, you don’t have to put all that as a Unique Name anyway: it’s just a marker. You can write just “Dual” or “dhdp” or whatever.

    #1036608

    catlander
    Member

    Good to know. Now I see what you mean about the unique name. Thanks for taking the time to educate this newbie!

    Peace
    Cat

The topic ‘Trouble with Page Jumps’ is closed to new replies.