To create an anchor:
- Place your cursor where you want the anchor to be
- Click on the anchor button on the WYSIWYG toolbar (actually looks like an anchor)
- Give the anchor a relevant name (no spaces)
- Save selection
- Save your page
To link to your anchor:
- Highlight the text you want to link to your anchor
- Click on the hyperlink button on the WYSIWYG toolbar
There are now three options:
Option 1 - link to an anchor on the same page:
- Select Anchor on this Page from the link type drop down
- From the anchor dropdown, select the anchor you want to link to
Option 2 - link to the anchor using a full URL:
- Select URL from the link type drop down
- 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:
- Select CMS Content from the link type drop down
- Browse for the page in which your anchor sits (in the box that appears select and save this)
- From the anchor drop down, select the anchor you want to link to
To finish:
- Add some appropriate title text (which when hovered over, tells the user where they'll link to)
- Save selection
- 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.