add initial findings
This commit is contained in:
25
c2014/lib/xml/index.html
Normal file
25
c2014/lib/xml/index.html
Normal file
@@ -0,0 +1,25 @@
|
||||
<!--
|
||||
Coded by Garrett Mills
|
||||
http://glmills.gq/
|
||||
Last Edited on 5 August 13:16
|
||||
This code is licensed under Creative Commons Attribution-ShareAlike 4.0 International License
|
||||
http://glmills.gq/mycode/licenses/CCA-SA4.html
|
||||
-->
|
||||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
@font-face{font-family: sansation; src: url('/pageDep/font/Sansation/SansationLight.woff');}
|
||||
body {
|
||||
font-family: sansation;
|
||||
}
|
||||
iframe {
|
||||
width: 60%;
|
||||
height: 70%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>lib.glmills.gq/xml/</h1>
|
||||
<iframe src="src/"></iframe>
|
||||
</body>
|
||||
</html>
|
||||
22
c2014/lib/xml/src/xml.js
Normal file
22
c2014/lib/xml/src/xml.js
Normal file
@@ -0,0 +1,22 @@
|
||||
/* Coded by Garrett Mills
|
||||
* http://glmills.gq/
|
||||
* Last Edited on 5 August 2015 11:06
|
||||
* This code is licensed under the GNU Affero GPL v3.0
|
||||
* http://glmills.gq/mycode/licenses/affero.html
|
||||
*/
|
||||
|
||||
function getInternalXML(url){
|
||||
var xhttp, xmlDoc;
|
||||
if (window.XMLHttpRequest)
|
||||
{
|
||||
xhttp=new XMLHttpRequest();
|
||||
}
|
||||
else // code for IE5 and IE6
|
||||
{
|
||||
xhttp=new ActiveXObject("Microsoft.XMLHTTP");
|
||||
}
|
||||
xhttp.open("GET",url,false);
|
||||
xhttp.send();
|
||||
xmlDoc=xhttp.responseXML;
|
||||
return xmlDoc;
|
||||
}
|
||||
Reference in New Issue
Block a user