Hello people,
I've started work on a folding widget. It would get an xml file provided by Extreme Overclocking and write the data into a widget.
I got it working (kinda).
My first problem is that i can't seem to load the xml file in to the widget (using javascript).
I tried XMLHttpRequest and this piece of code:
they both seem to give a security error when trying to load the xml file. Computers apparently don't like third party xml files being loaded
.
When i download the xml file to a local folder, it works.
Anybody an idea how to sort this out, or some nice pointers in that direction?
Cheers
I've started work on a folding widget. It would get an xml file provided by Extreme Overclocking and write the data into a widget.
I got it working (kinda).
My first problem is that i can't seem to load the xml file in to the widget (using javascript).
I tried XMLHttpRequest and this piece of code:
Code:
if (document.implementation && document.implementation.createDocument){
var xmldoc = document.implementation.createDocument("","",null);
xmldoc.onload = function() { handler(xmldoc);}
xmldoc.load(url);}
When i download the xml file to a local folder, it works.
Anybody an idea how to sort this out, or some nice pointers in that direction?
Cheers