Hi guys,
Everything working on Safari and IE7 XP SP3 just tryiongto figure out why it is not playing ball on FF 3. 0. 10.
I opened the /class/js/aardvark. php file and spaced out the lines for clarification. I noticed this:
function Aardvark(object) {
this.object = object;
this.xmlhttp = new XMLHttpRequest();
this.mac = navigator.platform.indexOf('Mac');
this.msie = navigator.userAgent.indexOf("MSIE");
this.image = new Image();
this.fallback = false;
this.url = '';
this.variables = new Array();
this.vars = new Array();
this.connect_host = '';
this.install_host = '';
this.initiated = false;
this.url_built = false;
this.response = '';
this.gc = 'reset';
this.validateurl = function(){
this.connect_host = this.url;
this.install_host = document.location.toString();
this.connect_host = this.connect_host.replace(/(.*?)\/\/(.*?)\/(.*)/i, "$1//$2");
this.install_host = this.install_host.replace(/(.*?)\/\/(.*?)\/(.*)/i, "$1//$2");
this.connect_host = this.connect_host.replace(/(.*?)\/\/(.*?)/i, "$2");
this.install_host = this.install_host.replace(/(.*?)\/\/(.*?)/i, "$2");
if (this.connect_host !== this.install_host) {
if (navigator. appName == 'Microsoft Internet Explorer') {
this. fallback = false;
} else {
this. fallback = true;
}
}
}
I an not a big user of Ajax but was wondering why there was only a mention of IE and Mac in the function variables. Should there be one for FF or does it not require one?
D.