HomeEditingEditing contentLinks › Anchor links (within the same page)

Anchor links (within the same page)

Anchor links are used on content pages that contain several (usually three or more) screenfuls of information that visitors must scroll through to view.

Anchor links allow visitors to skip through large amounts of information, resulting in a more efficient information-finding process.

For instance, this page is quite long, so I created links to allow people to "jump" directly to the section – within this same page – that thye're interested. Click any of the links below, then scroll back to here:

1. Create the anchors
2. Create the links to the anchors
3. Don't forget to Save your changes to the content block!

Although it is a somewhat outdated method of presenting your content, anchor links can be useful to create a table of contents within a page or FAQs.

An anchor link consists of two parts:

1. Create the anchors

While editing a Word Processor content block, place your cursor beside the heading or text where the first anchor will go and click the Anchor icon in the toolbar, which looks like a little flag.

The Anchor Properties pop-up window appears. Enter a unique name for the anchor in the ‘Anchor Name’ field and click 'OK'.

FYI: Anchor names don't have spaces in them. In Your Web Department, spaces will automatically be replaced with underscores. Additionally, each anchor name should be unique. (ie Part_1, Part_2, Part_3, etc)

 

You'll see a little flag symbol inserted where the cursor was placed. Repeat the steps above to create the other anchors in the text until all have been entered.



2. Create the links to the anchors

Select the first text that you want to make into a link and click the 'Insert/Edit Link' icon, located in the Word Processor's toolbar.

 

The Word Processor can only automatically locate anchors within the same content block. If the anchor to which you're linking is on another block within the page or on a different page altogether, please refer to the instructions further down.

If the anchor is on the same content block that you're editing:

Select ‘Link to anchor in the text’ from the 'Link Type' pull-down menu. The Select an Anchor pull-down menus appears.

Select the ‘Anchor Name’ from the 'By Anchor Name' pull-down menu and click 'OK'.

The selected text is changed into an anchor link.  Continue adding your anchor links until all your links are added.

 

You can link to an anchor located on a different content block or another page, but in this case the steps are a bit different.

 

If the anchor is on a different content block on the same page:

In this case, instead of choosing 'Link to anchor the text':

  • In the 'Protocol' dropdown of the Link Properties, select 'Other'
  • In the 'URL' field, type the number sign and the name of your anchor, e.g. #beginnings
  • Click 'OK'

 

If the anchor is on a different page:

In this case, instead of choosing 'Link to anchor the text':

  • Click the 'Browse Server' button
  • In 'Asset Type' select 'Page'
  • Click on the name of the page where the anchor is located
  • Click 'Select asset'
  • Now before clicking 'OK' append a number sign and the name of your anchor  (created as previously described) e.g. #beginnings to the end of the link that YWD creates


3. Don't forget to Save your changes to the content block!

All the links to the named anchors have been created.  Now is a perfect time to click the 'Save' button to save your changes and close this content block for editing.

Top of page