cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

            
              <!--
Arlo Web Control Demo - Venue list - Theme1
Documentation: https://developer.arlo.co/doc/webcontrols/venue
-->


 <!-- Target Elements -->
    <div class="arlo">
        <div id="venue"></div>
    </div>

    <!-- Templates -->
    <script type='text/template' id='venue-template'>
        <% if (ViewUri !== "") { %>
            <h1>
                <a class="arlo-venue-name" href="<%= ViewUri %>">
                    <%= Name %>
                </a>
            </h1>
        <% } else { %>
            <h1 class="arlo-venue-name">
                <%= FullName %>
            </h1>
        <% } %>

        <div class="arlo-venue-information">
            <div class="arlo-venue-content arlo-text-color-light">
                <div>
                    <%= PhysicalAddress.StreetLine1 %>
                </div>
                <div>
                    <%= PhysicalAddress.StreetLine2 %>
                </div>
                <div>
                    <%= PhysicalAddress.StreetLine3 %>
                </div>
                <div>
                    <%= PhysicalAddress.StreetLine4 %>
                </div>
                <div>
                    <%= PhysicalAddress.Suburb %><% if (PhysicalAddress.Suburb && (PhysicalAddress.City || PhysicalAddress.State || PhysicalAddress.PostCode)) { %>,<% } %>
                    <%= PhysicalAddress.City %>
                    <%= PhysicalAddress.State %>
                    <%= PhysicalAddress.PostCode %>
                </div>
                <div>
                    <%= PhysicalAddress.Country %>
                </div>
            </div>

            <% if (ViewUri !== "") { %>
                <a href="<%= ViewUri %>" class="arlo-view-all-venue-information">View all venue information</a>
            <% } %>

            <div class="arlo-venue-content">
                <%= AllFacilityInfo %>
            </div>
        </div>

        <div class="arlo-map-container">
            <%= createMap({ zoom: 16, type:'dynamic'}) %>
        </div>

    </script>

<!-- Dependencies -->

<script src="//code.jquery.com/jquery-1.12.4.min.js" integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=" crossorigin="anonymous"></script>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" charset="utf-8"></script>
<script type="text/javascript" src="//packages.arlocdn.net/jscontrols/1.0/resources/resizesensor.js" charset="utf-8"></script>
<script type="text/javascript" src="//packages.arlocdn.net/jscontrols/1.0/resources/elementqueries.js" charset="utf-8"></script>
<script type="text/javascript" src="//connect.arlocdn.net/jscontrols/1.0/init.js" charset="utf-8" defer="defer"></script>
<script src="//maps.googleapis.com/maps/api/js?key=AIzaSyAQecSspMnsipB9oV0N4WKbqFNy5zhlNwg"></script>

            
          
!
            
              html {
  box-sizing: border-box;
}

*,
*::after,
*::before {
  box-sizing: inherit;
}


body {
  margin: 0;
}

.arlo {
  font-size: 16px;
  font-family: "Source Sans Pro", Arial, Tahoma, sans-serif;
}

.arlo .arlo-loading-overlay {
  position: fixed;
  z-index: 999;
  height: 2em;
  width: 2em;
  overflow: show;
  margin: auto;
  bottom: 50%;
  top: 50%;
  left: 50%;
  right: 50%;
  /*
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    */
  /* Transparent Overlay */
  /* :not(:required) hides these rules from IE9 and below */
}

.arlo .arlo-loading-overlay:before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.3);
}

.arlo .arlo-loading-overlay:not(:required) {
  /* hide "loading..." text */
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

.arlo .arlo-loading-overlay:not(:required):after {
  content: '';
  display: block;
  font-size: 10px;
  width: 1em;
  height: 1em;
  margin-top: -0.5em;
  -webkit-animation: spinner 1500ms infinite linear;
  animation: spinner 1500ms infinite linear;
  border-radius: 0.5em;
  box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) -1.5em 0 0 0, rgba(0, 0, 0, 0.75) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
}

@-webkit-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.arlo html {
  font-family: sans-serif;
  /* 1 */
  -ms-text-size-adjust: 100%;
  /* 2 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

.arlo body {
  margin: 0;
}

.arlo article,
.arlo aside,
.arlo details,
.arlo figcaption,
.arlo figure,
.arlo footer,
.arlo header,
.arlo main,
.arlo menu,
.arlo nav,
.arlo section,
.arlo summary {
  display: block;
}

.arlo audio,
.arlo canvas,
.arlo progress,
.arlo video {
  display: inline-block;
}

.arlo audio:not([controls]) {
  display: none;
  height: 0;
}

.arlo progress {
  vertical-align: baseline;
}

.arlo template,
.arlo [hidden] {
  display: none;
}

.arlo a {
  background-color: transparent;
  /* 1 */
  -webkit-text-decoration-skip: objects;
  /* 2 */
}

.arlo a:active,
.arlo a:hover {
  outline-width: 0;
}

.arlo abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;
  /* 2 */
}

.arlo b,
.arlo strong {
  font-weight: inherit;
}

.arlo b,
.arlo strong {
  font-weight: bolder;
}

.arlo code,
.arlo kbd,
.arlo samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

.arlo dfn {
  font-style: italic;
}

.arlo h1 {
  font-size: 2em;
  /* Set 1 unit of vertical rhythm on the top and bottom margins. */
  margin: 0.75em 0;
}

.arlo mark {
  background-color: #ff0;
  color: #000;
}

.arlo small {
  font-size: 80%;
}

.arlo sub,
.arlo sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

.arlo sub {
  bottom: -0.25em;
}

.arlo sup {
  top: -0.5em;
}

.arlo img {
  border-style: none;
}

.arlo svg:not(:root) {
  overflow: hidden;
}

.arlo figure {
  margin: 1.5em 40px;
}

.arlo hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}

.arlo pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

.arlo button,
.arlo input,
.arlo optgroup,
.arlo select,
.arlo textarea {
  font: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
}

.arlo button {
  overflow: visible;
}

.arlo button,
.arlo select {
  /* 1 */
  text-transform: none;
}

.arlo button,
.arlo html [type="button"],
.arlo [type="reset"],
.arlo [type="submit"] {
  -webkit-appearance: button;
  /* 2 */
}

.arlo button,
.arlo [type="button"],
.arlo [type="reset"],
.arlo [type="submit"] {
  /**
     * Remove the inner border and padding in Firefox.
     */
  /**
     * Restore the focus styles unset by the previous rule.
     */
}

