Hello all,
I’m new so please be gentle. I have a JS script that imports XML and it works in IE, Firefox… but I’m having trouble getting it to work in Safari. I was wondering if someone could help me do this? below is the import code I have so far:
[CODE]var xmlDoc;
function loadXML() {
if (window.ActiveXObject) {
xmlDoc=new ActiveXObject(“Microsoft.XMLDOM”);
xmlDoc.async=false;
xmlDoc.load(“gallery.xml”);
firstLoad();
}
else if (document.implementation && document.implementation.createDocument) {
xmlDoc=document.implementation.createDocument(“”,””,null);
xmlDoc.load(“gallery.xml”);
xmlDoc.onload=firstLoad;
} else {
alert(‘Your browser cannot handle this script’);
}
}
Any help would be great. Thanks.