<!DOCTYPE html>
<html>

  <head>
    <!-- Molstar CSS & JS -->
    <link rel="stylesheet" type="text/css" href="https://www.ebi.ac.uk/pdbe/pdb-component-library/css/pdbe-molstar-0.1.0.css">
    <script type="text/javascript" src="https://www.ebi.ac.uk/pdbe/pdb-component-library/js/pdbe-molstar-plugin-0.1.0.js"></script>
    
    <style>
      #myViewer{
        width:450px;
        height: 450px;
        position:relative;
      }
    </style>
  </head>

  <body>
    <h3>PDBe Molstar Plugin demo - Basic</h3>
    
    <!-- Molstar container -->
    <div id="myViewer"></div>
    
    <script>
      //Create plugin instance
      var viewerInstance = new PDBeMolstarPlugin();
  
      //Set options (Checkout available options list in the documentation)
      var options = {
  	    moleculeId: '1cbs'
      }
      
      //Get element from HTML/Template to place the viewer 
      var viewerContainer = document.getElementById('myViewer');
  
      //Call render method to display the 3D view
      viewerInstance.render(viewerContainer, options);
    </script>
  </body>

</html>