Javascript-to-Java communication!

Discussion in 'Mac Apps and Mac App Store' started by synthetickittie, Sep 10, 2003.

  1. synthetickittie macrumors regular

    Joined:
    Dec 17, 2002
    Location:
    Boston
    #1
    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.
     
  2. bousozoku Moderator emeritus

    Joined:
    Jun 25, 2002
    Location:
    Gone but not forgotten.
    #2
    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.
     
  3. FattyMembrane macrumors 6502a

    FattyMembrane

    Joined:
    Apr 14, 2002
    Location:
    bat country
    #3
    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.
     
  4. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #4
    Try using IE Mac (or even IE on Windows). I'm not sure that Safari implements that API.
     
  5. zoetropeuk macrumors regular

    Joined:
    Dec 19, 2002
    Location:
    Oxford UK
    #5
    Only netscape 7 on the mac still implements live connect. Live connect allows communication between java and javascript.
     
  6. synthetickittie thread starter macrumors regular

    Joined:
    Dec 17, 2002
    Location:
    Boston
    #6
    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
     
  7. synthetickittie thread starter macrumors regular

    Joined:
    Dec 17, 2002
    Location:
    Boston
    #7
    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.
     
  8. bousozoku Moderator emeritus

    Joined:
    Jun 25, 2002
    Location:
    Gone but not forgotten.
    #8
    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.
     
  9. synthetickittie thread starter macrumors regular

    Joined:
    Dec 17, 2002
    Location:
    Boston
    #9
    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?
     
  10. bousozoku Moderator emeritus

    Joined:
    Jun 25, 2002
    Location:
    Gone but not forgotten.
    #10
    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.
     

Share This Page