test
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • jkuroiwa Friend
    #122098

    Hello,

    Only in IE6, I’m getting a JavaScript error “xmlhttp.readystate is null or not an object.” I’ve had other errors and it won’t rotate, nor will it advance or go back through the list. It works fine in IE7, FireFox, Safari, etc…

    Thanks in advance

    jkuroiwa Friend
    #227332

    At the top of the janews.js code, there is a check for XMLHttpRequest.

    <blockquote>if (!xmlhttp && typeof XMLHttpRequest!=’undefined’) {
    try {
    xmlhttp = new XMLHttpRequest();
    } catch (e) {
    xmlhttp=false;
    }
    }</blockquote>

    However, IE6 (and older) requires a ActiveX that is instaniated by…

    <blockquote>xmlhttp = new ActiveXObject(“Microsoft.XMLHttp”);</blockquote>

    I ended up pulling the whole if statement and replaced it with…

    <blockquote>try {
    xmlhttp = new XMLHttpRequest();
    } catch (e) {
    xmlhttp = new ActiveXObject(“Microsoft.XMLHttp”);
    }</blockquote>

    But I’ll probably clean it up soon.

    Good luck

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 1 voice, and was last updated by  jkuroiwa 17 years, 3 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum