addClass('hidden'); $('#sm-switch').css('height', '140px'); } }); $(document).ready(function () { if ($('nav').css('height') === '80px') { $('navbar-brand').css('height', '80px'); $('.nav-img').css('height', '75px'); $('.navbar-header').css('height', '80px'); } else { $('navbar-brand').css('height', '51px'); $('.nav-img').css('height', '48px'); $('.navbar-header').css('height', '50px'); } $("#shop-login").on("click", function () { ga('send', { hitType: 'event', eventCategory: 'Shop', eventAction: 'klick', eventLabel: 'Online-Shop Login' }); $.ajax({ url: "https://shop.elektro-braun.de:4443/ebraun/shop6.jsp", dataType: "html", contentType: "application/x-www-form-urlencoded; charset=ISO-8859-1", processData: false, success: function () { ga('send', { hitType: 'event', eventCategory: 'Shop', eventAction: 'login', eventLabel: 'HTTPS Shop' }); var loginbox = '