function initEvents() {
resize(true);
+ if (DATAS.preventRightClick) {
+ $(document).on('contextmenu', function () {
+ return false;
+ });
+
+ $(document).mousedown(function (e) {
+ if (e.button == 2) {
+ return false;
+ } else {
+ return true;
+ }
+ });
+ }
+
$(window).bind('hashchange', function () {
if (maskHashChange) {
return;
return false;
});
- $(document).on('click', 'a', function () {
+ $(document).on('click', 'a', function () {
if (!DATAS.phonegap) {
return true;
}
-webkit-box-sizing: content-box;
-ms-box-sizing: content-box;
-o-box-sizing: content-box;
+
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
}
b, strong, h1, h2, h3, h4, h5, h6 {
.mview .multimediaContainer {
padding: 0;
+ position: relative;
+ &:after {
+ content: '';
+ position: absolute;
+ z-index: 2;
+ width: 100%;
+ height: 100%;
+ top: 0;
+ left: 0;
+ pointer-events: auto;
+ }
}
.mview img.multimedia {
+ position: relative;
+ z-index: 1;
width: 100%;
height: auto;
display: block;