Creating a page jump to a different page

Support Area Forums Grassroots Creating a page jump to a different page

Viewing 2 posts - 1 through 2 (of 2 total)
URL to the page in question: http://
  • Author
    Posts
  • #33329
    Debbie Ethell
    Participant

    Hi Bill,

    I want to have certain items on one page linked to specific spot on a separate page. I know how to create a Page Jump but I want the viewer to be able to not only jump to another page but to a specific spot on a separate page.

    An example is the Glossary. I want the viewer to click on a word in the text that will automatically take them to the definition of the word on the Glossary page. Do you know the codes to do this? I’m assuming I need an anchor on the Glossary page but can’t figure out how to link the two together.

    Thanks,
    Debbie

    #33333
    Bill Robbins
    Moderator

    Hi Debbie,

    You’re familiar with creating a link on the same page. It looks something like this:

    
    <a href="#three">Go to section three</a>
    

    Say you want to link to that section from a different page, the link would look like this:

    
    <a href="http://yoursite.com/page#three>Go to section three</a>
    

    Basically you place the URL to the page first and then add the #three or whatever to the end of the URL. If there is a slash on the end of the URL, take that out before adding the #three.

    Hope that helps out,
    Bill

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Creating a page jump to a different page’ is closed to new replies.