<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>idea Scroll to top-button Arcgis Hub in ArcGIS Online Ideas</title>
    <link>https://community.esri.com/t5/arcgis-online-ideas/scroll-to-top-button-arcgis-hub/idi-p/942267</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be nice to have the opportunity to add a "Go-to-top" button on Arcgis Hub pages. Especially long pages require a lot of scrolling; jumping to the top of the page with one quick click would be really user-friendly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Nov 2018 10:55:24 GMT</pubDate>
    <dc:creator>ChristaKemperman1</dc:creator>
    <dc:date>2018-11-26T10:55:24Z</dc:date>
    <item>
      <title>Scroll to top-button Arcgis Hub</title>
      <link>https://community.esri.com/t5/arcgis-online-ideas/scroll-to-top-button-arcgis-hub/idi-p/942267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be nice to have the opportunity to add a "Go-to-top" button on Arcgis Hub pages. Especially long pages require a lot of scrolling; jumping to the top of the page with one quick click would be really user-friendly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Nov 2018 10:55:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-ideas/scroll-to-top-button-arcgis-hub/idi-p/942267</guid>
      <dc:creator>ChristaKemperman1</dc:creator>
      <dc:date>2018-11-26T10:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: Scroll to top-button Arcgis Hub</title>
      <link>https://community.esri.com/t5/arcgis-online-ideas/scroll-to-top-button-arcgis-hub/idc-p/1310498#M10297</link>
      <description>&lt;P&gt;There is a possible workaround that I saw used in &lt;A href="https://census-regionofpeel.hub.arcgis.com/" target="_blank" rel="noopener"&gt;this Peel Census Hub site&lt;/A&gt; and tried to replicate.&lt;/P&gt;&lt;P&gt;1) Add a Row to the bottom of the page&lt;/P&gt;&lt;P&gt;2) In the Row CSS Class, enter a class name such as fixed&lt;/P&gt;&lt;P&gt;3) Add a text element to the row&lt;/P&gt;&lt;P&gt;4) Edit the text in html and add similar code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;&amp;lt;style&amp;gt;
div.fixed {
position: fixed;
  bottom: 10px;
  right: 10px;
border: 1px solid white;
}
&amp;lt;/style&amp;gt;

&amp;lt;div class="fixed"&amp;gt;
  &amp;lt;calcite-button class="btn-solid" href="#Top"&amp;gt;Back to Top&amp;lt;/calcite-button&amp;gt;&amp;lt;/div&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;5) Create or use an existing text element at the top on the page and add the following HTML code in the editor:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;&amp;lt;a id="Top"&amp;gt;&amp;lt;/a&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 15:29:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-ideas/scroll-to-top-button-arcgis-hub/idc-p/1310498#M10297</guid>
      <dc:creator>CharmaleeSandanayake1</dc:creator>
      <dc:date>2023-07-21T15:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: Scroll to top-button Arcgis Hub</title>
      <link>https://community.esri.com/t5/arcgis-online-ideas/scroll-to-top-button-arcgis-hub/idc-p/1334528#M10535</link>
      <description>&lt;P&gt;A slightly faster adaptation of&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/106566"&gt;@CharmaleeSandanayake1&lt;/a&gt;'s way is to set href="#" in the button. Then you don't need to worry about creating an id at the top of the page like in their step 5.&lt;/P&gt;&lt;P&gt;You can put the button directly beside your text too, I have mine to the right of my headers so the user can go to the top from several points along the way. I'm using a &lt;A href="https://icons.getbootstrap.com/icons/arrow-up-circle/" target="_self"&gt;Bootstrap svg icon&lt;/A&gt;&amp;nbsp;so everything between the &amp;lt;a&amp;gt; tags is directly from there. My .pageButton styling is just to make sure it is far enough away from other content, you probably don't need to copy that part.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;style&amp;gt;
  .pageButton {
    margin:0.5em;
  }
&amp;lt;/style&amp;gt;

&amp;lt;a class="pageButton" href="#" style="float:right;"&amp;gt;
  &amp;lt;svg xmlns='http://www.w3.org/2000/svg' width='30' height='30' fill='currentColor' class='bi bi-arrow-up-circle' viewBox='0 0 16 16'&amp;gt;
    &amp;lt;path fill-rule='evenodd' d='M1 8a7 7 0 1 0 14 0A7 7 0 0 0 1 8zm15 0A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-7.5 3.5a.5.5 0 0 1-1 0V5.707L5.354 7.854a.5.5 0 1 1-.708-.708l3-3a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1-.708.708L8.5 5.707V11.5z'&amp;gt;&amp;lt;/path&amp;gt;
  &amp;lt;/svg&amp;gt;
&amp;lt;/a&amp;gt;
&amp;lt;h1&amp;gt;header text&amp;lt;/h1&amp;gt;
&amp;lt;p&amp;gt;
  paragraph text
&amp;lt;/p&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2023 14:02:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-ideas/scroll-to-top-button-arcgis-hub/idc-p/1334528#M10535</guid>
      <dc:creator>asmith</dc:creator>
      <dc:date>2023-10-03T14:02:49Z</dc:date>
    </item>
  </channel>
</rss>

