Last active
August 29, 2015 14:00
-
-
Save THEtheChad/11380591 to your computer and use it in GitHub Desktop.
Bootstrap Options Display
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
var factory = document.createElement('div'); | |
var html = '<table class="bootstrapper" style="margin:auto;width:500px;position:absolute;top:10px;left:10px;background:#fff;border-spacing:10px;border-collapse:separate;font-size:14px;font-family:Arial">'; | |
var opts = Bootstrapper.ensightenOptions; | |
for(key in opts){ | |
html += '<tr>'; | |
html += '<td style="text-align:right">' + key + '</td>'; | |
html += '<td>' + opts[key] + '</td>'; | |
html += '</tr>'; | |
} | |
html += '</table>'; | |
factory.innerHTML = html; | |
var content = factory.childNodes[0]; | |
window.open('','Bootstrapper Options','width=600,height=600,location=0,menubar=0,status=1,toolbar=0,resizable=1,scrollbars=1').document.body.appendChild(content); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment