//var iScrollPos = 500; jQuery(window).load(function() { //var hscreen = jQuery(window).height(), //hfoot = jQuery("#footer").outerHeight(); //tot = hfoot + 15; //jQuery("body").css({paddingBottom:tot}); }); jQuery(window).resize(function() { //var hscreen = jQuery(window).height(), //hfoot = jQuery("#footer").outerHeight(); //tot = hfoot + 15; //jQuery("body").css({paddingBottom:tot}); }); jQuery(document).ready(function(){ jQuery(".mobile-icon a").click(function(){ jQuery("#header-outer header#top nav").slideToggle(); }); }); //adding break for blog titles (function( $ ) { $( document ).ready(function() { $(".post-title h1").each(function() { var wordArray = $(this).text().split(" "); if (wordArray.length > 1) { wordArray[wordArray.length-2] += " " + wordArray[wordArray.length-1]; wordArray.pop(); $(this).html(wordArray.join(" ")); } }); }); })(jQuery);
Our blog offers a unique perspective on food industry news and views written by our experts in the field. Best of all it’s delivered right to your inbox.
Sign up now to for EHY Insights.