Re: [Jmol-users] Help with Jmol and jQuery?

2009-05-27 Thread Robert Hanson
Interesting idea. Probably without the points would be nicer. On Wed, May 27, 2009 at 4:43 PM, Xavier Prat-Resina wrote: > Not sure if it's useful, I'm using jQuery/flot here > http://www.chemeddl.org/collections/molecules/index.php > click the IR spectrum button and a flot chart pops up > > Xavi

Re: [Jmol-users] Help with Jmol and jQuery?

2009-05-27 Thread Xavier Prat-Resina
Not sure if it's useful, I'm using jQuery/flot here http://www.chemeddl.org/collections/molecules/index.php click the IR spectrum button and a flot chart pops up Xavier On Wed, May 27, 2009 at 3:37 PM, Robert Hanson wrote: > Jeff, I'm using jQuery at > > http://chemapps.stolaf.edu/jmol/docs/exa

Re: [Jmol-users] Help with Jmol and jQuery?

2009-05-27 Thread Robert Hanson
Jeff, I'm using jQuery at http://chemapps.stolaf.edu/jmol/docs/examples-11/jmol-flot.htm and http://chemapps.stolaf.edu/jmol/docs/examples-11/jmol-flot-energy.htm I'm sure your problems do not arise from Jmol.js. The jQuery business is quite well modularized. Bob On Wed, May 27, 2009 at 11:

Re: [Jmol-users] Help with Jmol and jQuery?

2009-05-27 Thread Jeff Hansen
Andreas, It looks to me like some kind of timing issue. I've made a page with some jQuery stuff on it. It works. I add a Jmol applet. Everything still works. I then put a function that grabs data from the Jmol applet inside the (document).ready wrapper and put a call to that function

Re: [Jmol-users] Help with Jmol and jQuery?

2009-05-27 Thread Andreas Prlic
Hi Jeff, Now sure what's exactly the problem from your description, perhaps you can send some example code? We are using a mix between JQuery and self written javacript on the new RCSB-PDB web site: e.g. this page tracks the Jmol console output to a div and shows the command history: http://www.

[Jmol-users] Help with Jmol and jQuery?

2009-05-27 Thread Jeff Hansen
Does anyone have any experience using jQuery on a page with Jmol? I wanted to do this as it would greatly simplify some things I wanted to do. Unfortunately, none of the jQuery seems to be working. Let me explain. I can load a Jmol applet and structure and write javascript to manipulate

Re: [Jmol-users] Displaying polymer chains with Jmol

2009-05-27 Thread Robert Hanson
The substructure command is working, just not for Nick. ;) Nick's solution will depend upon whether he is looking for a general solution that does not depend upon knowing the polymer structure or whether he knows what file he is working with. His files are Spartan output, so they come with "HETATM.

Re: [Jmol-users] Displaying polymer chains with Jmol

2009-05-27 Thread Angel Herráez
> On Tue, May 26, 2009 at 6:10 PM, Nick Greeves > wrote: > Thanks Bob, I am trying with PDB but I'm not clear how to specify > "residues". I liked the Nick, apart from specfying aton numbers as Bob says, the other solution is that you insert residue "names" in the pdb fle. You usually hav