Find out about some of the food and drink produced here in the UK
Having trouble reading this email? Click here to view it in your browser.
|
|
|
The NFU is the data controller, your personal data will be processed in line with our privacy policy.
If you wish to unsubscribe from this mailing please click here.
© Copyright 2020 NFU. All rights reserved.
|
|
|
|
|
function moveStylingInline(target, bg, text, btnBg, btnText) { $(target).css('background-color', bg).css('color', text); $(target + ' *').css('color', text); $(target + ' .btn-table').css('background-color', btnBg); $(target + ' .btn-table *').css('color', btnText).css('text-transform', 'uppercase').css('font-weight', 'bold'); } function updateImages(dir) { var path = "https://web.nfuonline.com/images/bbfn/" + dir + "/div_"; $('#header').attr('src', path + "Header.png"); $('#div_gate').attr('src', path + "gate.png"); $('#div_sheep').attr('src', path + "sheep.png"); $('#div_sheep-christmas').attr('src', path + "sheep-christmas.png"); $('#div_cows').attr('src', path + "cows.png"); $('#div_energy').attr('src', path + "energy.png"); $('#div_grass_03').attr('src', path + "grass-03.png"); $('#div_grass_05').attr('src', path + "grass-05.png"); $('#div_footer').attr('src', path + "Footer.png"); //adjustHeaderHeight(); } //function adjustHeaderHeight() { // var headerHeight = $('#header')[0].naturalHeight; // $('#header').css('height', headerHeight + "px!important"); //} $('html').keydown(function (event) { if (event.which == 27) { $('main').hide(); } }); $('html').keyup(function (event) { if (event.which == 27) { $('main').show(); } });