mirror of
https://github.com/flynx/PortableMag.git
synced 2025-10-29 11:10:08 +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
|
||||
[_] 50% general todo
|
||||
[_] 34% Priority work
|
||||
[_] 47% general todo
|
||||
[_] magazine loader and data format...
|
||||
[_] BUG: no drag threshold on excludedElements (TouchSwipe)
|
||||
| stalled...
|
||||
[_] make layer default state configurable...
|
||||
|
||||
16
index.html
16
index.html
@ -32,13 +32,9 @@ $(document).ready(function(){
|
||||
}
|
||||
//$('.splash').show()
|
||||
if(ANIMATE_WINDOW_RESIZE){
|
||||
togglePageView(togglePageView('?'))
|
||||
updateView()
|
||||
} else {
|
||||
unanimated(
|
||||
$('.scaler'),
|
||||
togglePageView,
|
||||
30
|
||||
)(togglePageView('?'))
|
||||
unanimated($('.scaler'), updateView, 30)()
|
||||
}
|
||||
//$('.splash').fadeOut()
|
||||
})
|
||||
@ -149,12 +145,8 @@ $(document).ready(function(){
|
||||
<div class="magazine">
|
||||
<div class="cover page current">
|
||||
<div class="content">
|
||||
<h1 style="color:gray;font-size:125px;">PortableMag</h1>
|
||||
<p>
|
||||
[PROJECT DESCRIPTION]
|
||||
</p>
|
||||
<a href="#navigation">The navigation...</a><br>
|
||||
<a href="#anatomy">The anatomy...</a><br>
|
||||
<h1 style="color:gray;font-size:125px;margin-bottom:-35px; margin-top: 160px">PortableMag</h1>
|
||||
<h1 style="color:silver; font-size: 20px; margin-left:10px">A suit for publishing portable periodic magazines on mobile platforms.</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@ -18,9 +18,7 @@ var ANIMATE_WINDOW_RESIZE = true
|
||||
// toggles .dragging CSS class on the viewer while dragging is in
|
||||
// progress.
|
||||
// NOTE: this is used mostly for styling and drag assisting...
|
||||
togglePageDragging = createCSSClassToggler(
|
||||
'.viewer',
|
||||
'dragging')
|
||||
togglePageDragging = createCSSClassToggler('.viewer', 'dragging')
|
||||
|
||||
|
||||
// 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 ***/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user