Insert Anchor Links back to Top of Template in ContactMonkey Template Builder

Follow

Anchor links are a great way to jump back to the top of a template at the click of a button. To implement these all you have to do is follow these steps:

 1. Insert a link into the clickable item, which you want to direct to in the template. (EG: #TOP). The links should follow this format #NAMEOFANCHORLINK so in this case, #TOP - in picture A we are using a button, in picture B we are using a link.

A.

anchor_link_button.PNG

B.

anchor_link_link.PNG

 

2. Now, we need to tell the template where the result should be. To do this, drag an HTML content block into your template, just above where you'd like the destination to be.

anchor_link_html.PNG

3. Paste in this code - <a name="XXX"></a><br />. You will need to replace XXX with the name of the link or button without the #. So in this case it would be <a name="TOP"></a><br />

Have more questions? Submit a request

Comments

Powered by Zendesk