Embedding JSMOL with cytoscape.js.
1
0
Entering edit mode
8.1 years ago

Hi, I want to run a website with both JSMOL and cytoscape.js. How to embed both together.

jsmol cytoscape.js • 1.3k views
ADD COMMENT
0
Entering edit mode
8.0 years ago

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.

ADD COMMENT

Login before adding your answer.

Traffic: 2937 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6