PageSourceSearch

https://www.janicasmith.com/wp-content/plugins/mybooktable-pro3/includes/professional3/frontend.js?ver=3.0.3

js janicasmith.com collected 2026-10-09 21:59:17 UTC 2,073 bytes, 59 lines download raw bytes

1jQuery(document).ready(function() {
2
3	/*---------------------------------------------------------*/
4	/* Email Updates                                           */
5	/*---------------------------------------------------------*/
6
7	window.mbt_email_updates_submit = function(element) {
8		var element = jQuery(element);
9		element.find('input[type="submit"]').attr('disabled', 'disabled');
10		element.find('.mbt-email').attr('disabled', 'disabled');
11		jQuery.post(ajaxurl,
12			{
13				action: 'mbt_email_updates_submit',
14				email: element.find('.mbt-email').val(),
15				post_id: element.find('.mbt-postid').val(),
16			},
17			function(response) {
18				element.html('<div class="mbt-book-email-updates-message">'+response+'</div>');
19			}
20		);
21		return false;
22	}
23
24	/*---------------------------------------------------------*/
25	/* Landing Page Mode                                       */
26	/*---------------------------------------------------------*/
27
28	if(jQuery('.mbt-display-mode-landingpage .mbt-book-menu').length) {
29		jQuery(window).scroll(function (event) {
30			var scroll = jQuery(window).scrollTop();
31			if(scroll == 0) {
32				jQuery('.mbt-book-menu').removeClass('mbt-book-menu-overlap');
33			} else {
34				jQuery('.mbt-book-menu').addClass('mbt-book-menu-overlap');
35			}
36		});
37
38		jQuery('.mbt-book-menu-button').click(function() {
39			jQuery('.mbt-book-menu-sections').toggleClass('mbt-book-menu-expanded');
40		});
41		jQuery(document).click(function(e) {
42			if(e.target != jQuery('.mbt-book-menu-button')[0]) {
43				jQuery('.mbt-book-menu-sections').removeClass('mbt-book-menu-expanded');
44			}
45		});
46
47		jQuery('.mbt-book-menu-sections a, .mbt-book-purchase-button').click(function() {
48			var target = jQuery(this.hash);
49			target = target.length ? target : jQuery('[name=' + this.hash.slice(1) +']');
50			if(target.length) {
51				jQuery('html, body').stop().animate({
52					scrollTop: target.offset().top-jQuery('.mbt-book-menu-container').height()-jQuery('#wpadminbar').height()
53				}, 1000);
54				return false;
55			}
56		});
57	}
58
59});

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.