Last active
August 29, 2015 14:13
-
-
Save j13k/2facbc418a367de8292a to your computer and use it in GitHub Desktop.
Simple HTML debug panel with toggle control
This file contains hidden or 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
<!-- Simple HTML debug panel with toggle control --> | |
[ <a id="debugControl" onclick="document.getElementById('debugPanel').style.display = (document.getElementById('debugPanel').style.display == 'none' ? 'block' : 'none'); document.getElementById('debugControl').innerHTML = (document.getElementById('debugControl').innerHTML == '+' ? '-' : '+');">+</a> ] | |
<pre id="debugPanel" style="font-family: 'Courier New', Monospace; display: none"> | |
<!-- Debug output goes here --> | |
</pre> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment