PageSourceSearch

https://pi.ac.th/assets/js/font_size.js

js pi.ac.th collected 2026-09-24 09:17:38 UTC 1,430 bytes, 39 lines download raw bytes

1$(document).ready(function() {
2     $("#small").click(function() {
3         $("div,a,p,button,ol,ul,li,h1,h2,h3,h4,h5,h6,form,input,label,iframe,table,tr,td,textarea,span")
4             .children().each(function() {
5                 var fontsize = parseInt($(this).css("font-size"));
6                 fontsize = fontsize - 2 + "px";
7                 $(this).css({
8                     'font-size': fontsize
9                 });
10             }
11         );
12     });
13 });
14 $(document).ready(function() {
15     $("#normal").click(function() {
16         $("div,a,p,button,ol,ul,li,h1,h2,h3,h4,h5,h6,form,input,label,iframe,table,tr,td,textarea,span")
17             .children().each(function() {
18                 var fontsize = parseInt($(this).css("font-size"));
19                 fontsize = "" 
20                 $(this).css({
21                     'font-size': fontsize
22                 });
23             }
24         );
25     });
26 });
27 $(document).ready(function() {
28     $("#large").click(function() {
29         $("div,a,p,button,ol,ul,li,h1,h2,h3,h4,h5,h6,form,input,label,iframe,table,tr,td,textarea,span")
30             .children().each(function() {
31                 var fontsize = parseInt($(this).css("font-size"));
32                 fontsize = fontsize + 2 + "px";
33                 $(this).css({
34                     'font-size': fontsize
35                 });
36             }
37         );
38     });
39 });

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.