-
Notifications
You must be signed in to change notification settings - Fork 32
Widgets
Damian Krzeminski edited this page Jan 7, 2022
·
7 revisions
You can easily embed liftie widget on your page.
All you need is resort ID. The easiest way to get it is to find your resort on liftie and click on its name, which should take you to the details page.
The URL in the window should look like this: https://liftie.info/resort/{resort-id}
- the last part of the path is what you need.
In HTML add this:
<!-- in the place where you want your widget rendered -->
<div class="liftie-widget" data-resort="sugarloaf"></div>
<!-- at the bottom of page body -->
<script src="https://static.liftie.info/scripts/liftie-embed.min.js" defer />
You probably need some basic styling:
.liftie-widget iframe {
width: 250px;
margin: 0 auto;
border: 0;
overflow: none;
}
You can check how it works on codepen