FitChef Widgets

JavaScript to render FitChef widgets used for mobile.

Usage

To use the widget:

  1. Add the div element where the widget should show:
    <div class="fc-widget2208" data-fc-widget="CLIENT_NAME"></div>
  2. Set the correct CLIENT_NAME as received from FitChef.
    Note: invalid client names don't render a widget!

  3. Add the script tag to the <head> of your website:
    <!-- Start FitChef widget -->
    <script type="text/javascript">
    (function(d,s){var e=d.createElement(s);e.type='text/javascript';e.async=true;e.src='https://widget.fitchef.com/scripts/widget.js';e.className='fc-widget2208-script';var f=d.getElementsByTagName(s)[0];f.parentNode.insertBefore(e,f)})(document,'script');
    </script>
    <!-- End FitChef widget -->

Support

If you need support with the implementation please contact us via support@fitchef.nl.


All rights reserved FitChef B.V.