$(document).ready(function(){ $('.price-list').on('click', '.open-section', function(){ var $this = $(this).parent(); $this.find('span.open-section').hide(); $this.find('span.close-section').show(); $this.find('h3.open-section, h4.open-section').removeClass('open-section').addClass('close-section'); $this.next().show(300); }); $('.price-list').on('click', '.close-section', function(){ var $this = $(this).parent(); $this.find('span.close-section').hide(); $this.find('span.open-section').show(); $this.find('h3.close-section, h4.close-section').removeClass('close-section').addClass('open-section'); $this.parent().find('ul').hide(300); $this.parent().find('span.open-section').show(); $this.parent().find('span.close-section').hide(); $this.parent().find('h3.close-section, h4.close-section').removeClass('close-section').addClass('open-section'); }); $('.price-list').on('click', '.close-all-section', function(){ $(this).parent().parent().parent().find('ul').hide(300); $(this).parent().parent().parent().find('span.open-section').show(); $(this).parent().parent().parent().find('span.close-section').hide(); $(this).parent().parent().parent().find('h3.close-section, h4.close-section').removeClass('close-section').addClass('open-section'); }); //$('.price-button').on('click', function(){ // $(this).parent().toggleClass('modal-show'); // if ($('.modal').hasClass('display-show')) { // $('.modal').hide().removeClass('display-show'); // } else { // $('.modal').show().addClass('display-show'); // } //}); //$('.close-modal-price').on('click', function(){ // $(this).parent().toggleClass('modal-show'); // if ($('.modal').hasClass('display-show')) { // $('.modal').hide().removeClass('display-show'); // } else { // $('.modal').show().addClass('display-show'); // } // $('.modal-item3.modal-form-right').show(); // $('body').css('overflow', 'visible'); //}); //$('.modal-bg').on('click', function(){ // if ($('.modal').hasClass('display-show')) { // $('.modal').hide().removeClass('display-show'); // } else { // $('.modal').show().addClass('display-show'); // } // $('.modal-item3.modal-form-right').removeClass('modal-show'); // $('.modal-item2.modal-form-right').removeClass('modal-show'); // $('.modal-item3.modal-form-right').show(); //}); //$('.modal-form-close').on('click', function(){ // $(this).parent().removeClass('modal-show').hide(); // $('.modal-item3.modal-form-right').show(); // if ($('.modal').hasClass('display-show')) { // $('.modal').hide().removeClass('display-show'); // } else { // $('.modal').show().addClass('display-show'); // } // $('body').css('overflow', 'visible'); //}); // //$('.modal-item3.modal-form-right form').submit(function(e) { // e.preventDefault(); // $(this).parent().removeClass('modal-show'); // $('.modal-item2.modal-form-right').addClass('modal-show'); //}); }); /* FILE ARCHIVED ON 08:23:00 Oct 20, 2017 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 23:38:28 Dec 22, 2019. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): PetaboxLoader3.datanode: 301.615 (4) esindex: 0.01 exclusion.robots.policy: 0.165 RedisCDXSource: 8.892 captures_list: 66.255 CDXLines.iter: 11.885 (3) load_resource: 913.015 PetaboxLoader3.resolve: 647.161 exclusion.robots: 0.191 LoadShardBlock: 42.748 (3) */