1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update item list page

This commit is contained in:
Luke Pulverenti 2015-09-16 13:16:39 -04:00
parent 0e1c7cbb7a
commit 8e0db5f3c1
4 changed files with 112 additions and 139 deletions

View file

@ -3205,7 +3205,16 @@ $.widget( "mobile.page", {
// pages[i].style.display = 'none';
//}
}
to[0].style.display = 'block';
var toPage = to[0];
toPage.style.display = 'block';
//var transition = toPage.getAttribute('data-transition');
//if (transition == 'zoom') {
// zoomIn(toPage);
//}
this._triggerCssTransitionEvents(to, from);
},
@ -3452,7 +3461,14 @@ $.widget( "mobile.page", {
}
});
// The following handlers should be bound after mobileinit has been triggered
function zoomIn(elem) {
var keyframes = [{ transform: 'scale3d(.3, .3, .3) ', opacity: '0', offset: 0 },
{ transform: 'none', opacity: '1', offset: 1 }];
var timing = { duration: 200, iterations: 1 };
return elem.animate(keyframes, timing);
}
// The following handlers should be bound after mobileinit has been triggered
// the following deferred is resolved in the init file
$.mobile.navreadyDeferred = $.Deferred();