Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

DaveWWW

macrumors newbie
Original poster
Dec 6, 2008
1
0
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
 
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.
 
The errors always been errors, but the error-checking was relaxed?
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.

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.).

Javascript, not Java.
 
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 :)


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.).

Java is not Javascript.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.