The code below is supposed to load Java 2 into your browser:
These buttons could have any shape. Note that only the shape itself is sensitive to clicking, we are not cheating by pretending to be diamond shaped.
It gets messy...
<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
width="300" height="80" align="baseline"
codebase="http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab#Version=1,4,2,0">
<PARAM NAME="code" VALUE="JavaVersion.class">
<PARAM name="type" value="application/x-java-applet;jpi-version=1.4.2">
<PARAM name="scriptable" value="true">
<comment>
<embed type="application/x-java-applet;version=1.4"
width="400" height="80" align="baseline"
code="JavaVersion.class" pluginspage="http://java.sun.com/products/plugin">
<noembed>
</COMMENT>
<b>No Java 2 SDK, Standard Edition v 1.4.2 support for APPLET!!</b>
</noembed>
</OBJECT>