Basic Example

<html lang="en">
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Campzimmer | Basic Example</title>
    <link href="https://cdn.campzimmer.com/campzimmer.css" rel="stylesheet">
    <script src="https://cdn.campzimmer.com/campzimmer.js"></script>
    <style>
      #viewer{
        width: 100%;
        height: 50vh;
        position: relative;
      }
    </style>
  </head>
  <body>
    <div id="viewer"></div>
    <script>
      var resource = '81668'; // Site id from RIDB data.
      var instance = new Campzimmer.Campzimmer({
        container: 'viewer',
        resource: resource,
      });
    </script>
  </body>
</html>