Answers
Page tree

If you have a long page of information, you can insert anchors into your page.  Other pages can then link to these anchors to take users directly to that section of the linked page.

 

Placing an Anchor on a Page

  • Select the "Insert" button from the toolbar and then "Other Macros"
  • In the search box that appears on the "Select Macro" screen, enter anchor
  • Select the "Anchor" macro
  • Enter the anchor name to link to and then click on 'Insert"  The named anchor will appear on the page screen while in edit mode but be invisible in page view mode: Note that achnor names can include spaces (they will be automatically removed by Answers from the URL) and are case sensitive.

Anchor Page Creation

Linking to an Anchor

If Link is on the same page in Answers

  1. Select the "Link" button on the editor toolbar.
  2. Choose "Advanced" from the menu options on the left-hand side of the "Insert Link" screen.
  3. Enter #anchorname into the Link box and click on Insert.

 

if Link is on another page in the same space in Answers

  1. Select the "Link" button on the editor toolbar.
  2. Choose "Advanced" from the menu options on the left-hand side of the "Insert Link" screen.
  3. Enter page_name#anchorname into the Link box and click on Insert.
    Dialog showing edit link and link fields

If Link is on another page in a different space in Answers

  1. Select the "Link" button on the editor toolbar.
  2. Choose "Advanced" from the menu options on the left-hand side of the "Insert Link" screen.
  3. Enter spacekey:page_name#anchorname into the Link box and click on Insert.  You can find the spacekey by going to a page within that space and looking at the URL – the spacekey appears right after /display/.
    1. Example:  https://answers.syr.edu/display/answers31/Home is the URL of the home page of Answers.  The spacekey is answers31.  So to the link to the page in our example above from a page in a different Answers space, I would use:
      Dialog showing insert link and fields

 

If Link is on another web site

  1. Select the "Link" button on the editor toolbar.
  2. Choose "Advanced" from the menu options on the left-hand side of the "Insert Link" screen.
  3. Ener the full URL and the anchorname.  Example:  https://mypersonalsite.example.com/Enhancing-Your-Page#insertmacro

 

 

 

 

  • No labels