Entering edit mode
8.7 years ago
albertgeorge253
▴
20
Hi, I want to run a website with both JSMOL and cytoscape.js. How to embed both together.
Hi, I want to run a website with both JSMOL and cytoscape.js. How to embed both together.
Include both in script tags in the header of your page:
<script src="cytoscape.js"></script>
<script src="JSmol.min.js"></script>
In your HTML, use a div element for the jsmol content and another for the cytoscape content. See here for cytoscape and here for a simple JSmol example or here for a more complex one or look at examples in the jsmol.zip archive in the Jmol distribution.
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.