PageSourceSearch

https://westfiles.com/wp-content/themes/effectivenews/js/resize.js?ver=jquery

js westfiles.com collected 2026-10-04 17:51:53 UTC 601 bytes, 24 lines download raw bytes

1jQuery(document).ready(function($) {
2$('#increase-font').click(function(event) {
3event.preventDefault();
4$('.resize').each(function() {
5changeTextSize(this, change);
6});
7});
8$('#decrease-font').click(function(event) {
9event.preventDefault();
10$('.resize').each(function() {
11changeTextSize(this, -change);
12});
13});
14
15var min = 8, max = 100, change = 2;
16function changeTextSize(element, value) {
17var currentSize = parseFloat($(element).css('font-size'));
18var newSize = currentSize + value;
19if (newSize <= max && newSize >= min) {
20$(element).css('font-size', newSize + 'px');
21}
22}
23
24});

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.