thanks :-) it works !

On Thu, Jun 18, 2009 at 2:51 PM, Bob Hanson<[email protected]> wrote:
> Actually. The best is jmolEvaluate('script("show orientation")')
>
>
> Sent from my iPhone
>
> On Jun 18, 2009, at 6:49 AM, Lars Skjærven <[email protected]> wrote:
>
>> hi! thanks for your quick reply.
>> this is just what I need yes. I tried to implement this into my site,
>> so I made a javascript function that outputs the orientation to an
>> alert-box:
>>
>> ori = jmolScript("show orientation");
>> alert(ori);
>>
>> However, jmolScript returns "undefined" here. I also tried to set
>> targetsuffix to be sure that it is communicating with the same applet.
>>
>> Any suggestions?
>>
>> thanks again. :)
>>
>> Lars
>>
>> 2009/6/18 Angel Herráez <[email protected]>:
>>> Hello Lars
>>>
>>> The command you need is "show orientation".
>>> You will need to parse it or, better, use "show orientaton moveto"
>>> (only in recent versions of Jmol)
>>>
>>>
>>>
>>> ---
>>> ---
>>> ---
>>> ---------------------------------------------------------------------
>>> Crystal Reports - New Free Runtime and 30 Day Trial
>>> Check out the new simplified licensing option that enables unlimited
>>> royalty-free distribution of the report engine for externally facing
>>> server and web deployment.
>>> http://p.sf.net/sfu/businessobjects
>>> _______________________________________________
>>> Jmol-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>>
>>
>> ---
>> ---
>> ---
>> ---------------------------------------------------------------------
>> Crystal Reports - New Free Runtime and 30 Day Trial
>> Check out the new simplified licensing option that enables unlimited
>> royalty-free distribution of the report engine for externally facing
>> server and web deployment.
>> http://p.sf.net/sfu/businessobjects
>> _______________________________________________
>> Jmol-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to