Javascript problems in various Mac browsers

Discussion in 'Mac Apps and Mac App Store' started by DaveWWW, Dec 6, 2008.

  1. DaveWWW macrumors newbie

    Joined:
    Dec 6, 2008
    #1
    Hello,

    Sorry, I'm not a Mac person per se so I hope I phrase this question properly...

    I have a CD based course that uses Javascript to implement lesson selection (buttons, dropdowns, etc.)

    It's been working fine on both PC and Macs (Internet Explorer on PC, Safari on Mac, mainly) for the past 8 years or so.

    It seems that since the Intel based Macs have come along, the Javascript routines are no longer running on the Mac with either Safari or Firefox. I installed the error console in Safari, and there are lots of Javascript errors, such as "=" expected instead of ";", and many other errors like it.

    These Javascript routines work fine on any older Mac (non-Intel), and work fine on any PC.

    Anyone have any idea what's going on? Have the errors always been errors, but the error-checking was relaxed?

    If there is a way to fix this at the machine/client level instead of the code level, that would be great, since the CDs are already manufactured.

    Thank you.

    Dave
     
  2. SHADO macrumors 6502a

    SHADO

    Joined:
    Aug 14, 2008
    Location:
    Beach
    #2
    Do you have Leopard? If so, what version? Because there is a java update with every system update (ie 10.5.5 has a new java, etc.).
    And there must be a newer version of whatever software you are using because, I mean, it's 8 years old lol. Perhaps the new version has some bug fixes that allow it to run on Intel-based Macs (because Intel-based Macs are not 8 years old lol, so when they made the software, they couldn't make it Intel compatible). Good Luck.
     
  3. elppa macrumors 68040

    elppa

    Joined:
    Nov 26, 2003
    #3
    This sounds exactly like what is going on. The problem is probably that the javascript on the CDs is very old and written for old web browsers, which is why it won't work in modern web browsers and will work with very old web browsers (although IE is technically not old, almost everything is backwards compatible, which creates huge problems eleswhere).

    The fix is most likely finding the errors and fixing them.

    The other “fix” bundling an old, discontinued web browser (NS6 Mac, IE5 Mac) with the training CDs.

    Javascript, not Java.
     
  4. darkcurse macrumors 6502a

    darkcurse

    Joined:
    Nov 5, 2005
    Location:
    Sydney
    #4
    Try using Firefox instead of Safari since it seems to have more lax error checking.
     
  5. QueenZ macrumors 6502

    QueenZ

    Joined:
    Oct 26, 2008
    #5
    So is the script working properly but with errors in consule? or the script is not even working? Try different browsers like Opera, iCab, Camino SeaMonkey :)


    Java is not Javascript.
     

Share This Page