Forum Moderators: open
<object codebase="java" classid="panorama.class" height="196" width="460" >
<param name="panorama" value="path-to-photo.jpg" />
<!--[if!IE]> Mozilla/Netscape and its brethren -->
<object codebase="java" classid="java:panorama.class" height="196" width="460" >
<param name="panorama" value="path-to-photo.jpg" />
</object>
<!-- <![endif]-->
</object>
(Obviously, the codebase, "java", is a directory within which panorama.class resides, and the "java" directory is inside the same directory as the web page.)
Here is some information about the panorama java applet [www3.mistral.co.uk].
If any of you are able to make this work, I'd appreciate a comment.
However, I have tested that fairly in Mozilla, and that portion of the tag both validates XHTML 1.1 and works, whereas if the "java:" portion of the classid is removed, it'll no longer work (which suggests that it is the right way to code that line for non-IE browsers).
The portion that is giving me problems is the portion for IE. I can write the portion for IE such that it will work (by replacing "classid" with "code"), but it won't validate. Written the way it validates, it won't work.
*sniff* *sniff* HELP! *sniff* *sniff*
Thanks for your response, btw.
[ww2.cs.fsu.edu...]
That is, until now.
I couldn't remember precisely what the results were when I used that method (a direct copy/paste of the non-archive [.jar file] related code), so I just tried it again in order to give a more complete answer about why it doesn't work.
But it did.
Thank you very much, tedster. I don't know what could have been the problem before (a caching issue seems the most plausible, though I've not implemented it precisely as before [no "codebase" attribute, as I just tried it in its simplest form with the .html file in the same directory as the java]), but without your dialogue I would never have gone back to try that again.
Now if I only knew of an exhaustive explanation of "clsid:8AD9C840-044E-11D1-B3E9-00805F499D93".
Thanks again.
So, if you've got 8,252 directories, each which you intend to use with java, you have to have separate copies of the java in those 8,252 directories.
That just can't be right. So why doesn't it work?
Update: Well, that didn't take long. Even though there is a "codebase" attribute associated with the "object" tag, it apparently doesn't do the same thing as the "codebase" attribute of the "applet" tag. Instead the codebase equivalent of the applet's tag is a "param" tag embedded between the "object" tags:
<param name="codebase" value="java" />
Solved, then. It's amazing that the documentation for this sort of thing is so difficult to find (non-existent?).