Added toggle to collapse sidebar (without old code this time)

This commit is contained in:
Cameron Moon
2013-02-10 23:03:10 +11:00
parent 79b1f2b840
commit 2647d58e60
3 changed files with 36 additions and 0 deletions

View File

@ -58,6 +58,7 @@ document.getElementsByTagName('body')[0].innerHTML = ''
+ ' <div id="chatautomated"></div>'
+ '</div>'
+ '<form id="chatinput" style="display:none"><time></time><span>tell faction:</span><input type="text"/></form>'
+ '<a id="sidebartoggle"></a>'
+ '<div id="scrollwrapper">' // enable scrolling for small screens
+ ' <div id="sidebar" style="display: none">'
+ ' <div id="playerstat">t</div>'