Jonathan, good to hear! (Hey, and tell them I am implementing 4D mesh
rotation... think hypercube!)

We have no problem on another project (MagresView), so I know it is
possible.

1) Make sure your jQuery version is 1.10+ for full MSIE support; 1.7 should
be fine otherwise.
2) Use Jsmol.min.nojq.js
3) load jQuery first, including jQuery.ui.menu.js, then the JSmol library.
4) Make sure the SageMath jquery-ui-1.8.11.custom.css has been generated
with a proper scope, and, I guess, that Sage is set up do handle that
properly. See
http://filamentgroup.com/lab/using_multiple_jquery_ui_themes_on_a_single_page/

Bob





On Sat, Apr 12, 2014 at 9:12 AM, Jonathan Gutow <gu...@uwosh.edu> wrote:

> I'm working with the SageMath package, which uses jquery and jquery-ui
> extensively for its web interface.  I am having trouble embedding JSmol in
> this because there is a collision.  If I load the JSmol js libraries first
> and the the jquery libraries all the SageMath functions work, but the JSmol
> right-click popup menu does not.  If I switch the load order I loose
> anything that uses dialogs in the SageMath interface and then the JSmol
> right-click menu works.
>
> I haven't been able to figure out which functions are colliding.  I think
> it has to do with the dialog feature, but have no other clues.
>
> Any suggestions?
>
> Thanks,
> Jonathan
>
>
> ------------------------------------------------------------------------------
> Put Bad Developers to Shame
> Dominate Development with Jenkins Continuous Integration
> Continuously Automate Build, Test & Deployment
> Start a new project now. Try Jenkins in the cloud.
> http://p.sf.net/sfu/13600_Cloudbees
> _______________________________________________
> Jmol-developers mailing list
> Jmol-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-developers
>
>


-- 
Robert M. Hanson
Larson-Anderson Professor 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
------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to