mirror of
				https://github.com/flynx/PortableMag.git
				synced 2025-10-31 12:00:11 +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; | ||||
| } | ||||
| 
 | ||||
| .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> | ||||
| 
 | ||||
| <script src="ext-lib/jquery.js"></script> | ||||
| @ -263,7 +288,13 @@ function setupEditor(){ | ||||
| 				if(togglePageView('?') == 'on'){ | ||||
| 					toggleInlineEditor('on') | ||||
| 				} | ||||
| 				$('<div class="editor-status">Editor Mode</div>') | ||||
| 					.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: { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user