Last active
May 18, 2017 21:06
-
-
Save azcoov/8156478 to your computer and use it in GitHub Desktop.
Simple HTML examples of embedding the Nearby Now Javascript Widget
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Add this script on the page that you want to embed the reviews widget --> | |
<script | |
src="https://s3.amazonaws.com/reviewcloud/widget/v2/reviews.min.js" | |
data-key="your_api_token"> | |
</script> | |
<!-- Add this div where you'd like the widget to display on your page --> | |
<div id="nn-reviews"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Add this script on the page that you want to embed the reviews widget --> | |
<script | |
src="https://s3.amazonaws.com/reviewcloud/widget/v2/reviews.min.js" | |
data-key="your_api_token" | |
data-type="full"> | |
</script> | |
<!-- Add this div where you'd like the widget to display on your page --> | |
<div id="nn-reviews"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Let's say you already have a sidebar with a container you wan to put reviews in --> | |
<div id="my-sidebar-container"></div> | |
<!-- Add this script on the page that you want to embed the reviews widget --> | |
<!-- Notice the two options we've added. data-container and data-count --> | |
<script | |
src="https://s3.amazonaws.com/reviewcloud/widget/v2/reviews.min.js" | |
data-key="your_api_token" | |
data-type="full" | |
data-container="my-sidebar-container" | |
data-count="5"> | |
</script> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment