• Resolved databell96

    (@databell96)


    I just found out that it seems the jsbrotate.js is causing browser errors at least on Internet Explorer.

    On Line 4, Character 2 you get the following error:

    ‘document.getElementByID(…)’ is null or not a null object.

    Fix?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Eric Mann

    (@ericmann)

    Can you give me more details about when and where you’re seeing this error? Is it on every page? Does the banner rotator still work despite the error? Have you made any changes to the plug-in code? Can you provide a link to your site so I can see the error in the field?

    Thread Starter databell96

    (@databell96)

    I don’t believe I’ve made any changes to the code at all. I’m not sure it works on IE or not since I’m on Mac and I got this from another source. But here’s an example page for you to peruse:

    It’s the picture frame in the copy.

    Plugin Author Eric Mann

    (@ericmann)

    FYI If you’re reporting hearsay errors, please link to the original source! Stating that a plug-in doesn’t work in IE followed by a clear statement that you can’t even use IE makes it incredibly difficult for developers to track down the problem. It also means that you, personally, aren’t facing the issue in the first place.

    So my question to you is this: is the widget working for you or not? If it’s working, then please close this thread as “resolved.” If it’s not, please let me know what error you are receiving so I can fix it.

    I just tested the site you linked to in IE. The page with the picture frame throws no errors in IE at all. The document.getElementByID(...)' is null or not an object error shows up on other pages (i.e. those without the rotating banner) but the error itself only stops the banner script from functioning, not the rest of the site.

    So yes there is a bug, but the bug does not impede the operation of the site in any browser. I’ll add a filter to the plug-in to only include the script on pages that have the #jsbanners element on the page to the next version.

    Thread Starter databell96

    (@databell96)

    Well, that’s fine. Problem is it’s the client who had the issue, which of course means they don’t understand what these issues mean, just that they effect search engine or at least think that they do. Who really knows if they do? It doesn’t effect me at all, because I’m on a Mac. Thank you for being aware of the situation and resolving it in the next upgrade. I’ll be looking out for it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: JS Banner Rotate] Javascript Errors’ is closed to new replies.