Gezondeten.nl: FitChef Widgets

JavaScript to render FitChef widgets.

Usage

To use the widget:

  1. Add the div element where the widget should show:
    <div class="fc-widget2304" style="min-height: 130px;" data-fc-widget="banner"></div>
    <div class="fc-widget2304" style="min-height: 560px;" data-fc-widget="sidebar"></div>
    <div class="fc-widget2304" style="min-height: 360px;" data-fc-widget="mealplan"></div>
  2. The widget code needs to be placed before:

    <!-- HERE -->
    <div id="page">...</div>
  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-widget2304-script';var f=d.getElementsByTagName(s)[0];f.parentNode.insertBefore(e,f)})(document,'script');
    </script>
    <!-- End FitChef widget -->

Examples

Widget: Banner-full


Widget 'sidebar'


Widget 'mealplan'


🔎 Integration test

Support

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


All rights reserved FitChef B.V.