View Full Version : Javascript-to-Java communication!
synthetickittie
Sep 10, 2003, 05:27 PM
on all my physic homeworks assignments that are online have what they say is "Javascript-to-Java communication simulations." None of these work, the onces that are ONLY java work but not the Javascript-to-Java ones.
bousozoku
Sep 10, 2003, 09:49 PM
I'm not sure if you have a question or whether you're just frustrated, but you can add some HTML to a page with JavaScript to call a Java Applet and send parameters along.
FattyMembrane
Sep 10, 2003, 11:27 PM
information like your version of java, your web browser, the web site, and things like that would be helpful...:rolleyes:
give us some info and we'll see what we can do.
robbieduncan
Sep 11, 2003, 02:49 AM
Try using IE Mac (or even IE on Windows). I'm not sure that Safari implements that API.
zoetropeuk
Sep 11, 2003, 04:02 AM
Only netscape 7 on the mac still implements live connect. Live connect allows communication between java and javascript.
synthetickittie
Sep 11, 2003, 05:40 AM
netscape 7.1 was the only browser I did not try, just downloaded and test. Netscape does also not work. It works on every windows computer on campus tho. So every week Im going to be forced to walk to the library and do my work over then, the homework is at least an hour of work for these things so Id MUCH MUCH rather be able to do it from the comfort of my own dormroom. I know I didnt state my question in the first post but I meant to ask if there was ANYWAY possible to get around this and view them. Oh ya I forgot to mention that in netscape its the only one that shows something different, in every other broswer for the mac it shows a graph and play buttons(every animation is suppose to have that graph and then have something play over the graph when you hit a button) but in netscape a single line of words desplay in the middle of where the graph should show and I tried hitting all the buttons and nothing changes
synthetickittie
Sep 11, 2003, 05:46 AM
Originally posted by FattyMembrane
information like your version of java, your web browser, the web site, and things like that would be helpful...:rolleyes:
give us some info and we'll see what we can do.
java- 1.4.1(the one that just came out) and I had 1.3.1 before the update and that as well didnt work.
web browser- have tried safari(1.0), ie(5.2.2), camino(0.7), mozilla(1.4), and now netscape(7.1)
website- is a special thing that only if your in the class you can long on to I dont thing theres a way for you to test it yourself.
bousozoku
Sep 11, 2003, 09:25 AM
Originally posted by synthetickittie
...
I know I didnt state my question in the first post...
You still didn't state it clearly. How are you going to do your classes if your work is like this?
All I can say is that, for it to work, you're going to have to learn about putting together websites and analyse it. Then, you can write the corrections and hand them in--if they have local control over it and care.
synthetickittie
Sep 11, 2003, 10:45 AM
Originally posted by bousozoku
You still didn't state it clearly. How are you going to do your classes if your work is like this?
All I can say is that, for it to work, you're going to have to learn about putting together websites and analyse it. Then, you can write the corrections and hand them in--if they have local control over it and care.
For this week Ive been going to the schools library and working on the windows computers there. There animations work on windows ie but not on ANY of the browsers on my mac. My question is why is this that why can no one in their browser have the same capabilities to render these animations on a mac, I mean all it is, is javascript which is so widely used?
bousozoku
Sep 11, 2003, 12:45 PM
Originally posted by synthetickittie
For this week Ive been going to the schools library and working on the windows computers there. There animations work on windows ie but not on ANY of the browsers on my mac. My question is why is this that why can no one in their browser have the same capabilities to render these animations on a mac, I mean all it is, is javascript which is so widely used?
While there is a standard for JavaScript, very few browsers follow it, each adding their own "enhancements". In the Windows world, many people write for Internet Exploder and that's all and it has by far, the worst dialect of JavaScript available. Many times, they write VBScript, which is IE and Windows only.
However, if they write for Netscape or Mozilla, it should run on any Mac browser as well as most other browsers on Windows.
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.