Your code reads:
jmolButton("load wp-content/chlorobenzene.txt;isosurface resolution 6 vdw
80% color range all map MEP translucent;", "MEP 80%vdw", "MEP 80%");
jmolButton("load wp-content/fluorobenzene.txt; isosurface resolution 6 vdw
80% color range all map MEP translucent;", "MEP 80%vdw", "MEP 80%");
etc. calling
function jmolButton(script, label, id, title) {...}
But that third parameter ("MEP 80%") is "id" so it is assigning the same id
attribute to all these buttons. So they all refer to the last button
created.
On Thu, May 14, 2015 at 4:19 PM, pinostricc...@alice.it <
pinostricc...@alice.it> wrote:
> Hi Friends, i have an old problem with this page
> http://pinostriccoli.altervista.org/?p=6049
> Whatever structure i choose with red button, when i press MEP80%VDW, it
> comes out the mep of another structure on the page.
> I changed the version of Jsmol but nothing.
> Can you verify what happens there? What can it be the problem?
> Thanks Pino
>
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
--
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Department 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
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users