If you're using Firefox at all, I've found the Firebug plug-in (
http://getfirebug.com/) to be immensely useful.  Whether your debugging
Javascript or just want to look at the DOM, it works great for me.  Just set
a breakpoint right after your jmolGetPropertyAsArray() call and then find
your array over in the "watch" panel.

Dean

On Tue, Aug 26, 2008 at 4:48 PM, Jeff Hansen <[EMAIL PROTECTED]> wrote:

> Thanks Paul.  That is very helpful.  I was able to use it to display the
> data in the array in a text area on the web page.  Should prove useful for
> figuring out how to mine the data.
>
> ***********************************************
> Jeff Hansen
> Department of Chemistry and Biochemistry
> DePauw University
> 602 S. College Ave.
> Greencastle, IN 46135
> [EMAIL PROTECTED]
> ***********************************************
>
>
> On Aug 26, 2008, at 2:51 PM, Paul Pillot wrote:
>
> I use the following dump() script when I want a detailed content of an
> object/array in javascript :
> http://binnyva.blogspot.com/2005/10/dump-function-javascript-equivalent-of.html
> Paul
>
> Le 26 août 08 à 20:37, Jeff Hansen a écrit :
>
> I'm working with Spartan 04 .smol files.  I could use Spartan 06 files if
> necessary.
> I'm making progress.  I'm able to use jmolGetPropertyAsArray and pull a
> value out of that.  I would like to show the contents of the entire array so
> I could see what is there and how it is organized, but I'm having trouble
> figuring out how to do that.
>
>
> ***********************************************
> Jeff Hansen
> Department of Chemistry and Biochemistry
> DePauw University
> 602 S. College Ave.
> Greencastle, IN 46135
> [EMAIL PROTECTED]
> ***********************************************
>
>
> On Aug 26, 2008, at 12:41 PM, Robert Hanson wrote:
>
> The properties supported do depend upon the file type. What file type are
> you working with? Generally you can check this by using
>
> getproperty auxiliaryinfo
>
> which is a general holder for all sorts of molecular info.
>
>
> Bob
>
>
> On Mon, Aug 25, 2008 at 7:50 AM, Jeff Hansen <[EMAIL PROTECTED]> wrote:
>
>> Bob,
>>
>> I've been looking through the documentation and trying to figure this out.
>>  I'm not having much success.  I don't think I quite understand the syntax
>> for doing this.  I also don't understand what properties are available and
>> where to find them and which file formats are supported.  I'm not finding
>> the help I need in the documentation or at least I'm not understanding well
>> enough the help that is there.  So lets say that I wanted to have a file
>> with several related models and find the energy of the molecule in each
>> model (actually that is what I want to do).  I'm not looking for the code to
>> do this, just another pointer in the right direction to move me in the right
>> direction.  Sorry if I'm too much of a bother.
>>
>> Robert Hanson
>> Fri, 22 Aug 2008 07:22:24 -0700
>>
>> oh, yes! You can do all that. Check the Jmol wiki for lots of tips. Commands
>> include jmolEvaluate (my favorite), and jmolGetPropertyAsArray() or
>> jmolGetPropertyAsString()
>>
>>
>>  ***********************************************
>> Jeff Hansen
>> Department of Chemistry and Biochemistry
>> DePauw University
>> 602 S. College Ave.
>> Greencastle, IN 46135
>> [EMAIL PROTECTED]
>> ***********************************************
>>
>>
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Jmol-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>
>>
>
>
> --
> Robert M. Hanson
> Professor of Chemistry
> St. Olaf College
> Northfield, MN
> http://www.stolaf.edu/people/hansonr
>
>
> If nature does not answer first what we want,
> it is better to take what answer we get.
>
> -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
>  -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
>
> http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
>
> http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
>
> http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to