SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    Don't eat yellow snow spaceman's Avatar
    Join Date
    Mar 2001
    Location
    Melbourne, Australia
    Posts
    1,039
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Advice for users/browsers without java applet support?

    Hi,

    I'm working on a site that uses a java applets (I'm using MGI Soft's Photovista software: http://www.mgisoft.com/products/webt...rama/index.asp).

    OK, so it seems that java applets are a good cross-platform technology, but my question is this: what BASIC advice can I give visitors to the web site where there web browser does not support java applets? Does someone know of a resource that spells out to the a complete beginner, in really simple terms. how to get their browser/computer to be applet-friendly?

    So what I'm trying do is to avoid the scenario where I say "if it doesn't work - tough" by giving the visitor to the site some helpful hints.

    Thanks.
    Web Design Perth Melbourne .:. Itomic Business Website Solutions
    Drupal Experts .:. Drupalise

  2. #2
    SitePoint Wizard creole's Avatar
    Join Date
    Oct 2000
    Location
    Nashvegas Baby!
    Posts
    7,845
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Best thing to do would be to avoid using applets.

    Barring that, I would suggest giving the user a direct link to the Java download page for each browser manufacturer.
    Adobe Certified Coldfusion MX 7 Developer
    Adobe Certified Advanced Coldfusion MX Developer
    My Blog (new) | My Family | My Freelance | My Recipes

  3. #3
    ********* Callithumpian silver trophy freakysid's Avatar
    Join Date
    Jun 2000
    Location
    Sydney, Australia
    Posts
    3,798
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah - and while you are sorting out Java on the client issues - best email Steve Jobs and ask him when the heck he is going to sort out Java on the Mac. Maybe its sorted out a bit better now with X being built on BSD Unix, but for those of us still using pre G3 models Java just plain sucks on Mac.

    Um, to turn this into a constructive thread - I am just suggesting to you that the user who does not have Java turned on most probably has turned it OFF themselves, as I have done with IE5 for Mac (9600/300 OS8.6 192MB RAM) - because it just doesn't work! So be gentle with these users

  4. #4
    SitePoint Wizard johnn's Avatar
    Join Date
    Mar 2001
    Location
    Southern California, USA
    Posts
    1,181
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I learned java before, and I doesn't like the fact that IE browser supports java 1.1 and not java 2..., so I switch to PHP.

    As I understand, browsers do not support Swing by default. You have to either download the Swing plug-in, or switch to AWT (I recommend the latter, since most people don't have the Swing plug-in).

    To detect if a user can run a java applet,

    <script language="javascript">
    <!--
    if (navigator.javaEnabled()) {
    //display applet
    } else {
    //don't
    }
    // -->
    </script>


    From from Netscape's JSReference:
    if (navigator.javaEnabled()) {
    function1()
    }else function2()

  5. #5
    Don't eat yellow snow spaceman's Avatar
    Join Date
    Mar 2001
    Location
    Melbourne, Australia
    Posts
    1,039
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks johnn for that javascript. It will come in handy if the user wants to run a browser test prior to the applet bit, eg:

    <script language="javascript">
    <!--
    if (navigator.javaEnabled()) {
    alert("Great - looks like your browser is java enabled");
    } else {
    alert("Oh dear - looks like your browser is not java enabled");
    }
    // -->
    </script>

    One question though - r u sure that 'javascript' and 'java applets' are both completely covered by this one test?

    In other words, would it be more fair to say that if the above test is passed, then it's _likely_ that the java applet will work as intended (as opposed to definite)?

    Conversely, if this test is failed, then is it 100% sure that a java applet won't work for this browser?

    Just curious. I don't know a whole heap about javascript/applet browser compatibility issues.
    Web Design Perth Melbourne .:. Itomic Business Website Solutions
    Drupal Experts .:. Drupalise

  6. #6
    SitePoint Wizard johnn's Avatar
    Join Date
    Mar 2001
    Location
    Southern California, USA
    Posts
    1,181
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm not sure since I haven't touched java for a long time now, maybe you can test it out. BTW, there is a great java forum for beginners at:

    http://codeguru.earthweb.com/cgi-bin...ist&Board=java

    Click on the drop down list and select Beginner

    John


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •