PageSourceSearch

https://aadec.org/assets/front/js/script.js

js aadec.org collected 2026-10-02 12:45:19 UTC 9,590 bytes, 264 lines download raw bytes

1(function( $) {
2    "use strict";
3    $(document).ready(function() {
4      
5
6
7        /*========== Owl Carsusel Script ========== */
8        $("#homepage-slider1").owlCarousel( {
9            nav: true, // Show next and prev buttons
10            slideSpeed: 300, dots: false, paginationSpeed: 400, singleItem: true, navText: [ "<i class='fa fa-angle-left'></i>", "<i class='fa fa-angle-right'></i>"], items: 1 // itemsDesktop : false,
11            // itemsDesktopSmall : false,
12            // itemsTablet: false,
13            // itemsMobile : false
14        }
15        );
16        /*========== Owl Carsusel Script | About US page ========== */
17        $(".about-slider").owlCarousel( {
18            nav: false, // Show next and prev buttons
19            slideSpeed: 300, dots: false, paginationSpeed: 600, singleItem: true, navText: [ "<i class='fa fa-angle-left'></i>", "<i class='fa fa-angle-right'></i>"], items: 2 // itemsDesktop : false,
20            // itemsDesktopSmall : false,
21            // itemsTablet: false,
22            // itemsMobile : false
23        }
24        );
25        /*========== Owl Carsusel Script ========== */
26        $("#homepage-slider2").owlCarousel( {
27            nav: true, // Show next and prev buttons
28            slideSpeed: 300, autoplay: true,loop:true, dots: false, paginationSpeed: 600, singleItem: true, navText: [ "<i class='fa fa-angle-left'></i>", "<i class='fa fa-angle-right'></i>"], items: 1 // itemsDesktop : false,
29            // itemsDesktopSmall : false,
30            // itemsTablet: false,
31            // itemsMobile : false
32        }
33        );
34        /*========== Owl Carsusel Script ========== */
35        // Homepage Latest Course  slider
36        $("#hv2-course-list").owlCarousel( {
37            nav:true, // Show next and prev buttons
38            slideSpeed: 300, dots: false, paginationSpeed: 400, margin: 30, navText: [ "<i class='fa fa-angle-left'></i>", "<i class='fa fa-angle-right'></i>"], items: 4, responsive: {
39                0: {
40                    items: 1
41                }
42                , 480: {
43                    items: 2
44                }
45                , 768: {
46                    items: 3
47                }
48                , 980: {
49                    items: 3
50                }
51                , 1024: {
52                    items: 4
53                }
54                ,
55            }
56        }
57        );
58        /*========== Owl Carsusel Script ========== */
59        // Homepage Featured professor slider
60        $(".professors").owlCarousel( {
61            nav:true, // Show next and prev buttons
62            slideSpeed: 300,autoplay: true, loop:true, autoPlaySpeed: 5000,  autoplayTimeout: 5000, dots: false, paginationSpeed: 400, margin: 30, navText: [ "<i class='fa fa-angle-left'></i>", "<i class='fa fa-angle-right'></i>"], items: 2, responsive: {
63                0: {
64                    items: 1
65                }
66                , 480: {
67                    items: 2
68                }
69                , 768: {
70                    items: 3
71                }
72                , 980: {
73                    items: 3
74                }
75                , 1024: {
76                    items: 2
77                }
78                ,
79            }
80        }
81        );
82		
83		
84        /*========== Owl Carsusel Script ========== */
85        // Homepage Featured professor slider
86        $("#student-testimonial").owlCarousel( {
87            nav:false, // Show next and prev buttons
88            slideSpeed: 300, dots: true, paginationSpeed: 400, margin: 30, items: 2, responsive: {
89                0: {
90                    items: 1
91                }
92                , 480: {
93                    items: 1
94                }
95                , 768: {
96                    items: 2
97                }
98                , 980: {
99                    items: 2
100                }
101            }
102        }
103        );
104        /*========== Responsve menu ========== */
105        jQuery('.nav-menu').meanmenu( {
106            meanMenuContainer: '.menu-icon-bar', meanScreenWidth: "992"
107        }
108        );
109        if ($('.mean-nav > .navbar-nav li').hasClass('submenu')) {
110            $(".mean-nav ul li.submenu").removeClass('submenu');
111            $("ul.dropdown-menu").removeClass('dropdown-menu');
112        }
113        /*==========  Jquery Mailchiamp  ========== */
114        $('#mc-form').ajaxChimp( {
115            url: 'http://blahblah.us1.list-manage.com/subscribe/post?u=5afsdhfuhdsiufdba6f8802&id=4djhfdsh9'
116        }
117        );
118        /*==========  Fun facts counter Number animation  ========== */
119        jQuery('.signle-fid h4').counterUp( {
120            delay: 15, time: 1000
121        }
122        );
123        /*========== Event Calendar Widget  ========== */
124        var eventData=[ {
125            "date": "2016-11-12", "badge": false, "title": "New Collage Date", "url": "http://google.com"
126        }
127        , {
128            "date": "2016-11-16", "badge": false, "title": "New School Date", "location": "narayanganj", "url": "http://twist.com"
129        }
130        ];
131        $("#my-calendar").zabuto_calendar( {
132            cell_border: true, today: true, show_days: true, weekstarts
132on: 0, data: eventData, action: function () {
133				//alert("AAA");
134                return myDateFunction(this.id, false);
135            }
136            ,
137        }
138        );
139		 $("#my-calendar2").zabuto_calendar( {
140            cell_border: true, today: false, show_days: true, weekstartson: 0, data: eventData, action: function () {
141				//alert("AAA");
142                return myDateFunction2(this.id, false);
143            }
144            ,
145        }
146        );
147        function myDateFunction(id) {
148            var hasEvent=$("#" + id).data("hasEvent");
149			
150			 var date = $("#" + id).data("date");
151			
152			//var formatted = date.getFullYear() + "-" + (date.getMonth() + 1) + "-" + date.getDate();
153			    //alert($('li.active a[data-toggle="tab"]').data('id-coiffeur'));
154				//alert(formatted);
155				
156				//var anio =  date.getFullYear();
157			//	var mes =  date.getMonth() + 1;
158				// dia =  date.getDate();
159			
160			//alert(date);
161			
162			 $.ajax({
163						url: __SITEURL+'home/getAgenda/'+date,
164						type: 'POST',
165						dataType: "json",
166						success: function(jsonData){
167							//$('.wpr-table-agenda').empty();
168							//$('#table-agenda-tpl').tmpl(jsonData.agenda).appendTo('.wpr-table-agenda');
169							if(jsonData.status == true){
170								$('#titulo').html(jsonData.curso);
171								$('#lugar').html(jsonData.orador);
172								$('#hora').html(jsonData.hora);
173								$('#mes').html(jsonData.mes);
174								$('#dia').html(jsonData.dia);
175							}
176						}
177					});
178			
179           /* if (hasEvent) {
180                // var name = ;// `this` here refers to the current p you clicked on
181                var eventTitle=$("#" + id).attr('title');
182                var eventUrl=$("#" + id).attr('url');
183                $(".title").text(eventTitle);
184                $("a.box").attr("href", eventUrl);
185            }*/
186            return true;
187        }
188		
189		function myDateFunction2(id) {
190            var hasEvent=$("#" + id).data("hasEvent");
191			
192			 var date = $("#" + id).data("date");
193			
194			
195			
196			/* $.ajax({
197						url: __SITEURL+'/home/getAgenda2/'+date,
198						type: 'POST',
199						dataType: "json",
200						success: function(jsonData){
201							//$('.wpr-table-agenda').empty();
202							//$('#table-agenda-tpl').tmpl(jsonData.agenda).appendTo('.wpr-table-agenda');
203							if(jsonData.status == true){
204								$('#titulo').html(jsonData.curso);
205								$('#lugar').html(jsonData.orador);
206								$('#hora').html(jsonData.hora);
207								$('#mes').html(jsonData.mes);
208								$('#dia').html(jsonData.dia);
209							}
210						}
211					});
212			
213          */
214		 window.location.href = __SITEURL+'especialidades/getByFecha/'+date;
215            return true;
216        }
217        /*========== Accordion Toggle icon ========== */
218        $('#counter').countdown( {
219            date: '11/12/2017 23:59:59', // Month/Date/Year Time
220            offset: -8, day: 'Day', days: 'Days'
221        }
222        , function () {
223            $('#counter').remove();
224        }
225        );
226        /*========== Accordion Toggle icon ========== */
227        $('.collapse').on('shown.bs.collapse', function() {
228            $(this).parent().find("span").addClass("accodion-down");
229        }
230        ).on('hidden.bs.collapse', function() {
231            $(this).parent().find("span").removeClass("accodion-down");
232        }
233        );
234        /*========== Contact From ========== */
235        $("#cf .alert").hide();
236        $("#cf").validate( {
237            submitHandler: function(form) {
238                var submitButton=$(this.submitButton);
239                submitButton.button("Sending..");
240                $.ajax( {
241                    type: "POST", url: "/assets/sendmail.php", data: {
242                        "name": $("#cf-name").val(), "email": $("#cf-email").val(), "subject": $("#cf-subject").val(), "message": $("#cf-message").val()
243                    }
244                    , dataType: "json", complete: function () {
245                        submitButton.button("reset");
246                        $("#cf .form-control").val("");
247                        setTimeout(function() {
248                            // $( "button.submit" ).append( "<strong>Hello</strong>" );
249                            $("button.submit,#cf .form-control").hide();
250                            $(".alert").fadeIn();
251                            // success Message for Contact form
252                        }
253                        , 1000);
254                    }
255                }
256                );
257            }
258        }
259        );
260    }
261    );
262}
263
264)(jQuery);

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.