GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Remove jQuery from examples · eKoopmans/html2canvas@f0e234a

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • examples
    • demo.html
    • demo2.html
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎examples/demo.html‎

Copy file name to clipboardExpand all lines: examples/demo.html
+8-11Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
22
<html>
33
<head>
4-
<script type="text/javascript" src="../tests/assets/jquery-1.6.2.js"></script>
5-
<script type="text/javascript" src="../build/html2canvas.js"></script>
6-
<script type="text/javascript">
7-
$(document).ready(function() {
8-
html2canvas( [ document.body ], {
9-
onrendered: function(canvas) {
10-
document.body.appendChild(canvas);
11-
}
12-
});
13-
});
14-
</script>
154
<title>
165
display/box/float/clear test
176
</title>
@@ -182,5 +171,13 @@ <h1>
182171
<p style="color: black; font-size: 1em; line-height: 1.3em; clear: both">
183172
This is a nonsensical document, but syntactically valid HTML 4.0. All 100% conformant CSS1 agents should be able to render the document elements above this paragraph <b>indistinguishably</b> (to the pixel) from this reference rendering, (except font rasterization and form widgets). All discrepancies should be traceable to CSS1 implementation shortcomings. Once you have finished evaluating this test, you can return to the <A HREF="sec5526c.htm" style="text-decoration:none">parent page</A>.
184173
</p>
174+
<script type="text/javascript" src="../build/html2canvas.js"></script>
175+
<script type="text/javascript">
176+
html2canvas( [ document.body ], {
177+
onrendered: function(canvas) {
178+
document.body.appendChild(canvas);
179+
}
180+
});
181+
</script>
185182
</body>
186183
</html>
Collapse file

‎examples/demo2.html‎

Copy file name to clipboardExpand all lines: examples/demo2.html
+8-11Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,6 @@
33
<head>
44
<title></title>
55
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
6-
<script type="text/javascript" src="../tests/assets/jquery-1.6.2.js"></script>
7-
<script type="text/javascript" src="../build/html2canvas.js"></script>
8-
<script type="text/javascript">
9-
$(document).ready(function() {
10-
html2canvas( [ document.body ], {
11-
onrendered: function(canvas) {
12-
document.body.appendChild(canvas);
13-
}
14-
});
15-
});
16-
</script>
176
<style>
187
.feedback-overlay-black{
198
background-color:#000;
@@ -64,5 +53,13 @@ <h2>More content</h2>
6453

6554
</div>
6655
</div>
56+
<script type="text/javascript" src="../build/html2canvas.js"></script>
57+
<script type="text/javascript">
58+
html2canvas( [ document.body ], {
59+
onrendered: function(canvas) {
60+
document.body.appendChild(canvas);
61+
}
62+
});
63+
</script>
6764
</body>
6865
</html>

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.