Click to See Complete Forum and Search --> : No Properties error for some users
I maintain a web-site with rotating images (ads) using javascript. Have just received a complaint that a select few users get an javascript error msg "document.adRHS has no properties". The line of code this is referring to is "document.adRHS.alt=adAlt[nextRHSAd]".
The code works fine for 99.9% (guess) of visitors. I have tested under the conditions (browser, O/S) the users with the error are using, but I can not recreate such an error using this or other various browser(s), version(s) and/or O/S(s).
Is it possible that an O/S, browser or hardware configuration is causing this for the select few?
Any suggestions appreciated.
cheers
azcn2503
01-26-2003, 07:16 AM
Placing an extreme tracker on your website may be of some use. It can tell you what people are using what operating systems, and what browsers they are using, as well as their resolution, where they were referred from, where they go etc.
You can get one from http://www.extreme-dm.com/tracking/?reg
And I think that user may have disabled Javascript or something? Or they have their internet security settings set on maximum or something.. Not sure. That tracker could probably help in finding out more about who visits your site.
thanks for the tips so far.
I am aware of the configurations (browser, o/s) of the users who have the problem, and have tested under these configs. Hence tracker may not give me any more info than I have now.
The problem occurs to these select few users who use both IE and Netscape and the problem occurs on both browsers (and versions). Hence it doesn't appear to be a cross-browser issue. But I may still modify javascript as per Dave's advice.
The image it is referring to (adRHS) is specified in a separate HTML document to be loaded by the browser. Is it possible that the javascript (in a separate file) is loaded and processed before the file with the image is referenced? Hence it is does not know what adRHS is? If so, why would this happen on only a select few and not the masses? Or an I am way off the beaten track?