JavaScript Map

A map of the page specific JS inclusions

All pages on the Otis.com website require the following css to be included:

  • all.js
  • mtiFontTrackingCode.js
  • https://fast.fonts.net/jsapi/48855dc6-15b0-4ced-856e-74abf2877435.js

Certain pages on the Otis.com website require specific javascript files to be included - below is a map that you can use to cross reference the page with the required javascript file(s).

Page Required JS Files (in the js folder)
Homepage homepage.js
home-tiles.js
locations-carousel.js
covervid.min.js

Homepage also requires this before the closing body tag.

<script>
    $('.hero-video').coverVid(1920, 1080);
    $('.tile-video').coverVid(1920, 1080);
</script>
Page Required JS Files
History of Otis about/aos.js
about/history.js
News & Media news-media/news-media.js
Photo Gallery news-media/news-media.js
carousel-tab.js
grid-tiles.js
Resource Library carousel-tab.js
grid-tiles.js
Showcase Landing Page showcase/landing.js
showcase/covervid.min.js
Showcase Buildings showcase/[building-name]/building.js
showcase.js
GMP Team/Meet The Team grid-tiles.js
Contact contact.js