> Believe me, I need inline models.

The HTML standard mandatest that newline characters be removed from applet
'param' values. Therefore, we cannot load files 'inline' without finding
some type of workaround.

Here is my next suggestion ...

Use JavaScript to load the model inline. There is a JavaScript method
called loadInline(String model) which you can call to load the model. I am
not sure of the exact syntax, but it will be something like this

...
<applet name="jmol" code="JmolApplet" archive="JmolApplet.jar"
  width='400' height='400'>
  <param name='emulate' value='chime' />
</applet>

<script>
var myModel="
put
your
model
here";

document.jmol.loadInline(myModel);
</script>
...



Try this out and let me know what you come up with.


Miguel





-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Jmol-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to