diff options
author | Kumar Saarang Singh | 2016-06-08 16:32:13 +0530 |
---|---|---|
committer | Kumar Saarang Singh | 2016-06-08 16:32:13 +0530 |
commit | f3a71d260d8fb92c73cf96c576a98ed45ab75c13 (patch) | |
tree | dcf686090f82bc91147754e65b7ebad6c71ccc45 | |
parent | 67f7f03efda6b6038721e07b8ef9e9614fee1680 (diff) | |
download | xcos-on-web-f3a71d260d8fb92c73cf96c576a98ed45ab75c13.tar.gz xcos-on-web-f3a71d260d8fb92c73cf96c576a98ed45ab75c13.tar.bz2 xcos-on-web-f3a71d260d8fb92c73cf96c576a98ed45ab75c13.zip |
Update index.html
-rw-r--r-- | index.html | 43 |
1 files changed, 23 insertions, 20 deletions
@@ -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 |