diff --git a/TODO.otl b/TODO.otl index 95226a8..e795a64 100755 --- a/TODO.otl +++ b/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... diff --git a/index.html b/index.html index c18a7a9..cf44c08 100755 --- a/index.html +++ b/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(){
-

PortableMag

-

- [PROJECT DESCRIPTION] -

- The navigation...
- The anatomy...
+

PortableMag

+

A suit for publishing portable periodic magazines on mobile platforms.

diff --git a/magazine.js b/magazine.js index ab327b3..56362a8 100755 --- a/magazine.js +++ b/magazine.js @@ -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 ***/