From 0c388a6d2d968e13cc395ba8fec46bf9fae986ed Mon Sep 17 00:00:00 2001 From: hongru Date: Fri, 7 Dec 2012 10:48:41 +0800 Subject: [PATCH] update --- mobile/fullscreen.html | 6 +++++- test/canvas_loadinggif.html | 41 +++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 test/canvas_loadinggif.html diff --git a/mobile/fullscreen.html b/mobile/fullscreen.html index e8cd49b..73d0cb7 100644 --- a/mobile/fullscreen.html +++ b/mobile/fullscreen.html @@ -159,6 +159,8 @@

一淘

inner.style.webkitTransform = getTranslateY(ofb); up.style.display = 'none'; + hasSucc = true; + setTimeout(function () { renderContent(of.height); }, 800); @@ -176,8 +178,10 @@

一淘

} //swipe - var _ts = {}, _tm = {}; + var _ts = {}, _tm = {}, hasSucc = false; wrapper.addEventListener($E.start, function (event) { + if (hasSucc) { return; } + this.style.webkitTransitionDuration = '0'; _ts.touching = true; _ts.moveReady = false; diff --git a/test/canvas_loadinggif.html b/test/canvas_loadinggif.html new file mode 100644 index 0000000..2bd0526 --- /dev/null +++ b/test/canvas_loadinggif.html @@ -0,0 +1,41 @@ + + + + + \ No newline at end of file