mirror of
https://github.com/flynx/PortableMag.git
synced 2025-10-31 20:10:13 +00:00
more tweeking...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
84f84f9c4f
commit
58981ad8a8
37
index.html
37
index.html
@ -185,6 +185,31 @@
|
|||||||
border-bottom: solid 50px silver;
|
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;
|
||||||
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<script src="ext-lib/jquery.js"></script>
|
<script src="ext-lib/jquery.js"></script>
|
||||||
@ -263,7 +288,13 @@ function setupEditor(){
|
|||||||
if(togglePageView('?') == 'on'){
|
if(togglePageView('?') == 'on'){
|
||||||
toggleInlineEditor('on')
|
toggleInlineEditor('on')
|
||||||
}
|
}
|
||||||
|
$('<div class="editor-status">Editor Mode</div>')
|
||||||
|
.appendTo($('.chrome'))
|
||||||
|
.click(function(){
|
||||||
|
toggleEditor('off')
|
||||||
|
})
|
||||||
} else {
|
} else {
|
||||||
|
$('.editor-status').remove()
|
||||||
toggleInlineEditor('off')
|
toggleInlineEditor('off')
|
||||||
}
|
}
|
||||||
setCurrentPage($('.current.page'))
|
setCurrentPage($('.current.page'))
|
||||||
@ -369,6 +400,12 @@ $(document).ready(function(){
|
|||||||
title: 'Global',
|
title: 'Global',
|
||||||
doc: '',
|
doc: '',
|
||||||
|
|
||||||
|
/*
|
||||||
|
Esc: function(){
|
||||||
|
toggleEditor('?') == 'on' && toggleEditor('off')
|
||||||
|
},
|
||||||
|
*/
|
||||||
|
|
||||||
Home: firstPage,
|
Home: firstPage,
|
||||||
End: lastPage,
|
End: lastPage,
|
||||||
Left: {
|
Left: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user