|
|
@ -26,7 +26,7 @@ $(function(){
|
|
|
|
var nRow = 0;
|
|
|
|
var nRow = 0;
|
|
|
|
//var nCol = 0;
|
|
|
|
//var nCol = 0;
|
|
|
|
lab.live('mousedown touchstart',function(){
|
|
|
|
lab.live('mousedown touchstart',function(){
|
|
|
|
$('#game_webssh').css('pointer-events', 'none')
|
|
|
|
$('#contentIframe').css('pointer-events', 'none')
|
|
|
|
dragging = true;
|
|
|
|
dragging = true;
|
|
|
|
leftOffset = $(".labelN").offset().left;
|
|
|
|
leftOffset = $(".labelN").offset().left;
|
|
|
|
wrapWidth = $(".labelN").width();
|
|
|
|
wrapWidth = $(".labelN").width();
|
|
|
@ -35,7 +35,7 @@ $(function(){
|
|
|
|
);
|
|
|
|
);
|
|
|
|
cen.live('mousedown',function(){
|
|
|
|
cen.live('mousedown',function(){
|
|
|
|
// 使得iframe不捕获事件
|
|
|
|
// 使得iframe不捕获事件
|
|
|
|
$('#game_webssh').css('pointer-events', 'none')
|
|
|
|
$('#contentIframe').css('pointer-events', 'none')
|
|
|
|
flag = true;
|
|
|
|
flag = true;
|
|
|
|
topOffset = $(".centerH").offset().top;
|
|
|
|
topOffset = $(".centerH").offset().top;
|
|
|
|
wrapHeight = $(".centerH").height();
|
|
|
|
wrapHeight = $(".centerH").height();
|
|
|
@ -111,7 +111,7 @@ $(function(){
|
|
|
|
|
|
|
|
|
|
|
|
doc.live("mouseup touchend", function(e) {
|
|
|
|
doc.live("mouseup touchend", function(e) {
|
|
|
|
// 使得iframe可以继续捕获事件
|
|
|
|
// 使得iframe可以继续捕获事件
|
|
|
|
$('#game_webssh').css('pointer-events', 'inherit')
|
|
|
|
$('#contentIframe').css('pointer-events', 'inherit')
|
|
|
|
flag = false;
|
|
|
|
flag = false;
|
|
|
|
dragging = false;
|
|
|
|
dragging = false;
|
|
|
|
e.cancelBubble = true;
|
|
|
|
e.cancelBubble = true;
|
|
|
|