How do I go about making a Mozilla-compatible version of this? Thanks.
Code:
var mypop;
var str;
function verify()
{
if (xml.readyState != 4)
{
return false;
}
}
var xml = new ActiveXObject("Msxml2.DOMDocument.3.0");
xml.async = false;
xml.onreadystatechange=verify;
xml.load("[URL unfurl="true"]http://content.thisis.co.uk/mid/general/cinema_listings/Cinema.xml");[/URL]
function showCinema(venueID)
{
var xsl = new ActiveXObject("MSXML2.FreeThreadedDOMDocument");
xsl.async = false;
xsl.load("[URL unfurl="true"]http://content.thisis.co.uk/mid/general/cinema_listings/Cinema.xsl");[/URL]
var temp = new ActiveXObject("MSXML2.XSLTemplate");
temp.stylesheet = xsl;
var proc = temp.createProcessor();
proc.addParameter("venueID", venueID);
proc.input = xml;
proc.transform();
str = proc.output;
mypop=window.open('CinemaPopup.html','newwin','scrollbars=yes,menubar=no,height=600,width=450,resizable=no,toolbar=no,location=no,status=no');
}