pmessana
asked on
Javascript Browser ID and Ajax
I enherited some code and it works on FF, IE, Safari but not Chrome. It seems that the javascript is looking for something different than Chrome is IDing.
The lines of code in questions are:
var iex=(document.all);
var nav=(document.layers);
var old=(navigator.appName=="N etscape" && !document.layers && !document.getElementById);
var n_6=(window.sidebar);
This is how we ID the browser, this works fine for all but Chrome.
Anyone have any idea on what would ID Chrome correctly?
You can see the full file here: http://www.austinkayak.com/utilities/javascript/MouseOverAttrPopUp.js
As for what this is doing, you can see the results but visiting this page and putting your mouse over any of the kayaks, it is making an AJAX call to retrieve the information. In Chrome it will not display the DIV even though it is firing off the AJAX.
http://www.austinkayak.com/catalog_products.php?SubcatID=310002
Any help would be greatly appreciated.
The lines of code in questions are:
var iex=(document.all);
var nav=(document.layers);
var old=(navigator.appName=="N
var n_6=(window.sidebar);
This is how we ID the browser, this works fine for all but Chrome.
Anyone have any idea on what would ID Chrome correctly?
You can see the full file here: http://www.austinkayak.com/utilities/javascript/MouseOverAttrPopUp.js
As for what this is doing, you can see the results but visiting this page and putting your mouse over any of the kayaks, it is making an AJAX call to retrieve the information. In Chrome it will not display the DIV even though it is firing off the AJAX.
http://www.austinkayak.com/catalog_products.php?SubcatID=310002
Any help would be greatly appreciated.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I knew it was something simple.
Thanks!