Fortunately, HTML4's recommendation includes an example of the way applet
elements should
be written in HTML4 :
-------
DEPRECATED EXAMPLE:
In the following example, the APPLET element includes a Java applet in the
document. Since no codebase is supplied, the applet is assumed to be in
the same directory as the current document.
<APPLET code="Bubbles.class" width="500" height="500">
Java applet that draws animated bubbles.
</APPLET>
This example may be rewritten with OBJECT as follows:
<P><OBJECT codetype="application/java"
classid="java:Bubbles.class"
width="500" height="500">
Java applet that draws animated bubbles.
</OBJECT>
--------
This lets us know what the standard is. Unfortunately, it doesn't work
with Safari. It works with
any other web browser, though (except Shiira).
My conclusion is that Safari does not support HTML4, and never has.
The only improvement I have noticed is that in the latest version it
prints the alternate comment
("Java applet that draws animated bubbles."), while there was nother
displayed before.
Until 5 years after Apple fixes this bug (see
http://www.alleged.org.uk/pdc/2003/safari.html ),
there won't be a standard way that works to include applets in a web page.
Developers have been hopelessly trying to find a solution for years (see
http://www.graphics.cornell.edu/~westin/multimedia-paper/applet-rant.html ).
To make things worse, Sun suggests rewriting applet elements in a way that
looks really
windows-oriented (Mac users don't need to download a JRE) (see
http://java.sun.com/j2se/1.4.2/docs/guide/plugin/developer_guide/using_tags.html
)
>says the PARAM tag is an empty tag, so try this representation:
> <PARAM NAME="progressbar" VALUE="true" />
>
>Note the / before the >. I'm just wildly guessing though.
The / would be the XML syntax. The initial poster wrote about HTML4
strict, which is not XHTML.
So he should not include the /.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden