PluginProbe ʕ •ᴥ•ʔ
Spider Elements – Premium Elementor Widgets & Addons Library / 1.1.0
Spider Elements – Premium Elementor Widgets & Addons Library v1.1.0
trunk 1.0.0 1.1.0 1.5.0 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.7.0 1.8.0 1.9.0
spider-elements / assets / js / scripts.js
spider-elements / assets / js Last commit date
admin.js 2 years ago ajax-chimp.js 2 years ago elementor-widgets.js 2 years ago scripts.js 2 years ago
scripts.js
65 lines
1 (function ($) {
2 "use strict";
3
4 // $("document").ready(function () {
5 // // setInterval(function () {
6 // // var active = $(".hotspot_list li");
7 // // active.removeClass("active");
8 // // if (active.next("li").length == 0) {
9 // // active.parent(".hotspot_list").find("li").addClass("active");
10 // // } else {
11 // // active.next("li").addClass("active");
12 // // }
13 // // }, 3000);
14 // var pause = false;
15 // //save items that with number
16 // var item = $(".hotspot");
17 // //save blocks
18 // // var block= $('.bg-block');
19 // //variable for counter
20 // var k = 0;
21 // setInterval(function () {
22 // if (!pause) {
23 // var $this = item.eq(k);
24
25 // if (item.hasClass("active")) {
26 // item.removeClass("active");
27 // }
28 // // block.removeClass('active').eq(k).addClass('active');
29 // $this.addClass("active");
30 // //increase k every 1.5 sec
31 // k++;
32 // //if k more then number of blocks on page
33 // // if (k >= block.length ) {
34 // // //rewrite variable to start over
35 // // k = 0;
36 // // }
37 // }
38 // //every 1.5 sec
39 // console.log(hi);
40 // }, 3000);
41 // });
42
43 // function active_dropdown2() {
44 // $(".accordion_main_aria > .spe-accordion").on("click", function () {
45 // $(this).parent().find("> .collapse").first().slideToggle(300);
46 // $(this).parent().siblings().find("> .collapse").hide(300);
47 // return false;
48 // });
49 // }
50 // active_dropdown2();
51
52 // function active_dropdown2(maxId) {
53 // for (let v = 1; v <= maxId; v++) {
54 // $("#heading-" + v).on("click", function () {
55 // $(this).parent().find("> .collapse").first().slideToggle(300);
56 // $(this).parent().siblings().find("> .collapse").hide(300);
57 // console.log("hi");
58 // return false;
59 // });
60 // }
61 // }
62
63 // active_dropdown2(10);
64 })(jQuery);
65