PageSourceSearch

https://globalwellnessinstitute.org/wp-content/plugins/content-man…/otw_shortcode/js/otw_shortcode.js?ver=7.1

js globalwellnessinstitute.org collected 2026-09-24 15:17:37 UTC 2,314 bytes, 84 lines download raw bytes

1
2'use strict';
3
4jQuery(document).ready(function () {
5
6    //tabs
7    otw_shortcode_tabs(jQuery('.otw-sc-tabs'));
8
9    //content toggle
10    otw_shortcode_content_toggle(jQuery('.toggle-trigger'), jQuery('.toggle-trigger.closed'));
11
12    //accordions
13    otw_shortcode_accordions(jQuery('.otw-sc-accordion'));
14
15    //faqs
16    otw_shortcode_faq(jQuery('.otw-sc-faq'));
17
18    //shadow overlay
19    otw_shortcode_shadow_overlay(jQuery('.shadow-overlay'));
20    
21    //category filters
22    otw_shortcode_category_filter( '.otw-portfolio-filter', '.otw-portfolio' );
23
24    //messages
25    jQuery(".otw-sc-message.closable-message").find(".close-message").on( 'click', function () {
26        jQuery(this).parent(".otw-sc-message").fadeOut("fast");
27    });
28
29    //testimonials
30    otw_shortcode_testimonials(jQuery('.otw-sc-testimonials'));
31
32    //scroll to top
33    otw_shortcode_scroll_to_top(jQuery('.scroll-top a'));
34
35    //tables
36    otw_shortcode_sortable_table(jQuery('.footable'));
37
38    /*
39     * Init the count down script for front mode 
40     */
41    jQuery('.otw-countdown').each(function (index) {
42        otw_shortcode_count_down(jQuery(this));
43    });
44
45    /*
46     * Init the progress bar in front mode
47     */
48    jQuery(".otw-b-meter > span").each(function () {
49        animate_progressbar(jQuery(this));
50    });
51
52    /*
53     *Init the animation images in front mode  
54     */
55    otw_start_animated_image(jQuery(".otw-b-animated-image"));
56
57    /**
58     * Clients slider init in front mode
59     */
60    jQuery(".otw-b-carousel:not(.otw-b-testimonials-slider)").each(function () {
61        otw_start_client_caroucel(jQuery(this));
62    });
63
64    /*
65     * Init of testimonials in front mode
66     */
67    jQuery(".otw-b-testimonials-slider").each(function () {
68        otw_testimonials_start(jQuery(this));
69    });
70
71    //init gallery callbacks
72    jQuery(".otw-b-gallery").each(function () {
73        jQuery('a', jQuery(this)).on( 'click', function (e) {
74            if (jQuery(this).hasClass('otw-external') === false) {
75                e.preventDefault();
76                jQuery(this).removeClass('otw-b-active');
77            }
78        });
79        jQuery('li', jQuery(this).find('.otw-b-gallery-thumbs')).on( 'click', function () {
80            generateGallery(this);
81        });
82        generateGallery(this);
83    });
84});

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.