$('[data-old-page=true]').remove();
});
}
-
+
// changeBody: (html:String) -> ()
function changeBody(html) {
$(':mobile-page').page("destroy");
// $('[data-role=header]').css('position', 'relative');
// $('[data-role=footer]').css('position', 'relative').css('top', '0');
+ $(".ui-content").css("overflow", "visible");
+ $(".ui-scrollview-view").css("overflow", "visible");
}
// showBorder: (wid:String) -> ()
b : parseInt(wgt.css("margin-bottom")),
left : parseInt(pos.left),
top : parseInt(pos.top),
- width : parseInt(wgt.width()),
- height : parseInt(wgt.height())
+ width : parseInt(wgt.css("width")),
+ height : parseInt(wgt.css("height")),
};
if (bound.w < 1)
bound.w = 1;
b : parseInt(wgt.css("margin-bottom")),
left : parseInt(pos.left),
top : parseInt(pos.top),
- width : parseInt(wgt.width()),
- height : parseInt(wgt.height())
+ width : parseInt(wgt.css("width")),
+ height : parseInt(wgt.css("height")),
};
if (bound.w < 1)
bound.w = 1;
b : parseInt(wgt.css("margin-bottom")),
left : parseInt(pos.left),
top : parseInt(pos.top),
- width : parseInt(wgt.width()),
- height : parseInt(wgt.height())
+ width : parseInt(wgt.css("width")),
+ height : parseInt(wgt.css("height")),
};
return bound;
}
function getOneWidgetBound(wgt) {
+ var elm = wgt.get(0);
var loc = wgt.offset();
var pos = wgt.position();
var origin = wgt.css("-webkit-transform-origin").split(" ");
var bound = {
x : parseInt(loc.left),
y : parseInt(loc.top),
+ //w : parseInt(elm.getBoundingClientRect().width),
+ //h : parseInt(elm.getBoundingClientRect().height),
w : parseInt(wgt.outerWidth()),
h : parseInt(wgt.outerHeight()),
l : parseInt(wgt.css("margin-left")),
b : parseInt(wgt.css("margin-bottom")),
left : parseInt(pos.left),
top : parseInt(pos.top),
- width : parseInt(wgt.width()),
- height : parseInt(wgt.height()),
+ width : parseInt(wgt.css("width")),
+ height : parseInt(wgt.css("height")),
transform : wgt.css("-webkit-transform"),
transformOriginX : parseFloat(origin[0]),
transformOriginY : parseFloat(origin[1]),
$('[data-old-page=true]').remove();
});
}
-
+
// changeBody: (html:String) -> ()
function changeBody(html) {
$(':mobile-page').page("destroy");
// $('[data-role=header]').css('position', 'relative');
// $('[data-role=footer]').css('position', 'relative').css('top', '0');
+ $(".ui-content").css("overflow", "visible");
+ $(".ui-scrollview-view").css("overflow", "visible");
}
// showBorder: (wid:String) -> ()
b : parseInt(wgt.css("margin-bottom")),
left : parseInt(pos.left),
top : parseInt(pos.top),
- width : parseInt(wgt.width()),
- height : parseInt(wgt.height())
+ width : parseInt(wgt.css("width")),
+ height : parseInt(wgt.css("height")),
};
if (bound.w < 1)
bound.w = 1;
b : parseInt(wgt.css("margin-bottom")),
left : parseInt(pos.left),
top : parseInt(pos.top),
- width : parseInt(wgt.width()),
- height : parseInt(wgt.height())
+ width : parseInt(wgt.css("width")),
+ height : parseInt(wgt.css("height")),
};
if (bound.w < 1)
bound.w = 1;
b : parseInt(wgt.css("margin-bottom")),
left : parseInt(pos.left),
top : parseInt(pos.top),
- width : parseInt(wgt.width()),
- height : parseInt(wgt.height())
+ width : parseInt(wgt.css("width")),
+ height : parseInt(wgt.css("height")),
};
return bound;
}
function getOneWidgetBound(wgt) {
+ var elm = wgt.get(0);
var loc = wgt.offset();
var pos = wgt.position();
var origin = wgt.css("-webkit-transform-origin").split(" ");
var bound = {
x : parseInt(loc.left),
y : parseInt(loc.top),
+ //w : parseInt(elm.getBoundingClientRect().width),
+ //h : parseInt(elm.getBoundingClientRect().height),
w : parseInt(wgt.outerWidth()),
h : parseInt(wgt.outerHeight()),
l : parseInt(wgt.css("margin-left")),
b : parseInt(wgt.css("margin-bottom")),
left : parseInt(pos.left),
top : parseInt(pos.top),
- width : parseInt(wgt.width()),
- height : parseInt(wgt.height()),
+ width : parseInt(wgt.css("width")),
+ height : parseInt(wgt.css("height")),
transform : wgt.css("-webkit-transform"),
transformOriginX : parseFloat(origin[0]),
transformOriginY : parseFloat(origin[1]),
$('[data-old-page=true]').remove();
});
}
-
+
// changeBody: (html:String) -> ()
function changeBody(html) {
$(':mobile-page').page("destroy");
// $('[data-role=header]').css('position', 'relative');
// $('[data-role=footer]').css('position', 'relative').css('top', '0');
+ $(".ui-content").css("overflow", "visible");
+ $(".ui-scrollview-view").css("overflow", "visible");
}
// showBorder: (wid:String) -> ()
b : parseInt(wgt.css("margin-bottom")),
left : parseInt(pos.left),
top : parseInt(pos.top),
- width : parseInt(wgt.width()),
- height : parseInt(wgt.height())
+ width : parseInt(wgt.css("width")),
+ height : parseInt(wgt.css("height")),
};
if (bound.w < 1)
bound.w = 1;
b : parseInt(wgt.css("margin-bottom")),
left : parseInt(pos.left),
top : parseInt(pos.top),
- width : parseInt(wgt.width()),
- height : parseInt(wgt.height())
+ width : parseInt(wgt.css("width")),
+ height : parseInt(wgt.css("height")),
};
if (bound.w < 1)
bound.w = 1;
b : parseInt(wgt.css("margin-bottom")),
left : parseInt(pos.left),
top : parseInt(pos.top),
- width : parseInt(wgt.width()),
- height : parseInt(wgt.height())
+ width : parseInt(wgt.css("width")),
+ height : parseInt(wgt.css("height")),
};
return bound;
}
function getOneWidgetBound(wgt) {
+ var elm = wgt.get(0);
var loc = wgt.offset();
var pos = wgt.position();
var origin = wgt.css("-webkit-transform-origin").split(" ");
var bound = {
x : parseInt(loc.left),
y : parseInt(loc.top),
+ //w : parseInt(elm.getBoundingClientRect().width),
+ //h : parseInt(elm.getBoundingClientRect().height),
w : parseInt(wgt.outerWidth()),
h : parseInt(wgt.outerHeight()),
l : parseInt(wgt.css("margin-left")),
b : parseInt(wgt.css("margin-bottom")),
left : parseInt(pos.left),
top : parseInt(pos.top),
- width : parseInt(wgt.width()),
- height : parseInt(wgt.height()),
+ width : parseInt(wgt.css("width")),
+ height : parseInt(wgt.css("height")),
transform : wgt.css("-webkit-transform"),
transformOriginX : parseFloat(origin[0]),
transformOriginY : parseFloat(origin[1]),
$('[data-old-page=true]').remove();
});
}
-
+
// changeBody: (html:String) -> ()
function changeBody(html) {
$(':mobile-page').page("destroy");
// $('[data-role=header]').css('position', 'relative');
// $('[data-role=footer]').css('position', 'relative').css('top', '0');
+ $(".ui-content").css("overflow", "visible");
+ $(".ui-scrollview-view").css("overflow", "visible");
}
// showBorder: (wid:String) -> ()
b : parseInt(wgt.css("margin-bottom")),
left : parseInt(pos.left),
top : parseInt(pos.top),
- width : parseInt(wgt.width()),
- height : parseInt(wgt.height())
+ width : parseInt(wgt.css("width")),
+ height : parseInt(wgt.css("height")),
};
if (bound.w < 1)
bound.w = 1;
b : parseInt(wgt.css("margin-bottom")),
left : parseInt(pos.left),
top : parseInt(pos.top),
- width : parseInt(wgt.width()),
- height : parseInt(wgt.height())
+ width : parseInt(wgt.css("width")),
+ height : parseInt(wgt.css("height")),
};
if (bound.w < 1)
bound.w = 1;
b : parseInt(wgt.css("margin-bottom")),
left : parseInt(pos.left),
top : parseInt(pos.top),
- width : parseInt(wgt.width()),
- height : parseInt(wgt.height())
+ width : parseInt(wgt.css("width")),
+ height : parseInt(wgt.css("height")),
};
return bound;
}
function getOneWidgetBound(wgt) {
+ var elm = wgt.get(0);
var loc = wgt.offset();
var pos = wgt.position();
var origin = wgt.css("-webkit-transform-origin").split(" ");
var bound = {
x : parseInt(loc.left),
y : parseInt(loc.top),
+ //w : parseInt(elm.getBoundingClientRect().width),
+ //h : parseInt(elm.getBoundingClientRect().height),
w : parseInt(wgt.outerWidth()),
h : parseInt(wgt.outerHeight()),
l : parseInt(wgt.css("margin-left")),
b : parseInt(wgt.css("margin-bottom")),
left : parseInt(pos.left),
top : parseInt(pos.top),
- width : parseInt(wgt.width()),
- height : parseInt(wgt.height()),
+ width : parseInt(wgt.css("width")),
+ height : parseInt(wgt.css("height")),
transform : wgt.css("-webkit-transform"),
transformOriginX : parseFloat(origin[0]),
transformOriginY : parseFloat(origin[1]),