JMol

Enter ChemSpider ID and click Load button:
Molecule Style:
Zoom Scaling: Spin FPS:
Spin Rate X: Spin Rate Y:

Code examples how to put JSmol widget to the page to view molecule structures Molecule specified by mol with advanced jmol parameters set...
        var jmolView = $('#jmolContainer').jmol({
          width: 300,
         height: 300,
         modality: 'HTML5',
         spin: true,
         vibration: true,
         moleculeStyle: 'BALLSTICK',
         smiles: "c1ccccc1",
         useSignedApplet: false,
         spinRateX: 5,
         spinRateY: 5,
         spinFPS: 20,
         zoomScaling: 1,
     }).data('cs-jmol');
    
... and how to toggle the molecule spinning on and off...
		$('#toggleSpinBtn').click(function () {
			jmolView.toggleSpin();
		});
	
... and how to set the molecule display style (Ball & Stick / Space Fill / Wire Frame) ...
        jsview.setMoleculeDisplayType('BALLSTICK');
    
.. and how to set molecule by SMILES ...
        jsview.setSmiles(smiles);
    
.. and how to load by CSID ...
            jsview.setCSID(csid);
    
.. and how to set spin rates ...
         jsview.setSpinRates(10, 10, 25);
    
... and hot to set zoom scaling ...
         jsview.setZoomScaling(1.5);