Warwick,

Your message was too big to be sent to the mailing list.

You applet should look as follows. I have substituted square brackets for
angle brackets to prevent problems with HTML mail readers.

[applet name="jmol" code="JmolApplet" archive="../jmol/JmolApplet.jar"
        width="400" height="400" mayscript="true" ]
  [param name="progressbar"   value="true" /]
  [param name="progresscolor" value="blue" /]
  [param name="boxmessage"    value="Downloading JmolApplet ..." /]
  [param name="boxbgcolor"    value="black" /]
  [param name="boxfgcolor"    value="white" /]

  [!-- optional parameters --]

  [param name="bgcolor"       value="black" /]
  [param name="load"   value="my file as relative path without http://"; /]
  [param name="script" value=" /]
[/applet]


width and height should be the same and should be fixed integers, not
percentages.

All 'archive' references to JmolApplet.jar should point to the same file.
That way every instance will be pulled from the client cache.

Put another way, there should be *one* copy of JmolApplet.jar for your
entire web application. Relative or server-relative pathnames should be
used to get to that one true directory.

You can use pathnames which are relative to the current directory. Or you
can start with a single / and give an absolute pathname that is local to
the server. But you should *not* include http://your.server.name


If you are building a complex web application then I recommend that you
put this in a JavaScript function and invoke it from there.

We plan to provide a JavaScript library with Jmol in the future to make
this easier and to provide more functionality.


Miguel



-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
Jmol-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to