From: Angel H. <ang...@ua...> - 2015-05-14 21:49:08
|
Ciao Pino I think you are giving all your MEP buttons the same ID, so the browser somehow only remembers the last one jmolButton("load wp-content/nitrobenzene.txt; isosurface resolution 6 vdw 80% color range all map MEP translucent;", "MEP 80%vdw", "MEP 80%"); The final "MEP 80%" is making the problem. That will be the html ID of the button, and they should be unique. function jmolButton(script, label, id, title) { return Jmol.jmolButton(_jmol.target, script, label, id, title); } Jmol.jmolButton(JmolObject, script, label, id, title) |