diff --git a/index.html b/index.html index f728ee9..40ad839 100755 --- a/index.html +++ b/index.html @@ -185,6 +185,31 @@ border-bottom: solid 50px silver; } +.editor-status { + display: none; +} +.editor .editor-status { + position: fixed; + display: block; + top: 15px; + left: -20px; + z-index: 99999; + padding: 5px; + padding-left: 60px; + padding-right: 15px; + + background: red; + color: white; + + font-size: 14px; + font-style: italic; + font-weight: bold; + + box-shadow: 5px 5px 25px 0px black; + + cursor: hand; +} + @@ -263,7 +288,13 @@ function setupEditor(){ if(togglePageView('?') == 'on'){ toggleInlineEditor('on') } + $('
Editor Mode
') + .appendTo($('.chrome')) + .click(function(){ + toggleEditor('off') + }) } else { + $('.editor-status').remove() toggleInlineEditor('off') } setCurrentPage($('.current.page')) @@ -369,6 +400,12 @@ $(document).ready(function(){ title: 'Global', doc: '', + /* + Esc: function(){ + toggleEditor('?') == 'on' && toggleEditor('off') + }, + */ + Home: firstPage, End: lastPage, Left: {