L.S.,

 

We are well on the way finishing an educational module to teach students the
basics of spectroscopy using a Drupal 7 website and JSmol and its JSpecView
companion. If you are interested, visit www.eduspec.org
<http://www.eduspec.org> . There is also a demo to the educational content
for which a link can be found on that same site. You need to generate a
temporary account for that.

 

Regarding the use of JSmol in our questions we have a problem with the use
of JQuery in both JSmol and Drupal where the Drupal version of JQuery is
older than the one used by JSmol resulting in a conflict.

We managed to work around the conflict by adjusting the JavaScript code for
JSmol. The basis of the problem is that JSmol registers its version of
JQuery globally, thus overwriting the JQuery version of Drupal. By adjusting
the JSmol sources so that its JQuery version is now in a 'closure' with
JSmol we prevent this from happening.

 

The problem we have with this solution is that we have to do it for each
upgrade of JSmol preventing us from upgrading. And because this might be a
problem for more teams then ours alone, we thought to bring this to your
attention.

Would it be an idea to incorporate this adjustment in the JSmol sources? It
only concerns the JSmol version with enclosed JQuery.

 

Kind regards,

 

Eelco van Dam

 

------------------------------------------------------------------------------
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to