PageSourceSearch

https://www.nursinginpractice.com/wp-content/themes/cogora/assets/js/main.js?ver=1.5

js nursinginpractice.com collected 2026-10-02 03:44:23 UTC 4,144 bytes, 119 lines download raw bytes

1jQuery(document).ready(function($) {
2
3	var clickEvent = false;
4	$('#myCarousel').carousel({
5		interval:   4000
6	}).on('click', '.list-group li', function() {
7			clickEvent = true;
8			$('.list-group li').removeClass('active');
9			$(this).addClass('active');
10			// window.location.href = $(this).find('.featured_link').attr('href');
11	}).on('slid.bs.carousel', function(e) {
12		if(!clickEvent) {
13			var count = $('.list-group').children().length -1;
14			var current = $('.list-group li.active');
15			current.removeClass('active').next().addClass('active');
16			var id = parseInt(current.data('slide-to'));
17			if(count == id) {
18				$('.list-group li').first().addClass('active');
19			}
20		}
21		clickEvent = false;
22	}).on('click', '.list-group li a', function() {
23			window.location.href = $(this).attr('href');
24	});
25
26	$('#myCarouselanalysis').carousel({
27		interval:   4000
28	}).on('click', '.list-group li', function() {
29			clickEvent = true;
30			$('.list-group li').removeClass('active');
31			$(this).addClass('active');
32			// window.location.href = $(this).find('.featured_link').attr('href');
33	}).on('slid.bs.carousel', function(e) {
34		if(!clickEvent) {
35			var count = $('.list-group').children().length -1;
36			var current = $('.list-group li.active');
37			current.removeClass('active').next().addClass('active');
38			var id = parseInt(current.data('slide-to'));
39			if(count == id) {
40				$('.list-group li').first().addClass('active');
41			}
42		}
43		clickEvent = false;
44	}).on('click', '.list-group li a', function() {
45			window.location.href = $(this).attr('href');
46	});
47$(document).on('click', '.accordion-wrapper header', function(){
48		$(this).parent().find('section').slideToggle()
49		$(this).parent().toggleClass('__open')
50	})
51	$(document).on('click', '.checklist-box', function(){
52		$(this).toggleClass('__flip')
53	})
54	// $('#mobile_mainmenu span').on('click', function(){
55	// 	// $(this).html('<i class="fa fa-caret-down" aria-hidden="true"></i>');
56	// 	$(this).toggleClass('opened');
57	// 	$(this).parent().toggleClass('opened');
58	// });
59
60	// $('.clinical .lightblue').addClass('current-page-ancestor');
61	// $('.commissioning .lightgreen').addClass('current-page-ancestor');
62	// $('.pharmacist .lightred').addClass('current-page-ancestor');
63	// $('#menu-top-menu').find('li.current-menu-item').addClass('current_page_parent');
64
65	//Default options
66	// var options = {
67	//    animationDuration: 0.5, //in seconds
68	//    filter: 'all', //Initial filter
69	//    callbacks: {
70	//       onFilteringStart: function() { },
71	//       onFilteringEnd: function() { },
72	//       onShufflingStart: function() { },
73	//       onShufflingEnd: function() { },
74	//       onSortingStart: function() { },
75	//       onSortingEnd: function() { }
76	//    },
77	//    delay: 0, //Transition delay in ms
78	//    delayMode: 'progressive', //'progressive' or 'alternate'
79	//    easing: 'ease-out',
80	//    filterOutCss: { //Filtering out animation
81	//       opacity: 0,
82	//       transform: 'scale(0.5)'
83	//    },
84	//    filterInCss: { //Filtering in animation
85	//       opacity: 0,
86	//       transform: 'scale(1)'
87	//    },
88	//    layout: 'sameSize', //See layouts
89	//    selector: '.filtr-container',
90	//    setupControls: true
91	// }
92	// //You can override any of these options and then call...
93	// var filterizd = $('.filtr-container').filterizr(options);
94	// //If you have already instantiated your Filterizr then call...
95	// filterizd.filterizr('setOptions', options);
96
97	// var filterizd = $('.filtr-container').filterizr({
98	//    //options object
99	// });
100
101	//  $('.accordion').on('show hide', function() {
102	//     $(this).css('height', 'auto');
103	// });
104
105	// $(".accordion").accordion({
106	// 	active: false,
107	// 	collapsible: true,
108	// 	autoHeight: true
109	// });
110
111	 // $("#carousel-example-generic").swiperight(function() {
112	 //    $(this).carousel('prev');
113	 //  });
114	 // $("#carousel-example-generic").swipeleft(function() {
115	 //    $(this).carousel('next');
116	 // });
117
118
119});

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.