Anchors can be done in two different ways in Cascade.
- A link can anchor directly to a widget;
- A link can anchor directly to text by placement of an anchor tag, which is primarily used with wysiwyg text areas.
Linking to a widget
Every widget has a section id, which basically serves as a built-in anchor tag. In order to link from text to the top of a widget, you will need to know the section id.
Finding the ID
- On the page containing the widget, right-click and select ‘inspect.’

- Select the Select an Element button in the top left of the Inspect window:

- Once that is selected, hover over the page text on the left and go to the widget that you want to find.

- In the Inspect area on the right, you will find the corresponding code that goes with FAQ widget.

- The section id is accordion_4. This is what will be used to code the anchor.
- The FAQ link will be coded to link to the top of the FAQ accordion widget using the section id of accordion_4. Highlight the FAQ text and create a hyperlink.

- In the hyperlink panel, it will be set as an internal link because it’s linking within the same page. In the anchor field will be the name of the section id, which is accordion_4.

- Once everything is saved, be sure to test it. What you should see is the FAQ link should move the page down to the top of the FAQ accordion.
Link using an Anchor tag coded directly in the text
- In this example, we want to link the ‘Duties of PIs, the institution, and the IBC’ to the corresponding header.

- Place your cursor to the left of the ‘D’ in the word ‘Duties’ and Select Insert from the top menu and then select ‘anchor.’

- On the Anchor window, type in the name of the Anchor you want to assign. The name can be anything that makes sense to you. In this case, the word Duties has been assigned as the anchor.

- Now, there will be an anchor tag symbol next to the word Duties.

- Navigate to the text that is to link to the newly created anchor, and create a hyperlink. Similar to the previous example, the link will be an internal link, and the anchor will be the name assigned above, which is Duties.

- Test your link to ensure it takes you to the correct location in the document. In this case it’s the ‘Duties of PIs, the institution, and the IBC’ header.