Re: [Jmol-users] Jmol call function

2012-11-28 Thread Angel Herráez
Hello Smith I have little experience with php, but I will tell you what you can do with Javascript and hopefully you can adapt it: > jmolButton("model NEXT","Next") > > I need call some php function and together use "model NEXT", when I > push the jmolButton. > Can you writ

Re: [Jmol-users] Jmol call function

2012-11-28 Thread Simone Sturniolo
I have just started working with JSO, but I can tell you at least that you can replace the jmol script ("model NEXT") with a Javascript function. You only have to pass an array [, , ...] to the jmolButton function. If your function does simple operations which can be coded in Javascript, that would

[Jmol-users] Jmol call function

2012-11-28 Thread smith82
Dear all,   I'd like to ask you for help with my problem.I use jmol for viewing of my results, but now I need extend my solution. In my code I use command jmolButton:   jmolButton("model NEXT","Next")   I need call some php function and together use "model NEXT", when I push the jmolButton. Can y