Documentation for the integration of the "CUBE Bikesizing" form
For the interaction of the modal box and the correct display of the iframe.
<script src="https://bikesizing.cube.eu/assets/js/bikesizing.js" async></script>
Javascript integration for opening the frame calculator as a modal box.
data-cube-sizing
required (Reference for JS)data-cube-sizing-product
required (CUBE productid)data-cube-sizing-title
optional (Producttitle)data-cube-sizing-language
optional (Formularlanguage "de|en|es|it|fr|pl" - if empty the browserlanguage is used)data-cube-sizing-color
optional (Themecolor) Example: "#a2c617", "red", "blue"
<button
data-cube-sizing
data-cube-sizing-product="417200"
data-cube-sizing-title="CUBE Hyde Race iridium´n´black"
data-cube-sizing-language="en"
data-cube-sizing-color="#a2c617"
>Calculate frame size
</button>
<iframe src="https://bikesizing.cube.eu/iframe/{Article number}/{Producttitle}/?language={Language}&color={Themecolor}" data-cube-sizing-iframe allowfullscreen frameborder="0"></iframe>
<iframe src="https://bikesizing.cube.eu/iframe/417200/CUBE Hyde Race iridium´n´black/?language=en&color=%23a2c617" data-cube-sizing-iframe allowfullscreen frameborder="0"></iframe>