External Relations

How do I create an anchor and link to it?

Question:
How do I create an anchor and link to it?
Answer:

To create an anchor:

  1. Place your cursor where you want the anchor to be
  2. Click on the anchor button on the WYSIWYG toolbar (actually looks like an anchor)
  3. Give the anchor a relevant name (no spaces)
  4. Save selection
  5. Save your page

To link to your anchor:

  1. Highlight the text you want to link to your anchor
  2. Click on the hyperlink button on the WYSIWYG toolbar

There are now three options:

Option 1 - link to an anchor on the same page:

  1. Select Anchor on this Page from the link type drop down
  2. From the anchor dropdown, select the anchor you want to link to

Option 2 - link to the anchor using a full URL:

  1. Select URL from the link type drop down
  2. In the URL address field, add the full (live) URL of the page the anchor is on and add "#anchorname" to the end

    For example, if you're linking to an anchor called "visit" on the Mini Open Days page, your URL will beĀ http://www.nottingham.ac.uk/ugstudy/visitingus/miniopenday/miniopendays.aspx#visit

OptionĀ 3 - link to the anchor on another page as internal CMS content:

  1. Select CMS Content from the link type drop down
  2. Browse for the page in which your anchor sits (in the box that appears select and save this)
  3. From the anchor drop down, select the anchor you want to link to

To finish:

  1. Add some appropriate title text (which when hovered over, tells the user where they'll link to)
  2. Save selection
  3. Save and preview your page

In order for this to work, the page with the anchor on and the text linking to it must both be live.