forked from ezl/signature-pad
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bring back tjb's original regenerate sig demo
- Loading branch information
Showing
4 changed files
with
185 additions
and
224 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<!DOCTYPE html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Regenerate a Signature · Signature Pad</title> | ||
<style> | ||
body { font: normal 100.01%/1.375 "Helvetica Neue",Helvetica,Arial,sans-serif; } | ||
p { margin: 0.515em 0 0; padding: 0 6px; } | ||
</style> | ||
<link href="../assets/jquery.signaturepad.css" rel="stylesheet"> | ||
<!--[if lt IE 9]><script src="../assets/flashcanvas.js"></script><![endif]--> | ||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script> | ||
</head> | ||
<body> | ||
<div class="sigPad signed"> | ||
<div class="sigWrapper"> | ||
<div class="typed">Sir John A. Macdonald</div> | ||
<canvas class="pad" width="198" height="55"></canvas> | ||
</div> | ||
<p>Sir John A. Macdonald<br>July 1, 1867</p> | ||
</div> | ||
|
||
<script src="../jquery.signaturepad.js"></script> | ||
<script src="sample-signature-output.js"></script> | ||
<script> | ||
$(document).ready(function() { | ||
$('.sigPad').signaturePad({displayOnly:true}).regenerate(sig); | ||
}); | ||
</script> | ||
<script src="../assets/json2.min.js"></script> | ||
</body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.