title: How to add go to top button in the new google sites?
body: <p>I am very confused on how to add a button that shows up when you scroll and then <code>onclick</code> takes you to the top of the page again. </p>
  
  <p>Here is an example of such button from the tutorial at <code>w3school</code> using html and css: </p>
  
  <p><a href="https://www.w3schools.com/code/tryit.asp?filename=G6H468JIUSF0" rel="nofollow noreferrer">https://www.w3schools.com/code/tryit.asp?filename=G6H468JIUSF0</a></p>
  
  <p>However, if I embed it in google sites with "embed" functionality it will just scroll to the top of the element and not to the top of the page. </p>
  
  <p>I also tried putting html tag and linking it with : </p>
  
  <p><code>&lt;a name='top'&gt;&lt;/a&gt;</code> at the <em>top</em> of the page </p>
  
  <p><code>&lt;a href='#top'&gt;Top&lt;/a&gt;</code> at the <em>bottom</em></p>
  
  <p>But this gives an <strong>error</strong> and redirects to : </p>
  
  <p><a href="https://524942313-atari-embeds.googleusercontent.com/embeds/16cb204cf3a9d4d223a0a3fd8b0eec5d/inner-frame-minified.html?jsh=m%3B%2F_%2Fscs%2Fapps-static%2F_%2Fjs%2Fk%3Doz.gapi.en.y5hhWjOdu80.O%2Fam%3DwQE%2Fd%3D1%2Frs%3DAGLTcCNsKzxWFhezE2KkFP7auTmVDBiNEQ%2Fm%3D__features__#top" rel="nofollow noreferrer">https://524942313-atari-embeds.googleusercontent.com/embeds/16cb204cf3a9d4d223a0a3fd8b0eec5d/inner-frame-minified.html?jsh=m%3B%2F_%2Fscs%2Fapps-static%2F_%2Fjs%2Fk%3Doz.gapi.en.y5hhWjOdu80.O%2Fam%3DwQE%2Fd%3D1%2Frs%3DAGLTcCNsKzxWFhezE2KkFP7auTmVDBiNEQ%2Fm%3D__features__#top</a></p>