Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pdf-html
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
施贇杰
pdf-html
Commits
5974db37
Commit
5974db37
authored
Feb 15, 2023
by
shiyunjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
禁用容器的缩放手势,防止容器发达后影响pdf滚动
parent
f7e7b04a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
iframe.html
iframe.html
+1
-1
viewer.html
iframe/web/viewer.html
+1
-0
No files found.
iframe.html
View file @
5974db37
...
@@ -72,7 +72,7 @@
...
@@ -72,7 +72,7 @@
}
}
window
.
onload
=
()
=>
{
window
.
onload
=
()
=>
{
document
.
documentElement
.
addEventListener
(
'gesturestart'
,
function
(
e
)
{
e
.
preventDefault
();
});
function
setSrc
()
{
function
setSrc
()
{
let
dom
=
document
.
getElementById
(
'myIframe'
);
let
dom
=
document
.
getElementById
(
'myIframe'
);
let
server
=
'./iframe/web/viewer.html'
;
// pdf地址
let
server
=
'./iframe/web/viewer.html'
;
// pdf地址
...
...
iframe/web/viewer.html
View file @
5974db37
...
@@ -168,6 +168,7 @@ See https://github.com/adobe-type-tools/cmap-resources
...
@@ -168,6 +168,7 @@ See https://github.com/adobe-type-tools/cmap-resources
}
}
});
});
}
}
document
.
documentElement
.
addEventListener
(
'gesturestart'
,
function
(
e
)
{
e
.
preventDefault
();
});
</script>
</script>
<body
tabindex=
"1"
class=
"loadingInProgress"
>
<body
tabindex=
"1"
class=
"loadingInProgress"
>
...
...
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