PluginProbe ʕ •ᴥ•ʔ
YITH WooCommerce Wishlist / 3.0.17
YITH WooCommerce Wishlist v3.0.17
4.16.0 trunk 2.1.0 2.1.1 2.1.2 2.2.0 2.2.1 2.2.10 2.2.11 2.2.12 2.2.13 2.2.14 2.2.15 2.2.16 2.2.17 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 2.2.7 2.2.8 2.2.9 3.0.0 3.0.1 3.0.10 3.0.11 3.0.12 3.0.13 3.0.14 3.0.15 3.0.16 3.0.17 3.0.18 3.0.19 3.0.2 3.0.20 3.0.21 3.0.22 3.0.23 3.0.25 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 3.10.0 3.11.0 3.12.0 3.13.0 3.14.0 3.15.0 3.16.0 3.17.0 3.18.0 3.19.0 3.2.0 3.20.0 3.21.0 3.22.0 3.23.0 3.24.0 3.25.0 3.26.0 3.27.0 3.28.0 3.29.0 3.3.0 3.30.0 3.31.0 3.32.0 3.33.0 3.34.0 3.35.0 3.36.0 3.37.0 3.38.0 3.4.0 3.5.0 3.6.0 3.7.0 3.8.0 3.9.0 4.0.0 4.0.1 4.1.0 4.10.0 4.10.1 4.10.2 4.11.0 4.12.0 4.13.0 4.14.0 4.15.0 4.2.0 4.3.0 4.4.0 4.5.0 4.6.0 4.7.0 4.8.0 4.9.0
yith-woocommerce-wishlist / plugin-fw / assets / js / yit-wp-pointer.js
yith-woocommerce-wishlist / plugin-fw / assets / js Last commit date
codemirror 9 years ago javascript-md5 7 years ago how-to.js 8 years ago how-to.min.js 6 years ago jquery.colorbox.js 8 years ago jquery.colorbox.min.js 6 years ago metabox.js 5 years ago metabox.min.js 5 years ago multisite-updater.js 6 years ago multisite-updater.min.js 6 years ago wp-pages.js 6 years ago wp-pages.min.js 6 years ago yit-cpt-unlimited.js 6 years ago yit-cpt-unlimited.min.js 6 years ago yit-plugin-panel.js 5 years ago yit-plugin-panel.min.js 5 years ago yit-wp-pointer.js 5 years ago yit-wp-pointer.min.js 5 years ago yith-colorpicker.min.js 5 years ago yith-dashboard.js 7 years ago yith-dashboard.min.js 6 years ago yith-enhanced-select-wc-2.6.js 5 years ago yith-enhanced-select-wc-2.6.min.js 5 years ago yith-enhanced-select.js 5 years ago yith-enhanced-select.min.js 5 years ago yith-fields.js 5 years ago yith-fields.min.js 5 years ago yith-gutenberg.js 5 years ago yith-gutenberg.min.js 5 years ago yith-promo.js 7 years ago yith-promo.min.js 6 years ago yith-system-info.js 5 years ago yith-system-info.min.js 5 years ago yith-update-plugins.js 7 years ago yith-update-plugins.min.js 6 years ago
yit-wp-pointer.js
83 lines
1 jQuery( function($) {
2 var pointers = custom_pointer.pointers[0],
3 options = pointers.options,
4 target = $(pointers.target),
5 pointer_id = pointers.pointer_id;
6
7 $(target).find('.wp-submenu li a').each(function () {
8
9 var t = $(this),
10 href = t.attr('href');
11
12 href = href.replace('admin.php?page=', '');
13
14 if( href == pointer_id ){
15
16 var selected_plugin_row = t.add( target ),
17 top_level_menu = target.find( pointers.target.replace( '#', '.' ) );
18
19 target.toggleClass('wp-no-current-submenu wp-menu-open wp-has-current-submenu');
20
21 t.pointer({
22 pointerClass: 'yit-wp-pointer',
23 content : options.content,
24 position: options.position,
25 open : function () {
26 selected_plugin_row.toggleClass( 'yit-pointer-selected-row' );
27 top_level_menu.addClass( 'yit-pointer' );
28 },
29
30
31 close : function () {
32 target.toggleClass('wp-no-current-submenu wp-menu-open wp-has-current-submenu');
33 selected_plugin_row.toggleClass( 'yit-pointer-selected-row' );
34 top_level_menu.removeClass( 'yit-pointer' );
35
36 $.ajax({
37 type : 'POST',
38 url : ajaxurl,
39 data : {
40 "action" : "dismiss-wp-pointer",
41 "pointer": pointer_id
42 },
43 success: function (response) {
44 }
45 });
46
47 }
48 }).pointer('open');
49 } else if( 'yith_default_pointer' == pointer_id ) {
50
51 var selected_plugin_row = t.add( target ),
52 top_level_menu = target.find( pointers.target.replace( '#', '.' )),
53 yit_plugins = $( pointers.target );
54
55 yit_plugins.addClass('wp-has-current-submenu');
56
57 top_level_menu.pointer({
58 pointerClass: 'yit-wp-pointer',
59 content : options.content,
60 position: options.position,
61
62 open : function () {
63 yit_plugins.addClass( 'yit-pointer-selected-row' );
64 },
65
66 close : function () {
67 yit_plugins.removeClass( 'yit-pointer-selected-row wp-has-current-submenu' );
68
69 $.ajax({
70 type : 'POST',
71 url : ajaxurl,
72 data : {
73 "action" : "dismiss-wp-pointer",
74 "pointer": pointer_id
75 },
76 success: function (response) {
77 }
78 });
79 }
80 }).pointer('open');
81 }
82 });
83 });