title: How to use onclick in amp page
body: <p>I'm trying to convert my current page to an AMP page but I'm having some trouble with onclick attributes.</p>
  
  <p>Is there anyway to add that functionality in AMP page?</p>
  
  <p>Below is the tag I want to convert;</p>
  
  <pre><code>&lt;img src="theSrc"
       alt=""
       onclick="window.open('link', 'Popup','toolbar=no, location=no, statusbar=no, menubar=no, scrollbars=1, resizable=0, width=580, height=600, top=30')"
       style="cursor:pointer"
       id="someID"
  /&gt;
  </code></pre>