Created
April 30, 2014 17:09
-
-
Save troyericg/7a93c7b75d7badf2bd9a to your computer and use it in GitHub Desktop.
deactivates links on a page (typically for html mockups)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript">window.onload=function(){var anchors=document.getElementsByTagName("a");for(var i=0,len=anchors.length;i<len;i++){anchors[i].onclick=function(){return false;};};};</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment