mirror of
https://github.com/flynx/PortableMag.git
synced 2025-10-28 10:40:07 +00:00
added auto loader...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
ce9f8aba48
commit
7b4e7c20e6
@ -151,7 +151,7 @@ body {
|
|||||||
|
|
||||||
background: gray;
|
background: gray;
|
||||||
|
|
||||||
box-shadow: 0px 0px 300px 0px rgba(0,0,0,0.1) inset;
|
/*box-shadow: 0px 0px 300px 0px rgba(0,0,0,0.15) inset;*/
|
||||||
|
|
||||||
-webkit-transition: all 0.6s ease;
|
-webkit-transition: all 0.6s ease;
|
||||||
-moz-transition: all 0.6s ease;
|
-moz-transition: all 0.6s ease;
|
||||||
|
|||||||
29
index.html
29
index.html
@ -569,21 +569,26 @@ $(function(){
|
|||||||
//toggleThemes('none')
|
//toggleThemes('none')
|
||||||
|
|
||||||
|
|
||||||
//setupEditor()
|
$.get('fashion.html')
|
||||||
|
.done(function(data){
|
||||||
|
loadMagazineDOM(data)
|
||||||
|
//setupEditor()
|
||||||
|
})
|
||||||
|
.always(function(){
|
||||||
|
// hide the splash...
|
||||||
|
setTimeout(function(){
|
||||||
|
|
||||||
// hide the splash...
|
focusPage(0, null, 0)
|
||||||
setTimeout(function(){
|
|
||||||
|
|
||||||
focusPage(0, null, 0)
|
$('.splash').fadeOut()
|
||||||
|
}, 350)
|
||||||
|
|
||||||
$('.splash').fadeOut()
|
// remove the spinner...
|
||||||
}, 350)
|
setTimeout(function(){
|
||||||
|
$('#spinner').spin(false)
|
||||||
// remove the spinner...
|
MagazineScroller.refresh()
|
||||||
setTimeout(function(){
|
}, 500)
|
||||||
$('#spinner').spin(false)
|
})
|
||||||
MagazineScroller.refresh()
|
|
||||||
}, 500)
|
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user