Create Anchor

From Wiki openElement
Jump to: navigation, search

How to Create an Anchor in openElement

You will need:

-A "Multi-Line Text" element.
-One or more "Text Link" elements.
-One or more "Code Block" elements.


Ancre1.png


Add simple text or paragraphs and set your links, then place a Code Block wherever you would like there to be an anchor.


Go to the first Code Block configuration and add the following line of code:
<a name="link2"></a> </br>

Ancre4.png


Note: Give it any name you'd like. In this case, we simply called it link2

Repeat the process for each different Code Blocks (different anchors). Then, configure the links and add this string in the URL field:
#link2
Clicking on the link will automatically take the visitor to the part of the page where the corresponding anchor was placed (in this case link2)


Ancre5.png


Click on "OK"

You have now created anchors on your page.

Personal tools
Namespaces

Variants
Views
Actions
openElement
Community
Toolbox