resize test...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2013-02-22 20:45:26 +04:00
parent 189cfe4666
commit 7b4599c2a6
2 changed files with 6 additions and 4 deletions

View File

@ -125,6 +125,7 @@ $(document).ready(function(){
.on('swipeRight', handleSwipeRight)
.on('screenReleased', handleScrollRelease)
/*
// try a way of cheating...
var w = $('.viewer').width()
var h = $('.viewer').height()
@ -140,6 +141,7 @@ $(document).ready(function(){
'margin-top': -h/2,
height: h,
})
*/
// XXX stub...
setTransitionEasing($('.magazine'), 'ease-out')

View File

@ -54,8 +54,8 @@ body {
/* these set the "safe" marks for page content */
/* XXX change to relative units... */
width: 800px;
height: 600px;
width: 1024px;
height: 768px;
-webkit-transition: all 0.2s ease;
@ -180,9 +180,9 @@ body {
min-width: 200px;
/* XXX has to be the same as default page height */
height: 600px;
height: 768px;
/* XXX has to pe half of page height */
margin-top: -300px;
margin-top: -384px;
/* this is minus half the page width */
/* XXX change to relative units... */