Forum Moderators: open
var xmlDoc
function loadXML(url){
if (document.implementation && document.implementation.createDocument)
{
xmlDoc = document.implementation.createDocument("", "", null);
}
else if (window.ActiveXObject)
{
xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
xmlDoc.onreadystatechange = function () {
};
}
else
{
alert('Your browser can\'t handle this script');
return;
}
xmlDoc.async=false;
xmlDoc.load(url);
}
I think work with xmlDoc to display the photos. This script works for IE, Firefox, and Konqueror, but it doesn't work for Safari. Is there a better way to do this that gives the same results?