.arlo button::-moz-focus-inner,
.arlo [type="button"]::-moz-focus-inner,
.arlo [type="reset"]::-moz-focus-inner,
.arlo [type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

.arlo button:-moz-focusring,
.arlo [type="button"]:-moz-focusring,
.arlo [type="reset"]:-moz-focusring,
.arlo [type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

.arlo input {
  overflow: visible;
}

.arlo [type="checkbox"],
.arlo [type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

.arlo [type="number"]::-webkit-inner-spin-button,
.arlo [type="number"]::-webkit-outer-spin-button {
  height: auto;
}

.arlo [type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
  /**
     * Remove the inner padding and cancel buttons in Chrome and Safari on OS X.
     */
}

.arlo [type="search"]::-webkit-search-cancel-button,
.arlo [type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

.arlo::-webkit-input-placeholder {
  color: inherit;
  opacity: 0.54;
}

.arlo::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

.arlo fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

.arlo legend {
  box-sizing: border-box;
  /* 1 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  white-space: normal;
  /* 1 */
  color: inherit;
  /* 2 */
  padding: 0;
  /* 3 */
}

.arlo optgroup {
  font-weight: bold;
}

.arlo textarea {
  overflow: auto;
}

.arlo .arlo-bg-color-primary {
  background-color: #1DC6BC;
}

.arlo .arlo-bg-color-secondary {
  background-color: #ED017B;
}

.arlo .arlo-bg-color-filters {
  background-color: #F1F7FB;
}

.arlo .arlo-bg-color-highlight {
  background-color: #FFFDF7;
}

.arlo .arlo-bg-color-normal {
  background-color: #fcfcfc;
}

.arlo .arlo-bg-color-darker {
  background-color: #f7f7f7;
}

.arlo .arlo-bg-color-darkest {
  background-color: #f2f2f2;
}

.arlo .arlo-text-color-primary {
  color: #1DC6BC;
}

.arlo .arlo-text-color-secondary {
  color: #ED017B;
}

.arlo .arlo-text-color-contrast {
  color: #FFFFFF;
}

.arlo .arlo-text-color-lightest {
  color: #999999;
}

.arlo .arlo-text-color-light {
  color: gray;
}

.arlo .arlo-text-color-normal {
  color: #333333;
}

.arlo .arlo-text-color-dark {
  color: #262626;
}

.arlo .arlo-text-color-link {
  color: #ED017B;
}

.arlo .arlo-font-primary {
  font-family: "Source Sans Pro", Arial, Tahoma, sans-serif;
}

.arlo .arlo-font-secondary {
  font-family: "Source Sans Pro", Arial, Tahoma, sans-serif;
}

.arlo .arlo-font-special {
  font-family: "Source Sans Pro", Arial, Tahoma, sans-serif;
}

.arlo .arlo-font-size-larger {
  font-size: 110%;
}

.arlo .arlo-clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}

.arlo * html .arlo-clearfix {
  zoom: 1;
}

.arlo * {
  box-sizing: border-box;
}

.arlo *:first-child + html .arlo-clearfix {
  zoom: 1;
}

.arlo a {
  color: #ED017B;
  text-decoration: none;
  font-weight: normal;
}

.arlo a:hover {
  color: #ED017B;
}

.arlo ul.arlo-venue-listitems,
.arlo ul.arlo-facilityinfo-info-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.arlo ul.arlo-venue-listitems > li,
.arlo ul.arlo-facilityinfo-info-list > li {
  margin: 0;
  padding: 0;
}

.arlo ul.arlo-venue-listitems > li {
  margin-bottom: 60px;
}

.arlo li.arlo-venue-listitem {
  padding: 5px 0;
  font-size: 14px;
}

.arlo li.arlo-venue-listitem h1 {
  font-size: 3em;
  margin-bottom: .4em;
}

.arlo li.arlo-venue-listitem h1 a {
  color: #333;
}

.arlo li.arlo-venue-listitem h1 a:hover {
  text-decoration: none;
  color: #ED017B;
}

.arlo .arlo-facilityinfo-field,
.arlo .arlo-venue-content,
.arlo a.arlo-view-all-venue-information {
  margin-bottom: 22px;
}

.arlo a.arlo-view-all-venue-information {
  display: block;
  font-size: 17px;
}

.arlo .arlo-facilityinfo-field ul li {
    list-style: disc;
}

.arlo .arlo-facilityinfo-field-title {
  font-size: 25px;
  margin-bottom: 5px;
}
.arlo .arlo-show-more {
    text-align: center;
    width: 150px;
    margin: 0 auto;
    cursor: pointer;
    font-size: 15px;
    padding: 12px 30px;
    border-radius: 30px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.03);
    background-image: url(http://theme1.demo.arlo.co/wp-content/themes/betheme/images/box_shadow_button.png);
    background-repeat: repeat-x;
    color: white;
    font-style: normal;
}

.arlo .arlo-show-more:hover {
    opacity: .7;
}

.arlo .arlo-show-more {
    text-align: center;
    width: 150px;
    margin: 0 auto;
    cursor: pointer;
    font-size: 15px;
    padding: 12px 30px;
    border-radius: 30px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.03);
    background-image: url(http://theme1.demo.arlo.co/wp-content/themes/betheme/images/box_shadow_button.png);
    background-repeat: repeat-x;
    color: white;
    font-style: normal;
}

.arlo .arlo-show-more:hover {
    opacity: .7;
}



body {
    overflow-y: scroll;
}

.arlo {
    max-width: 1300px;
    margin: 50px auto;
}

.arlo>*:first-child:not(.arlo-header) {
    padding-top: 30px;
}

.arlo .arlo-page-header,
.arlo .arlo-full-width {
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
}

.arlo .arlo-page-title-inner {
    max-width: 1300px;
    margin: 0 auto;
}

.arlo iframe {
    border: none;
    overflow: hidden;
}

iframe.widget {
    width: 100%;
}
            
          
!
            
                  document.addEventListener("arlojscontrolsloaded", function() {
      var platformID = "websitetestdata.arlo.co"; // Change platformID to point at your own account

      var venueList = {
        moduleType: "Venues",
        targetElement: "#venue",
        template: "#venue-template",
        customUrls: {
          venue: "http://theme1.demo.arlo.co/venue/",
        },
        includeLoadMoreButton: true,
        loadMoreButtonText: "Show More",
        //maxCount: 6,
        callbacks: {
          // Sort the data alphabetically
          onBeforeRender: function(eventTemplateData) {
            function sortByName(a, b) {
              var aName = a.attributes.Name.toLowerCase();
              var bName = b.attributes.Name.toLowerCase();
              return ((aName < bName) ? -1 : ((aName > bName) ? 1 : 0));
            }
            eventTemplateData.sort(sortByName);
          }
        }
      };

      var app = new window.ArloWebControls();

      app.start({
        "platformID": platformID,
        "googleMapsAPIKey": "AIzaSyAQecSspMnsipB9oV0N4WKbqFNy5zhlNwg",
        "showDevErrors": false,
        "modules": [venueList]
      });
    });
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console