PageSourceSearch

https://robmorsberger.com/wp-content/themes/rob-v1/js/scripts.js

js robmorsberger.com collected 2026-09-27 02:46:22 UTC 809 bytes, 27 lines download raw bytes

1jQuery(document).ready(function($) {
2
3	// ----------------------------------------------
4	// Mailing List
5
6		$('.subscribe').click(function(e) {
7			e.preventDefault();
8			$('html, body').animate({scrollTop:0}, 'slow');
9			$('#newsletter').toggle();
10			var height = document.body.clientHeight;	//get the height of the window
11			height = height + 'px';
12			$('#newsletter').css('height', height);		//make the height of the background image the same as the window
13		});
14
15		$('#cancelnewsletter').click(function(e) {
16			e.preventDefault();
17			$(':input','#subForm')
18				.not(':button, :submit, :reset, :hidden')
19				.val('')
20				.removeAttr('checked')
21				.removeAttr('selected');	//clear the form when cancel is clicked
22			$('#newsletter').toggle();
23		});
24	// ----------------------------------------------
25
26
27});

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.