summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKumar Saarang Singh2016-06-08 16:32:13 +0530
committerKumar Saarang Singh2016-06-08 16:32:13 +0530
commitf3a71d260d8fb92c73cf96c576a98ed45ab75c13 (patch)
treedcf686090f82bc91147754e65b7ebad6c71ccc45
parent67f7f03efda6b6038721e07b8ef9e9614fee1680 (diff)
downloadxcos-on-web-f3a71d260d8fb92c73cf96c576a98ed45ab75c13.tar.gz
xcos-on-web-f3a71d260d8fb92c73cf96c576a98ed45ab75c13.tar.bz2
xcos-on-web-f3a71d260d8fb92c73cf96c576a98ed45ab75c13.zip
Update index.html
-rw-r--r--index.html43
1 files changed, 23 insertions, 20 deletions
diff --git a/index.html b/index.html
index 8a926f0..9869bb2 100644
--- a/index.html
+++ b/index.html
@@ -31,26 +31,7 @@
<script type="text/javascript" src="details.js"></script>
<script type="text/javascript" src="json2.js"></script>
<script type="text/javascript">
- /*
- Maverick
- This method is used for loading the stylesheet from the file.
- Reference: http://www.w3schools.com/xsl/xsl_client.asp
- */
-
- function loadXMLDoc(filename) {
- if (window.ActiveXObject) {
- xhttp = new ActiveXObject("Msxml2.XMLHTTP");
- } else {
- xhttp = new XMLHttpRequest();
- }
- xhttp.open("GET", filename, false);
- try {
- xhttp.responseType = "msxml-document"
- } catch (err) {}
- xhttp.send("");
- return xhttp.responseXML;
- }
-
+
function main(container, outline, toolbar, sidebar, status) {
// Checks if the browser is supported
@@ -454,6 +435,28 @@
toolbar.appendChild(spacer.cloneNode(true));
+
+ /*
+ Maverick
+ This method is used for loading the stylesheet from the file.
+ Reference: http://www.w3schools.com/xsl/xsl_client.asp
+ */
+
+ function loadXMLDoc(filename) {
+ if (window.ActiveXObject) {
+ xhttp = new ActiveXObject("Msxml2.XMLHTTP");
+ } else {
+ xhttp = new XMLHttpRequest();
+ }
+ xhttp.open("GET", filename, false);
+ try {
+ xhttp.responseType = "msxml-document"
+ } catch (err) {}
+ xhttp.send("");
+ return xhttp.responseXML;
+ }
+
+
/*
Maverick
The Export buttons in toolbar call this function with varying