Valid XHTML Icon Valid CSS Icon Valid SVG Icon Unicode UTF-8 Icon
Add to del.icio.us Digg this! Post to reddit Share on Facebook Add to StumbleUpon Add to Google Bookmarks

XHTML Strict Applets

Creative Commons LogoThis work is licensed under the Creative Commons Attribution Non-Commercial 2.0 UK: England & Wales Licence. This means that you are free to: copy; distribute; and modify this work. It also means that you cannot use it for commercial purposes. Additionally, you must attribute this work to the original author, Thomas Guymer, ideally with a link.

Java Applet

ERROR: Applet not displayed. Visit the Java Software Website to check if Java is installed on your computer or try enabling the ActiveX if you are Internet Explorer user.

This is just a panorama of the back of 'the Ben' on a beautiful day, whilst in Scotland with KES. Here is the XHTML used to create include this applet:

<!--[if !IE]> Hidden to IE -->
<object classid="java:ptviewer.class" type="application/x-java-applet" archive="/applets/ptviewer.jar" width="600" height="337">
    <param name="archive" value="/applets/ptviewer.jar" />
    <param name="file" value="/panoramas/2004/scotland/imgp0411/pano.jpg" />
    <param name="cursor" value="MOVE" />
    <param name="imgLoadFeedback" value="true" />
    <param name="showToolbar" value="true" />
    <param name="mass" value="10" />
    <param name="bgcolor" value="ffffff" />
    <param name="panmin" value="-58" />
    <param name="panmax" value="58" />
    <param name="tiltmin" value="-13.7" />
    <param name="tiltmax" value="20.1" />
    <param name="fov" value="60" />
    <param name="fovmax" value="60" />
    <param name="fovmin" value="30" />
    <param name="auto" value="0.1" />
    <!--<![endif]-->
    <object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" width="600" height="337">
        <param name="code" value="ptviewer.class" />
        <param name="archive" value="/applets/ptviewer.jar" />
        <param name="file" value="/panoramas/2004/scotland/imgp0411/pano.jpg" />
        <param name="cursor" value="MOVE" />
        <param name="imgLoadFeedback" value="true" />
        <param name="showToolbar" value="true" />
        <param name="mass" value="10" />
        <param name="bgcolor" value="ffffff" />
        <param name="panmin" value="-58" />
        <param name="panmax" value="58" />
        <param name="tiltmin" value="-13.7" />
        <param name="tiltmax" value="20.1" />
        <param name="fov" value="60" />
        <param name="fovmax" value="60" />
        <param name="fovmin" value="30" />
        <param name="auto" value="0.1" />
        <p class="error">ERROR: Applet not displayed. Visit the <a href="http://www.java.com/en/download/" title="Java Software Website" class="external">Java Software Website</a> to check if Java is installed on your computer or try enabling the <i>ActiveX</i> if you are Internet Explorer user.</p>
    </object>
    <!--[if !IE]> Hidden to IE -->
</object>
<!--<![endif]-->

Doing my own tests I have found that:

Browser Displays Java Applet?
Firefox 3 Yes
IE8 Yes
Konqueror 4.3 No
Opera 10 Yes
Safari 3.1 Yes

This page was last modified on 20/09/2009. This page has had 4,108 hits up until 01/09/2011.

Amazon.co.uk logoDo you want to say thank you? Visit my Amazon Wishlist, thank you.Amazon dummy image

(from My Portfolio)

© 2002-2012 Thomas Guymer. See the Copyright Statement & the Cookie Policy.