contest Tag

22 Feb 2017 Letter to the Editor Contest

Check out some of the contest submissions here. East jQuery(document).ready(function($) { $('#arpa-prog-1-thermometer').thermometer({ width: 535, height: 250, pathToSVG: 'https://arpacanada.ca/wp-content/plugins/arpa-general/js/jquery.thermometer/svg/thermo-bottom.svg', outlineColour: '#4e8ea5', liquidColour: '#e6a64e', textColour: '#4e8ea5', valueTextColour: '#ffffff', maxValue: 50, topText: 50, unitsText: 'letters', bottomText: '', onLoad: function() { var setValueIfInView = function() { if ($('#arpa-prog-1-thermometer').offset().top > $(document).scrollTop() + $(window).innerHeight() - 100) { return false; } $(window).off('scroll', setValueIfInView); setTimeout(function() { $('#arpa-prog-1-thermometer').thermometer('setValue', 8); }, 500); return true; } if (!setValueIfInView()) { $(window).scroll(setValueIfInView); } } }); }); West jQuery(document).ready(function($) { $('#arpa-prog-2-thermometer').thermometer({ width: 535, height: 250, pathToSVG: 'https://arpacanada.ca/wp-content/plugins/arpa-general/js/jquery.thermometer/svg/thermo-bottom.svg', outlineColour: '#4e8ea5', liquidColour: '#e6a64e', textColour: '#4e8ea5', valueTextColour: '#ffffff', maxValue: 50, topText: 50, unitsText: 'letters', bottomText: '', onLoad: function() { var setValueIfInView = function() { if ($('#arpa-prog-2-thermometer').offset().top > $(document).scrollTop() + $(window).innerHeight() - 100) { return false; } $(window).off('scroll', setValueIfInView); setTimeout(function() { $('#arpa-prog-2-thermometer').thermometer('setValue', 38); }, 500); return true; } if (!setValueIfInView()) { $(window).scroll(setValueIfInView); } } }); }); ...

Read More