mirror of
				https://github.com/flynx/PortableMag.git
				synced 2025-10-31 20:10:13 +00:00 
			
		
		
		
	several minor changes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									183baf86e8
								
							
						
					
					
						commit
						5e83454e87
					
				
							
								
								
									
										5
									
								
								TODO.otl
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								TODO.otl
									
									
									
									
									
								
							| @ -1,5 +1,6 @@ | |||||||
| [_] 35% Priority work | [_] 34% Priority work | ||||||
| 	[_] 50% general todo | 	[_] 47% general todo | ||||||
|  | 		[_] magazine loader and data format... | ||||||
| 		[_] BUG: no drag threshold on excludedElements (TouchSwipe) | 		[_] BUG: no drag threshold on excludedElements (TouchSwipe) | ||||||
| 		| stalled... | 		| stalled... | ||||||
| 		[_] make layer default state configurable... | 		[_] make layer default state configurable... | ||||||
|  | |||||||
							
								
								
									
										16
									
								
								index.html
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								index.html
									
									
									
									
									
								
							| @ -32,13 +32,9 @@ $(document).ready(function(){ | |||||||
| 			} | 			} | ||||||
| 			//$('.splash').show() | 			//$('.splash').show() | ||||||
| 			if(ANIMATE_WINDOW_RESIZE){ | 			if(ANIMATE_WINDOW_RESIZE){ | ||||||
| 				togglePageView(togglePageView('?')) | 				updateView() | ||||||
| 			} else { | 			} else { | ||||||
| 				unanimated( | 				unanimated($('.scaler'), updateView, 30)() | ||||||
| 					$('.scaler'),  |  | ||||||
| 					togglePageView, |  | ||||||
| 					30 |  | ||||||
| 				)(togglePageView('?')) |  | ||||||
| 			} | 			} | ||||||
| 			//$('.splash').fadeOut() | 			//$('.splash').fadeOut() | ||||||
| 		}) | 		}) | ||||||
| @ -149,12 +145,8 @@ $(document).ready(function(){ | |||||||
| 	<div class="magazine"> | 	<div class="magazine"> | ||||||
| 		<div class="cover page current"> | 		<div class="cover page current"> | ||||||
| 			<div class="content"> | 			<div class="content"> | ||||||
| 				<h1 style="color:gray;font-size:125px;">PortableMag</h1> | 					<h1 style="color:gray;font-size:125px;margin-bottom:-35px; margin-top: 160px">PortableMag</h1> | ||||||
| 				<p> | 					<h1 style="color:silver; font-size: 20px; margin-left:10px">A suit for publishing portable periodic magazines on mobile platforms.</h1> | ||||||
| 				[PROJECT DESCRIPTION] |  | ||||||
| 				</p> |  | ||||||
| 				<a href="#navigation">The navigation...</a><br> |  | ||||||
| 				<a href="#anatomy">The anatomy...</a><br> |  | ||||||
| 			</div> | 			</div> | ||||||
| 		</div> | 		</div> | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -18,9 +18,7 @@ var ANIMATE_WINDOW_RESIZE = true | |||||||
| // toggles .dragging CSS class on the viewer while dragging is in 
 | // toggles .dragging CSS class on the viewer while dragging is in 
 | ||||||
| // progress.
 | // progress.
 | ||||||
| // NOTE: this is used mostly for styling and drag assisting...
 | // NOTE: this is used mostly for styling and drag assisting...
 | ||||||
| togglePageDragging = createCSSClassToggler( | togglePageDragging = createCSSClassToggler('.viewer', 'dragging') | ||||||
| 	'.viewer', |  | ||||||
| 	'dragging') |  | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| // toggle between the two main modes:
 | // toggle between the two main modes:
 | ||||||
| @ -40,6 +38,11 @@ togglePageView = createCSSClassToggler( | |||||||
| 	}) | 	}) | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | // this will simply refresh the current view...
 | ||||||
|  | function updateView(){ | ||||||
|  | 	return togglePageView(togglePageView('?')) | ||||||
|  | } | ||||||
|  | 
 | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| /********************************************************* helpers ***/ | /********************************************************* helpers ***/ | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user