Skip to content

Commit f35960b

Browse files
committed
MSIE cannot handle Data URIs on the live example... closes #334
1 parent d88c833 commit f35960b

File tree

2 files changed

+30
-10
lines changed

2 files changed

+30
-10
lines changed

examples/js/editor.js

Lines changed: 21 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.html

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@
3939
<h1 class="muted">jsPDF</h1>
4040
<h4>HTML5 JavaScript PDF generation library from <a href="http://twitter.com/MrRio">@MrRio</a> at <a href="http://snapshotmedia.co.uk">Snapshot Media</a></h4>
4141
</div>
42-
42+
4343
<div class="row-fluid">
4444
<div class="span6" style="float: right">
45-
<iframe class="preview-pane" width="100%" height="650" frameborder="0" style="position:relative;z-index:999"></iframe>
45+
<iframe class="preview-pane" type="application/pdf" width="100%" height="650" frameborder="0" style="position:relative;z-index:999"></iframe>
4646
</div>
4747
<div class="span5 no-gutter">
4848

@@ -51,7 +51,7 @@ <h2>Have a play.</h2>
5151
<p>A HTML5 client-side solution for generating PDFs. Perfect for event tickets, reports, certificates, you name it! </p>
5252

5353
<p><b>No servers were used in the making of this demo.</b></p>
54-
54+
5555
<div class="template-picker">
5656
<label for="template">Choose example</label>
5757
<select id="template" name="template">
@@ -61,7 +61,7 @@ <h2>Have a play.</h2>
6161
</div>
6262

6363
<div id="editor" class="bypass"></div>
64-
64+
6565
<div class="controls">
6666
<div class="pull-right">
6767
<!--<a href="#" class="btn btn-primary">Download Your Code</a>-->
@@ -93,10 +93,15 @@ <h2>Browser Compatibility</h2>
9393

9494
<p>* Current build does not have IE6-9 shim enabled</p>
9595

96+
<p><strong>NB:</strong> UTF-8 is <em>not</em> supported by default, however there might be some plugins allowing you to use it, such as <em>addHTML</em></p>
97+
98+
<p>十五向學,三十而立,四十而不惑,五十而知天命,六十而耳順,七十而從心欲,不踰矩.</p>
99+
96100
<h2>Need Help?</h2>
97101

98102
<p>Send me a <a href="http://twitter.com/MrRio">tweet</a> and I'll see if I can help :)</p>
99103

104+
<!-- ADD_PAGE -->
100105
<h2>Credits</h2>
101106

102107
<p>Big thanks to Daniel Dotsenko from <a href="http://willow-systems.com">Willow Systems Corporation</a> for making huge contributions to the codebase. </p>
@@ -130,14 +135,12 @@ <h2>License</h2>
130135
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
131136
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</p>
132137

133-
134138
</div>
135139

136140
</div> <!-- /container -->
137141

138142
<footer>&copy; 2013 James Hall - <a href="http://snapshotmedia.co.uk/privacy-policy">Privacy Policy</a></footer>
139143

140-
141144
<!-- Scripts down here -->
142145
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
143146
<script src="http://html2canvas.hertzen.com/build/html2canvas.js"></script>

0 commit comments

Comments
 (0)