bebnarigaeta.it
Open in
urlscan Pro
80.88.86.107
Public Scan
Submitted URL: http://bebnarigaeta.it/js/custom.js
Effective URL: https://bebnarigaeta.it/js/custom.js
Submission: On November 16 via api from US — Scanned from IT
Effective URL: https://bebnarigaeta.it/js/custom.js
Submission: On November 16 via api from US — Scanned from IT
Form analysis
0 forms found in the DOMText Content
function WpAssembly() { var text = ""; document.getElementById("text").value= text.concat(document.getElementById("1").value, document.getElementById("2").value, document.getElementById("3").value, document.getElementById("4").value, document.getElementById("5").value, document.getElementById("6").value, document.getElementById("7").value, document.getElementById("8").value, document.getElementById("9").value, document.getElementById("10").value, document.getElementById("11").value, document.getElementById("12").value, document.getElementById("13").value, document.getElementById("14").value, document.getElementById("15").value, document.getElementById("16").value, document.getElementById("17").value, document.getElementById("18").value, document.getElementById("19").value ); } //For Navigation Dropdown $(function(){ $("li").has(".sub-menu").hover( function(){ $(this).find(".sub-menu").slideDown(); }, function(){ $(this).find(".sub-menu").slideUp("fast"); } ); $(".sub-menu li").has(".sub-menu-2").hover( function(){ $(this).find(".sub-menu-2").slideDown(); }, function(){ $(this).find(".sub-menu-2").slideUp("fast"); } ); $(".sub-menu-2 li").has(".sub-menu-3").hover( function(){ $(this).find(".sub-menu-3").slideDown(); }, function(){ $(this).find(".sub-menu-3").slideUp("fast"); } ); }); //For Navigation Dropdown Responsive - Works on window resize $(window).resize(function(){ if($(window).width()<=750){ $("ul.sub-menu-3").removeClass('sub-menu-3').addClass("subMneu3"); $("ul.sub-menu-2").removeClass('sub-menu-2').addClass("subMneu2"); $("ul.sub-menu").removeClass('sub-menu').addClass("subMneu1"); } else{ $("ul.subMneu3").removeClass('subMneu3').addClass("sub-menu-3"); $("ul.subMneu2").removeClass('subMneu2').addClass("sub-menu-2"); $("ul.subMneu1").removeClass('subMneu1').addClass("sub-menu"); } }); //For Navigation Dropdown Responsive - Works on fix window $(function() { if($(window).width()<=750){ $("ul.sub-menu-3").removeClass('sub-menu-3').addClass("subMneu3"); $("ul.sub-menu-2").removeClass('sub-menu-2').addClass("subMneu2"); $("ul.sub-menu").removeClass('sub-menu').addClass("subMneu1"); } else { $("ul.subMneu3").removeClass('subMneu3').addClass("sub-menu-3"); $("ul.subMneu2").removeClass('subMneu2').addClass("sub-menu-2"); $("ul.subMneu1").removeClass('subMneu1').addClass("sub-menu"); } }); let modalId = $('#image-gallery'); $(document) .ready(function () { loadGallery(true, 'a.thumbnail'); //This function disables buttons when needed function disableButtons(counter_max, counter_current) { $('#show-previous-image, #show-next-image') .show(); if (counter_max === counter_current) { $('#show-next-image') .hide(); } else if (counter_current === 1) { $('#show-previous-image') .hide(); } } /** * * @param setIDs Sets IDs when DOM is loaded. If using a PHP counter, set to false. * @param setClickAttr Sets the attribute for the click handler. */ function loadGallery(setIDs, setClickAttr) { let current_image, selector, counter = 0; $('#show-next-image, #show-previous-image') .click(function () { if ($(this) .attr('id') === 'show-previous-image') { current_image--; } else { current_image++; } selector = $('[data-image-id="' + current_image + '"]'); updateGallery(selector); }); function updateGallery(selector) { let $sel = selector; current_image = $sel.data('image-id'); $('#image-gallery-title') .text($sel.data('title')); $('#image-gallery-image') .attr('src', $sel.data('image')); disableButtons(counter, $sel.data('image-id')); } if (setIDs == true) { $('[data-image-id]') .each(function () { counter++; $(this) .attr('data-image-id', counter); }); } $(setClickAttr) .on('click', function () { updateGallery($(this)); }); } }); // build key actions $(document) .keydown(function (e) { switch (e.which) { case 37: // left if ((modalId.data('bs.modal') || {})._isShown && $('#show-previous-image').is(":visible")) { $('#show-previous-image') .click(); } break; case 39: // right if ((modalId.data('bs.modal') || {})._isShown && $('#show-next-image').is(":visible")) { $('#show-next-image') .click(); } break; default: return; // exit this handler for other keys } e.preventDefault(); // prevent the default action (scroll / move caret) }); function scrividata(data) { //Super Script Powered By Luca Di Tucci Alias Swat var miadata = ""; miadata = data.slice (6) + data.slice (3,5) + data.slice (0,2); return miadata; } //--> function bookmarksite(title, url){ if (document.all) window.external.AddFavorite(url, title); else if (window.sidebar) window.sidebar.addPanel(title, url, "") } window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-128674468-1');