I get it!
This is the code:

<applet name="jmol" code="JmolApplet"
           archive="/wp-content/jmol/JmolApplet.jar"
           width="200" height="200" mayscript="true">
  <param name="progressbar" value="true"/>
  <param name="script" value='pmesh "/wp-content/surface.pmesh"'/>
</applet>

This only needs install jmol in the path /wp-content/jmol/ (for
example) and put the pmesh in the path /wp-content/

thanks for your help.



On Mar 23, 9:48 pm, "William Stein" <[EMAIL PROTECTED]> wrote:
> On Sun, Mar 23, 2008 at 1:21 PM, Janzo <[EMAIL PROTECTED]> wrote:
>
> >  Hi again:
>
> >  I have explored a bit more Jmol.
> >  I have tried a lot to show the pmesh file in a Jmol applet... I have
> >  learned to open the pmesh file in the Jmol program (console command:
> >  pmesh "my_sage_surface.pmesh") but then I can't do anything with that :
> >  (
>
> >  Where is the code you use in sage to show the applet?
>
> If you refresh a sage notebook page that shows a 3d jmol image you'll
> see that it contains:
>    jmol_applet(500, "/home/admin/37/cells/16/sage0-size500.jmol")
> where jmol_applet is some javascript function that is defined by main.js
> (part of Sage) basically to be
>
>    jmolApplet(size, "script " + url);
>
> where jmolApplet is defined in Jmol.js (which is from the jmol website).
>
> By the way, this email should be in sage-support. It's not a sage-edu
> question, and there are over 10 times as many people subscribed to 
> sage-support.
>
>    -- William
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to