added auto loader...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2014-04-19 22:38:26 +04:00
parent ce9f8aba48
commit 7b4e7c20e6
2 changed files with 18 additions and 13 deletions

View File

@ -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;

View File

@ -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)
}) })