title: Jquery - Scroll to data-id
body: <p>I have a div with the data parameter 'go' containing an id of a div further down the page. Ex:</p>
  
  <pre><code>&lt;div data-go="help" data-info=""&gt;text&lt;/div&gt;
  </code></pre>
  
  <p>Currently, I can jump to the div using this code:</p>
  
  <pre><code>$("#icons &gt; div").click(
      function() {
          input = $(this).data("go");
          window.location.hash = input;
      }
  );
  </code></pre>
  
  <p>However,I would like a smooth transition (scrollto).<br>
  I have tried to adjust various stackoverflow solutions - but so far no luck.</p>