Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
check
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abook_web
check
Commits
fc7b1a01
Commit
fc7b1a01
authored
Mar 31, 2015
by
Masaru Abe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IE+タッチデバイスでスクロール出来ない問題対応
parent
77dc53f9
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
36 additions
and
7 deletions
+36
-7
abvw/bookmark.html
+7
-0
abvw/contentsearch.html
+7
-0
abvw/history.html
+7
-0
abvw/home.html
+7
-0
abvw/js/contentview.js
+5
-1
abvw/js/contentview_Events.js
+3
-6
No files found.
abvw/bookmark.html
View file @
fc7b1a01
...
...
@@ -59,6 +59,13 @@
<script
type=
"text/javascript"
src=
"./common/js/thickbox.js?__UPDATEID__"
></script>
<script
type=
"text/javascript"
src=
"./common/js/scrolltopcontrol.js?__UPDATEID__"
></script>
<style>
html
{
-ms-touch-action
:
none
;
touch-action
:
none
;
}
</style>
</head>
<body
id=
"bookmark"
oncontextmenu=
"return false;"
>
<header
id=
"header-ws"
class=
"header_ws"
>
...
...
abvw/contentsearch.html
View file @
fc7b1a01
...
...
@@ -65,6 +65,13 @@
<script
type=
"text/javascript"
src=
"./js/detail.js?__UPDATEID__"
></script>
<script
type=
"text/javascript"
src=
"./common/js/scrolltopcontrol.js?__UPDATEID__"
></script>
<style>
html
{
-ms-touch-action
:
none
;
touch-action
:
none
;
}
</style>
</head>
<body
id=
"contentsearch"
oncontextmenu=
"return false;"
>
<header
id=
"header-ws"
class=
"header_ws"
>
...
...
abvw/history.html
View file @
fc7b1a01
...
...
@@ -68,6 +68,13 @@
<script
type=
"text/javascript"
src=
"./common/js/screenLock.js?__UPDATEID__"
></script>
<script
type=
"text/javascript"
src=
"./js/detail.js?__UPDATEID__"
></script>
<style>
html
{
-ms-touch-action
:
none
;
touch-action
:
none
;
}
</style>
</head>
<body
id=
"history"
oncontextmenu=
"return false;"
>
...
...
abvw/home.html
View file @
fc7b1a01
...
...
@@ -72,6 +72,13 @@
<script
type=
"text/javascript"
src=
"./common/js/screenLock.js?__UPDATEID__"
></script>
<script
type=
"text/javascript"
src=
"./js/detail.js?__UPDATEID__"
></script>
<style>
html
{
-ms-touch-action
:
none
;
touch-action
:
none
;
}
</style>
</head>
<body
id=
"bookshelf"
oncontextmenu=
"return false;"
>
...
...
abvw/js/contentview.js
View file @
fc7b1a01
...
...
@@ -3499,7 +3499,11 @@ CONTENTVIEW.setDefaultEvent = function() {
}
if
(
CONTENTVIEW_GENERAL
.
avwUserEnvObj
.
browser
==
'msie'
)
{
CONTENTVIEW_GENERAL
.
_bWin8TouchEnabled
=
window
.
navigator
.
msPointerEnabled
;
//IEかつタッチ対応のデバイスか判定追加
if
(
navigator
.
msMaxTouchPoints
&&
navigator
.
msMaxTouchPoints
>
1
)
{
//console.log("navigator.msMaxTouchPoints:" + navigator.msMaxTouchPoints)
CONTENTVIEW_GENERAL
.
_bWin8TouchEnabled
=
window
.
navigator
.
msPointerEnabled
;
}
}
else
{
if
(
CONTENTVIEW_GENERAL
.
_bTouchDeviceEnabled
){
document
.
getElementById
(
'main'
).
addEventListener
(
'touchstart'
,
CONTENTVIEW_EVENTS
.
onTouchstart
,
false
);
...
...
abvw/js/contentview_Events.js
View file @
fc7b1a01
...
...
@@ -1412,10 +1412,7 @@ CONTENTVIEW_EVENTS.onTouchstart = function(evt){
var
bContinue
=
true
;
//if (CONTENTVIEW_GENERAL.avwUserEnvObj.isIos() || CONTENTVIEW_GENERAL.avwUserEnvObj.isAndroid()) {
// evt.preventDefault();
//}
if
(
CONTENTVIEW_GENERAL
.
_bTouchDeviceEnabled
){
if
(
CONTENTVIEW_GENERAL
.
_bTouchDeviceEnabled
||
CONTENTVIEW_GENERAL
.
_bWin8TouchEnabled
){
evt
.
preventDefault
();
evt
.
stopPropagation
();
}
...
...
@@ -1655,7 +1652,7 @@ CONTENTVIEW_EVENTS.onTouchmove = function(evt){
return
;
}
if
(
CONTENTVIEW_GENERAL
.
_bTouchDeviceEnabled
){
if
(
CONTENTVIEW_GENERAL
.
_bTouchDeviceEnabled
||
CONTENTVIEW_GENERAL
.
_bWin8TouchEnabled
){
evt
.
preventDefault
();
evt
.
stopPropagation
();
}
...
...
@@ -1946,7 +1943,7 @@ CONTENTVIEW_EVENTS.onTouchend = function(evt){
return
;
}
if
(
CONTENTVIEW_GENERAL
.
_bTouchDeviceEnabled
){
if
(
CONTENTVIEW_GENERAL
.
_bTouchDeviceEnabled
||
CONTENTVIEW_GENERAL
.
_bWin8TouchEnabled
){
evt
.
preventDefault
();
evt
.
stopPropagation
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment