title: Disable links in an iFrame
body: <p>I am having troubles trying to disable links in an iframe. I am trying to create a transparent div that would overlay on top of the iframe so that links do not work. Anyone willing to help?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="framearea" style="border: 2px solid #000000; margin: 0px auto; width: 500px;"&gt;
  &lt;div id="framecover" style="position:absolute; z-index: 2; height: 100%; width: 100%"&gt;&lt;img src="dot.gif" width="100%" height="100%" border="0"&gt;
  &lt;iframe id="scoreboard" scrolling="no" src="http://www.espn.com" style="border: 2px solid; margin-left: 20px; height: 400px; margin-top: -170px; width: 312px; z-index: 1"&gt;&lt;/iframe&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>