diff --git a/index2.html b/index2.html index c5624b1..0408c18 100755 --- a/index2.html +++ b/index2.html @@ -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') diff --git a/magazine.css b/magazine.css index f7fb04e..24e07e0 100755 --- a/magazine.css +++ b/magazine.css @@ -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... */