Learn how to embed your ChangeCrab changelog as a sidebar widget or full page on your website.
Embed your ChangeCrab changelog on your website as a sidebar widget or full page. Integrate your changelog seamlessly into your existing site.
ChangeCrab offers three embedding options:
The inline widget is a JavaScript-based embed that creates a dropdown changelog below any element on your page. It shows a notification bubble with the count of new changes, and when clicked, displays a dropdown changelog directly below the element. This is perfect for:
The inline widget uses JavaScript to add a notification bubble badge to elements you select. The bubble shows how many changes have been made since the user's last visit. When the element is clicked, a dropdown changelog appears directly below it, displaying your recent updates in a compact, accessible format.
<script>
changecrab_config = {
"projectid": "your-project-id",
"selector": ".changebubble",
"type": "full",
"emptycolor": "rgb(208 208 208)",
"activecolor": "rgb(232 23 71)",
"hostedUrl": "https://changecrab.com"
};
</script>
<script src="https://changecrab.com/embed/embed.js"></script>
<!-- Add the class to any element you want to show the bubble -->
<a href="#" class="changebubble">Changelog</a>
The inline widget has two display variants:
To use the inline dropdown variant, add data-crabtype="counter" to your element, or set "type": "counter" in the configuration:
<!-- Inline dropdown variant -->
<a href="#" class="changebubble" data-crabtype="counter">Changelog</a>
<!-- Or configure globally -->
<script>
changecrab_config = {
"projectid": "your-project-id",
"selector": ".changebubble",
"type": "counter", // Creates dropdown below element
"hostedUrl": "https://changecrab.com"
};
</script>
The inline dropdown variant creates a compact changelog panel (400px wide, 500px tall) that appears positioned below the clicked element, making it perfect for navigation menus and header links.
The sidebar widget is an iframe-based embed perfect for:
<iframe
src="https://yourname.changecrab.com/sidebar/{id}"
width="100%"
height="600"
frameborder="0"
></iframe>
Embed the complete changelog page using an iframe:
<iframe
src="https://yourname.changecrab.com/embedpage/{id}"
width="100%"
height="800"
frameborder="0"
></iframe>
Choose the embed type that best fits your needs:
Configure widget appearance:
Learn about widget styles.
Customize embedded changelogs: