hi,
how do i check the FireFox browsers?
hi got a free javascript scroll script and it runs on all
except on firefox.
and inside the script a function
don't know yet why it is not working firefox..maybe it's on that code
pls advice.
thanks
how do i check the FireFox browsers?
hi got a free javascript scroll script and it runs on all
except on firefox.
and inside the script a function
Code:
function checkBrowser(){
this.ver=navigator.appVersion
this.dom=document.getElementById?1:0
this.ie5=(this.ver.indexOf("MSIE 5")>1 && this.dom)?1:0;
this.ie4=(document.all && !this.dom)?1:0;
this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0;
this.ns4=(document.layers && !this.dom)?1:0;
this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5)
return this
}
don't know yet why it is not working firefox..maybe it's on that code
pls advice.
thanks