PageSourceSearch

https://bravicea-calarasi.md/wp-content/themes/braviceacalarasi/js/_kara.js?ver=2.0

js bravicea-calarasi.md collected 2026-10-03 02:52:46 UTC 2,580 bytes, 86 lines download raw bytes

1jQuery(document).ready(function ($) {
2  /*-----------------------------------------------------------------------------------*/
3  /* OWL Carousel
4/*-----------------------------------------------------------------------------------*/
5
6  $("#kara_slider").owlCarousel({
7    nav: true,
8    dots: false,
9    slideSpeed: 300,
10    paginationSpeed: 400,
11    loop: true,
12    items: 1,
13    autoplay: true,
14    autoplayTimeout: 5000,
15    autoplayHoverPause: true,
16    animateIn: "animate__slideInUp",
17    animateOut: "animate__slideOutDown",
18    navText: [
19      "<i class='fas fa-chevron-left'></i>",
20      "<i class='fas fa-chevron-right'></i>",
21    ],
22  });
23
24  /*-----------------------------------------------------------------------------------*/
25  /* sub menu class add
26/*-----------------------------------------------------------------------------------*/
27
28  $("#menu-header-menu li").each(function () {
29    const thisP = $(this);
30    const dropdown = thisP.find("ul.dropdown-menu");
31    if (dropdown.length > 0) {
32      thisP.addClass("dropdown");
33    }
34  });
35
36  /*-----------------------------------------------------------------------------------*/
37  /* NAVBAR hover
38/*-----------------------------------------------------------------------------------*/
39
40  const $dropdown = $(".dropdown");
41  const $dropdownToggle = $(".dropdown-toggle");
42  const $dropdownMenu = $(".dropdown-menu");
43  const showClass = "show";
44
45  $(window).on("load resize", function () {
46    // if (this.matchMedia("(min-width: 768px)").matches) {
47      $dropdown.hover(
48        function () {
49          const $this = $(this);
50          $this.addClass(showClass);
51          $this.find($dropdownToggle).attr("aria-expanded", "true");
52          $this.find($dropdownMenu).addClass(showClass);
53        },
54        function () {
55          const $this = $(this);
56          $this.removeClass(showClass);
57          $this.find($dropdownToggle).attr("aria-expanded", "false");
58          $this.find($dropdownMenu).removeClass(showClass);
59        }
60      );
61    // } else {
62    //   $dropdown.off("mouseenter mouseleave");
63    // }
64  });
65
66/*-----------------------------------------------------------------------------------*/
67/* Go to top
68/*-----------------------------------------------------------------------------------*/
69
70var btn = $("#button-kara-top");
71
72$(window).scroll(function () {
73  if ($(window).scrollTop() > 300) {
74    btn.addClass("show");
75  } else {
76    btn.removeClass("show");
77  }
78});
79
80btn.on("click", function (e) {
81  e.preventDefault();
82  $("html, body").animate({ scrollTop: 0 }, "300");
83});
84
85
86});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.