PluginProbe ʕ •ᴥ•ʔ
reCaptcha by BestWebSoft / 1.65
reCaptcha by BestWebSoft v1.65
1.79 1.80 1.82 1.83 1.84 1.85 1.86 1.87 trunk 1.01 1.02 1.03 1.04 1.05 1.06 1.07 1.08 1.09 1.10 1.11 1.12 1.13 1.14 1.15 1.16 1.17 1.18 1.19 1.20 1.21 1.22 1.23 1.24 1.25 1.26 1.27 1.28 1.29 1.30 1.31 1.32 1.33 1.34 1.35 1.36 1.37 1.38 1.39 1.40 1.41 1.42 1.43 1.44 1.45 1.46 1.47 1.48 1.49 1.50 1.51 1.52 1.53 1.54 1.55 1.56 1.57 1.58 1.59 1.60 1.61 1.62 1.63 1.64 1.65 1.66 1.67 1.68 1.70 1.71 1.72 1.73 1.74 1.75 1.78
google-captcha / bws_menu / js / bws_menu.js
google-captcha / bws_menu / js Last commit date
bws_menu.js 4 years ago bws_tooltip.js 4 years ago c_o_o_k_i_e.js 4 years ago codemirror.js 4 years ago general_script.js 4 years ago shortcode-button.js 4 years ago
bws_menu.js
48 lines
1 (function($) {
2 "use strict";
3 $(document).ready( function() {
4 var product = $( '.bws_product_box' ),
5 max = 0;
6 $( product ).each( function () {
7 if ( $( this ).height() > max )
8 max = $( this ).height();
9 });
10 $( '.bws_product_box' ).css( 'height', max + 'px' );
11
12 if ( $( '.bws-filter' ).length ) {
13 var prvPos = $( '.bws-filter' ).offset().top;
14 var maxPos = prvPos + $( '.bws-products' ).outerHeight() - $( '.bws-filter' ).outerHeight();
15
16 $( window ).scroll( function() {
17 if ( $( window ).width() > 580 ) {
18 var scrPos = Number( $( document ).scrollTop() ) + 40;
19 if ( scrPos > maxPos ) {
20 $( '.bws-filter' ).removeClass( 'bws_fixed' );
21 } else if ( scrPos > prvPos ) {
22 $( '.bws-filter' ).addClass( 'bws_fixed' );
23 } else {
24 $( '.bws-filter' ).removeClass( 'bws_fixed' );
25 }
26 }
27 });
28 }
29 $( '.bws-menu-item-icon' ).click( function() {
30 if ( $( this ).hasClass( 'bws-active' ) ) {
31 $( this ).removeClass( 'bws-active' );
32 $( '.bws-nav-tab-wrapper, .bws-help-links-wrapper' ).hide();
33 } else {
34 $( this ).addClass( 'bws-active' );
35 $( '.bws-nav-tab-wrapper, .bws-help-links-wrapper' ).css( 'display', 'inline-block' );
36 }
37 });
38 $( '.bws-filter-top h2' ).click( function() {
39 if ( $( '.bws-filter-top' ).hasClass( 'bws-opened' ) ) {
40 $( '.bws-filter-top' ).removeClass( 'bws-opened' );
41 } else {
42 $( '.bws-filter-top' ).addClass( 'bws-opened' );
43 }
44 });
45
46 });
47 })(jQuery);
48