').focus(); $("#where_field input[type='text']").addClass('msg-error'); return false; } }); $('.trigger-biz-js').on('click', function(){ $('.trigger-biz-element').toggleClass('off on'); $('.hero-where-field').toggleClass('single-input'); $('#search_city').toggleClass('border-left'); }) $(".switch-search").switchSearch(); $("[data-action='setSubCategoryId']").subcategoryChooser(); $(document).ready(function(){ $("#search_city").keypress(function(){ $(".unmappable-container").animate({ opacity: 0 }, 800, function() { return $(this).remove(); }); }); // Prevents highlighted field from disappearing $("#search_city").mouseup(function(e) {return false; }); hideMagic = function(){ setTimeout(function(){ $('#magic').remove(); },'300'); } toggleSubCats = function() { var theWidth = $('.hero-input-container').width(); var scPos = $('#ChooseSubCategorySelect').position(); var theDiff = Math.round((scPos.left)) + (theWidth/2); var catChooserWidth= Math.round(($('#category_chooser').width())/2); var centerThis = (theDiff - catChooserWidth); var winWidth = $(window).width(); if (825 > winWidth) { $('#category_chooser').css('width', '100%'); } else { $('#category_chooser').css('width', '825px'); } $('#category_chooser').css('left', centerThis); if ($('#category_chooser').is(':visible')){ $('#category_chooser').slideUp({ duration: '500', easing: 'easeInBack' }); } else if ($('#category_chooser').is(':hidden')) { $('#category_chooser').slideDown({ duration: '1000', easing: 'easeOutBack' }); } $('#magic').click(function(){ $('#category_chooser').slideUp({ duration: '500', easing: 'easeInBack' }); hideMagic(); }); } $('#ChooseSubCategoryText').click(function(){ $('body').append(''); toggleSubCats(); }); $('.subcat-selector').click(function(){ toggleSubCats(); hideMagic(); }); });

We know you're busy, so call our toll-free number and get connected to local plumbers right now. It's fast, free, and saves you time so you can solve your plumbing issues as soon as possible!

Read more from the original source:
Find Local Plumbers | #1 Plumber Directory | Get Plumbing ...

Related Posts
September 19, 2018 at 10:42 am by Mr HomeBuilder
Category: Plumber