tweaks & bug fixes

This commit is contained in:
Andrew Trice 2012-03-28 21:53:56 -04:00
parent 8275d00eaa
commit 8b84884406
5 changed files with 31 additions and 33 deletions

View File

@ -79,11 +79,6 @@
var bodyView = $('<div>' + Math.random().toString() + '<hr><li href="#" onclick="'+side+'PushView()" class="backLinkButton">push view</li> <li href="#" onclick="'+side+'PopView()" class="backLinkButton">pop view</li><hr>' + getMeat() + '</div>'); var bodyView = $('<div>' + Math.random().toString() + '<hr><li href="#" onclick="'+side+'PushView()" class="backLinkButton">push view</li> <li href="#" onclick="'+side+'PopView()" class="backLinkButton">pop view</li><hr>' + getMeat() + '</div>');
var links = bodyView.find('a'); var links = bodyView.find('a');
/*for ( var i=0; i<links.length; i++)
{
NoClickDelay( links[i] );
}*/
return { title: side + "Default View " + parseInt(Math.random()*1000), return { title: side + "Default View " + parseInt(Math.random()*1000),
backLabel: "Back", backLabel: "Back",
view: bodyView view: bodyView

View File

@ -13,8 +13,8 @@
-webkit-animation-iteration-count: infinite; -webkit-animation-iteration-count: infinite;
-webkit-animation-timing-function: linear; -webkit-animation-timing-function: linear;
-webkit-animation-name: spinnerAnim; -webkit-animation-name: spinnerAnim;
} }
@-webkit-keyframes spinnerAnim { @-webkit-keyframes spinnerAnim {
0% { -webkit-transform: rotate(0deg); } 0% { -webkit-transform: rotate(0deg); }
100% { -webkit-transform: rotate(360deg); } 100% { -webkit-transform: rotate(360deg); }
} }

View File

@ -4,6 +4,12 @@
-webkit-user-select: none; -webkit-user-select: none;
} }
input,
textarea {
-webkit-touch-callout: auto;
-webkit-user-select: auto;
}
body { body {
position:absolute; position:absolute;
top:0px; top:0px;

View File

@ -4,6 +4,12 @@
-webkit-user-select: none; -webkit-user-select: none;
} }
input,
textarea {
-webkit-touch-callout: auto;
-webkit-user-select: auto;
}
body { body {
position:absolute; position:absolute;
top:0px; top:0px;

View File

@ -49,15 +49,6 @@ var SplitViewNavigator = function( target, toggleButtonLabel ) {
SplitViewNavigator.prototype.resizeContent = function() { SplitViewNavigator.prototype.resizeContent = function() {
this.applyStylesByOrientation(); this.applyStylesByOrientation();
/*
var targetWidth = this.bodyContainer.width();
console.log( targetWidth );
if ( this.bodyHeaderContent )
this.bodyHeaderContent.width( targetWidth );
if ( this.bodyHeaderContent )
this.bodyHeaderContent.width( targetWidth );
*/
} }
SplitViewNavigator.prototype.applyStylesByOrientation = function() { SplitViewNavigator.prototype.applyStylesByOrientation = function() {