Файловый менеджер - Редактировать - /home/clickysoft/public_html/somni.clickysoft.net/public/js/listing-detail.js
Назад
$(document).ready(function () { $('.share-cl-btn').on("click", function () { $(this).closest('.share-cl').collapse('hide') }); // if (window.innerWidth < 768) { // $("#datepicker").datepicker({ // numberOfMonths: 1, // showButtonPanel: true, // onClose: function (input) { // $("#backdrop").fadeOut(); // }, // onSelect: function (input) { // $("#backdrop").fadeOut(); // }, // beforeShow: function (input) { // $('.select-date').removeClass('ui-state-hover'); // setTimeout(function () { // var buttonPane = $(input) // .datepicker("widget") // .find(".ui-datepicker-buttonpane"); // buttonPane.find(".ui-datepicker-current").remove(); // buttonPane.find(".ui-datepicker-close").remove(); // var btn = $('<button type="button" class="cl-btn">Clear date</button>'); // btn.unbind("click").bind("click", function () { // $.datepicker._clearDate(input); // }); // btn.appendTo(buttonPane); // var btn2 = $('<button type="button" class="select-date">Select this date</button>'); // btn2.unbind("click").bind("click", function () { // var currentDate = new Date(); // $(input).datepicker("setDate", currentDate); // $(input).datepicker("hide"); // }); // btn2.appendTo(buttonPane); // var btn3 = $('<button type="button" class="cl-btn cl-btn2">Cancel</button>'); // btn3.unbind("click").bind("click", function () { // $(input).datepicker("hide"); // }); // btn3.appendTo(buttonPane); // }, 1); // }, // onChangeMonthYear: function (year, month, inst) { // setTimeout(function () { // var buttonPane = $(inst) // .datepicker("widget") // .find(".ui-datepicker-buttonpane"); // buttonPane.find(".ui-datepicker-current").remove(); // buttonPane.find(".ui-datepicker-close").remove(); // var btn = $('<button type="button" class="cl-btn">Clear date</button>'); // btn.unbind("click").bind("click", function () { // $.datepicker._clearDate(inst.input); // }); // btn.appendTo(buttonPane); // var btn2 = $('<button type="button" class="select-date">Select this date</button>'); // btn2.unbind("click").bind("click", function () { // var currentDate = new Date(); // $(inst.input).datepicker("setDate", currentDate); // $(inst.input).datepicker("hide"); // }); // btn2.appendTo(buttonPane); // var btn3 = $('<button type="button" class="cl-btn cl-btn2">Cancel</button>'); // btn3.unbind("click").bind("click", function () { // $(input).datepicker("hide"); // }); // btn3.appendTo(buttonPane); // }, 1); // } // }); // } else { // $("#datepicker").datepicker({ // numberOfMonths: 2, // showButtonPanel: true, // // yearRange: "2023:2024", // dateFormat: "dd-mm-yy", // closeOnEscape: false, // beforeShow: function (input) { // $('.select-date').removeClass('ui-state-hover'); // setTimeout(function () { // var buttonPane = $(input) // .datepicker("widget") // .find(".ui-datepicker-buttonpane"); // buttonPane.find(".ui-datepicker-current").remove(); // buttonPane.find(".ui-datepicker-close").remove(); // var btn = $('<button type="button" class="cl-btn">Clear date</button>'); // btn.unbind("click").bind("click", function () { // $.datepicker._clearDate(input); // }); // btn.appendTo(buttonPane); // var btn2 = $('<button type="button" class="select-date">Select this date</button>'); // btn2.unbind("click").bind("click", function () { // var currentDate = new Date(); // $(input).datepicker("setDate", currentDate); // $(input).datepicker("hide"); // }); // btn2.appendTo(buttonPane); // }, 1); // }, // onChangeMonthYear: function (year, month, inst) { // setTimeout(function () { // var buttonPane = $(inst) // .datepicker("widget") // .find(".ui-datepicker-buttonpane"); // buttonPane.find(".ui-datepicker-current").remove(); // buttonPane.find(".ui-datepicker-close").remove(); // var btn = $('<button type="button" class="cl-btn">Clear date</button>'); // btn.unbind("click").bind("click", function () { // $.datepicker._clearDate(inst.input); // }); // btn.appendTo(buttonPane); // var btn2 = $('<button type="button" class="select-date">Select this date</button>'); // btn2.unbind("click").bind("click", function () { // var currentDate = new Date(); // $(inst.input).datepicker("setDate", currentDate); // $(inst.input).datepicker("hide"); // }); // btn2.appendTo(buttonPane); // }, 1); // } // }); // } $("#datepicker").focus(function () { $("#backdrop, .datepicker-container").fadeIn(); }); $("#backdrop").click(function () { $("#backdrop, .datepicker-container").fadeOut(); }); $(".amenity_all").on('click',function(e){ $(e.target).remove(); $('li.amenities').removeClass('dp_none'); }); function isElementVisible(element) { var rect = element.getBoundingClientRect(); return ( rect.top >= 0 && rect.top <= (window.innerHeight || document.documentElement.clientHeight) ); } function showAlertWhenContactVisible() { var contactSection = document.getElementById("scrollAble"); window.addEventListener("scroll", function () { if (isElementVisible(contactSection)) { $(".contact-fix-bar").fadeOut(); } else { $(".contact-fix-bar").fadeIn(); } }); } showAlertWhenContactVisible(); }); function copyToClipboard(elementId) { // Create a "hidden" input var aux = document.createElement("input"); var value_to_copy = $('#copy_link').attr('data-link'); // Assign it the value of the specified element aux.setAttribute("value", value_to_copy); // Append it to the body document.body.appendChild(aux); // Highlight its content aux.select(); // Copy the highlighted text document.execCommand("copy"); // Remove it from the body document.body.removeChild(aux); TopEndPopUp('success', 'Link Copied'); } // const TopEndPopUp = function(sign,message){ // const Toast = Swal.mixin({ // toast: true, // position: 'top-end', // showConfirmButton: false, // timer: 2000, // timerProgressBar: true, // didOpen: (toast) => { // toast.addEventListener('mouseenter', Swal.stopTimer) // toast.addEventListener('mouseleave', Swal.resumeTimer) // } // }) // Toast.fire({ // icon: sign, // title: message // }) // }; // const showLoading = function() { // Swal.fire({ // title: 'Processing!', // html: 'Please wait', // didOpen: () => { // Swal.showLoading() // } // }) // };
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка