Small Business Insurance, Home, Auto & More


InsuranceHub | Small Business Insurance, Home, Auto & More Questions? We’re here to help! * – 1280 ) { $expanded = ($(‘body’).outerWidth() – 1280) / 2; } $(this).css({ ‘margin-left’ : -$expanded + ‘px’, ‘margin-right’ : -$expanded + ‘px’, ‘padding-left’ : $expanded + ‘px’, ‘padding-right’ : $expanded + ‘px’ }); }); $(‘.page-full .panel-full’).each(function() { var $expanded = 0; if ($(‘body’).outerWidth() > 1280 ) { $expanded = ($(‘body’).outerWidth() – 1280) / 2; } $(this).parent(‘.panel-grid’).css({ ‘width’ : $(‘body’).outerWidth() + ‘px’, ‘margin-left’ : -$expanded + ‘px’, ‘margin-right’ : -$expanded + ‘px’, }); }); } soPanelInit(); $(‘html’).niceScroll({ scrollspeed: 60, mousescrollstep: 40, cursorwidth: 15, cursorborder: 0, cursorcolor: ‘#363d41’, cursorborderradius: 6, autohidemode: false, background: ‘rgba(113, 112, 117, 0.8)’, horizrailenabled: false }); // Mega Menu Generated function megaMenu(menuItem) { $(‘#site-navigation .menu-item a’).each(function() { if ($(this).text() == menuItem) { var menuInsert = $(this).parent().find(‘.sub-menu’); var menuAppend = $(this).parent(); var menuTrim = menuItem.replace(/s/g, ”); $(‘#mega-menu .mega-menu-item-‘ + menuTrim + ‘ .mega-menu-insert’).append(menuInsert.clone()); menuAppend.append($( ‘#mega-menu .mega-menu-item-‘ + menuTrim)); $(this).parent().hover( function () { if ( $(window).width() > 979 ) { $(this).find(‘.sub-menu’ ).css( {display:’none’}); $(this).find(‘.mega-menu-item’).css({top:’auto’}); $(this).find(‘.mega-menu-item’).css({width:$(window).width()}); $(this).find(‘.mega-menu-item .sub-menu’ ).css({display:’block’}); $(this).find(‘.mega-menu-item’).show(); } }, function () { if ( $(window).width() > 979) { $(this).find(‘.mega-menu-item’).hide(); } } ); } }); } $(‘#logo-center .mega-menu-item .sub-menu’).css(‘display’, ‘block !important’); $(‘#footer-widget aside’).addClass(‘col-md-3’); }); }); //]]>

Source

0 Replies to “Small Business Insurance, Home, Auto & More”