Basket

Your basket is currently empty.

K&Co becomes Littlewoods

var htmlTag = document.getElementsByTagName('html')[0], oldIE = htmlTag.className.indexOf('oldie') !== -1, safari5 = !!navigator.userAgent.match(' Safari/') && !navigator.userAgent.match(' Chrom') && !!navigator.userAgent.match(' Version/5.'); if ( !oldIE && !safari5 ) { var sdg = window.sdg || {}; (function ($) { sdg.stackedRegPage = function() { var that = this; this.initialHtml = function() { $('body').addClass('f2221'); $('a[name="resolveAddress"]').remove(); $('#lastName').addClass('lastInSection short'); $('#confirmEmail, #confirmPassword, #secConfNewPassword').addClass('lastInSection long'); $('#dob, #passwordSection, #address').addClass('hidden'); //Chrome autofill fix setTimeout(function () { if ($('#email').val().length > 5) { $('.formSection, #pageContainer .hidden, .formFooter').show(); } }, 2000); setTimeout(function () { if ($('#email').val().length > 5) { $('.formSection, #pageContainer .hidden, .formFooter').show(); } }, 5000); }; this.nextSectionCheck = function (elem, numKeys) { var keysLength = elem.attr('value').length, nextFormSection = elem.parents($('.formSection')).next('.formSection'); if (keysLength > numKeys) { clearInterval(that.interval); if ($('#dob:hidden').length > 0) { $('#dob, #accNum').fadeIn(500); } if (nextFormSection.hasClass('hidden') === true) { nextFormSection.removeClass('hidden').fadeIn(500); $('html, body').animate({ scrollTop: nextFormSection.offset().top - 80 }, 200); //If the next section is the address section and the find address button does not exist if (nextFormSection.attr('id') === 'address' && $('#findAddressButton').length === 0) { $('.formFooter').show(); //Show the form footer } } } }; this.registerEvents = function () { $('#main').on('keyup', '.lastInSection', function () { if ($(this).hasClass('short') === true) { that.nextSectionCheck($(this), 1); } else { that.nextSectionCheck($(this), 6); } }); $('#main').on('focus', '.lastInSection', function () { var $this = $(this); that.interval = setInterval(function () { if ($this.hasClass('short') === true) { that.nextSectionCheck($this, 1); } else { that.nextSectionCheck($this, 6); } }, 500); }); $('#main').on('click', '#dateOfBirthYear option', function () { $('#contact').show(); $('html, body').animate({ scrollTop: $('#contact').offset().top - 120 }, 200); }); $('#main').on('change', '#dateOfBirthYear', function () { $('#contact').show(); $('html, body').animate({ scrollTop: $('#contact').offset().top - 120 }, 200); }); $('#main').on('keypress', 'form :input', function (e) { return e.keyCode !== 13; }); }; this.init = function () { this.initialHtml(); this.registerEvents(); }; }; /*EXECUTE*/ var f2221Reg = new sdg.stackedRegPage(); f2221Reg.init(); }(jQuery)); }