docs.sheetjs.com/docz/static/browserify/index.html

62 lines
1.9 KiB
HTML
Raw Normal View History

2022-07-22 03:26:52 +00:00
<!DOCTYPE html>
2022-10-20 18:47:20 +00:00
<!-- sheetjs (C) 2013-present SheetJS https://sheetjs.com -->
2022-07-22 03:26:52 +00:00
<!-- vim: set ts=2: -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
2023-01-09 05:08:30 +00:00
<meta name="robots" content="noindex">
2022-07-22 03:26:52 +00:00
<title>SheetJS Live Demo</title>
<style>
#drop{
2022-08-08 06:59:57 +00:00
border:2px dashed #bbb;
-moz-border-radius:5px;
-webkit-border-radius:5px;
border-radius:5px;
padding:25px;
text-align:center;
font:20pt bold,"Vollkorn";color:#bbb
2022-07-22 03:26:52 +00:00
}
#b64data{
2022-08-08 06:59:57 +00:00
width:100%;
2022-07-22 03:26:52 +00:00
}
a { text-decoration: none }
</style>
</head>
<body>
<pre>
2022-10-20 18:47:20 +00:00
<b><a href="https://sheetjs.com">SheetJS Data Preview Live Demo</a></b>
2022-07-22 03:26:52 +00:00
(Base64 text works back to IE6; drag and drop works back to IE10)
Output Format: <select name="format" onchange="setfmt()">
<option value="csv" selected> CSV</option>
<option value="json"> JSON</option>
<option value="form"> FORMULAE</option>
<option value="html"> HTML</option>
</select><br />
<div id="drop">Drop a spreadsheet file here to see sheet data</div>
<input type="file" name="xlfile" id="xlf" /> ... or click here to select a file
<textarea id="b64data">... or paste a base64-encoding here</textarea>
<input type="button" id="dotext" value="Click here to process the base64 text" onclick="b64it();"/><br />
<b>Advanced Demo Options:</b>
Use Web Workers: (when available) <input type="checkbox" name="useworker" checked>
</pre>
<pre id="out"></pre>
<div id="htmlout"></div>
<br />
<script src="browserify.js"></script>
<script type="text/javascript">
/* eslint no-use-before-define:0 */
2022-08-08 06:59:57 +00:00
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-36810333-1']);
_gaq.push(['_trackPageview']);
2022-07-22 03:26:52 +00:00
2022-08-08 06:59:57 +00:00
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
2022-07-22 03:26:52 +00:00
</script>
</body>
</html>