mirror of
https://github.com/moparisthebest/app-UI
synced 2025-01-02 17:28:07 -05:00
tweaks & bug fixes
This commit is contained in:
parent
8275d00eaa
commit
8b84884406
samples/slidingView/02 - view navigators
src
libs/css
slidingview
splitviewnavigator
@ -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
|
||||||
|
File diff suppressed because one or more lines are too long
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user