height = $(this).scrollTop(); //打开子页面时记住父页面滑动的位置,用于回到最初的位置
art.dialog.data('height', height); //父页面和子页面数值之间的传递
//禁止滚动条
$(document.body).css({
// "overflow-x":"hidden",
"height":"100%",
"overflow":"hidden",
"position":"fixed"
});
//$("body").bind("touchmove",function(event){event.preventDefault;});
art.dialog.open('queryImageManageByChooseCut.htm?size=10000', {
lock: true,
opacity: 0.3,
width: '100%',
height: '100%',
title: '选择图片'
});
var win = art.dialog.open.origin;//来源页面
//启用滚动条
$(win.document.body).css({
// "overflow-x":"auto",
"height":"100%",
"overflow":"auto",
"position":"unset"
});
win.scrollTo(0,art.dialog.data('height')); //父页面回到最初位置