Pino,

The problem is that you are calling all the orbitals "iso1" in your commands.  
Thus each time a button is clicked the visible orbital is replaced by the new 
one.  If you want the second button to draw a second orbital label it something 
else, maybe "iso2".  See the scripting documentation for more information about 
the isosurface command.

Regards,
Jonathan

I'm copying this to the jmol users list as we prefer to have a record of all 
these questions.
 
On Nov 16, 2013, at 5:22 AM, pino.stricc...@libero.it wrote:

> Dear Mr Gutow, i am Pino Striccoli and i am a member of Jmol comunity as a 
> user. I have seen since long your pages like this one 
> http://www.uwosh.edu/faculty_staff/gutow/Orbitals/N/sp%20hybrid.shtml?
> USE=JAVA.. 
> 
> I am using the file on your pages on my blog to render atomic and hybrid 
> orbital in JSmol. But i cannot figure out how to show more than one orbital 
> or 
> surface at time.
> Is there any particular command in Jmol to implement without loading two 
> models at time?
> On the blog (http://pinostriccoli.altervista.org)  it appears the link to 
> your 
> site anyway. 
> Pino
> 
> 

                        Dr. Jonathan H. Gutow
Chemistry Department                                 gu...@uwosh.edu
UW-Oshkosh                                           Office:920-424-1326
800 Algoma Boulevard                                 FAX:920-424-2042
Oshkosh, WI 54901
                http://www.uwosh.edu/facstaff/gutow/


------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to