Link by URL to a section of the About Widget text

680
2
Jump to solution
04-08-2021 09:24 AM
Labels (1)
LJuliusson
New Contributor III

Hello, I am using the About widget in ArcGIS Web AppBuilder. What I would like to do is create a link at the top of the About page that links (shortcuts) the user to a location within the text further down. I've looked at the code in the "view html source" for the about page, and do not find any IDs or anchors in the html, so I'm not sure how to do this. Does anyone have any suggestions?

Thank you, Lara

0 Kudos
1 Solution

Accepted Solutions
JohannesLindner
MVP Frequent Contributor

You can just put your own anchors into the HTML source.

<a id="top"></a>
<a href="#bottom">Go to bottom</a>
<div style="display:block;height:1000px"></div>
<a href="#top">Go to top</a>
<a id="bottom"></a>

Have a great day!
Johannes

View solution in original post

2 Replies
JohannesLindner
MVP Frequent Contributor

You can just put your own anchors into the HTML source.

<a id="top"></a>
<a href="#bottom">Go to bottom</a>
<div style="display:block;height:1000px"></div>
<a href="#top">Go to top</a>
<a id="bottom"></a>

Have a great day!
Johannes
LJuliusson
New Contributor III

Thank you Johannes!

The About widget HTML source text is really complex, but I found the right places and got it to work just fine.

Cheers, Lara 

0 Kudos