PageSourceSearch

https://zjmj.cn/templates/main/skin/js/font_size.js

js zjmj.cn collected 2026-10-02 19:12:04 UTC 959 bytes, 31 lines download raw bytes

1$(function(){
2    function sizeIn(){
3        var sizeCont = parseInt($(".tynr").css("fontSize")); // 获取原设定的font-size的值
4        if(sizeCont == 30){ // 判断font-size增大到30像素时停止
5            $(".tynr").css({fontSize:sizeCont});
6        }else{
7            $(".tynr").css({fontSize:sizeCont + 2});
8        }
9    }
10    function sizeOut(){
11        var sizeCont = parseInt($(".tynr").css("fontSize"));
12        if(sizeCont == 12){ // 判断font-size减小到10像素时停止
13            $(".tynr").css({fontSize:sizeCont});
14        }else{
15            $(".tynr").css({fontSize:sizeCont - 2});
16        }
17    }
18    function sizeDefault(){
19        $(".tynr").css({fontSize:""})
20    }
21    $(".newshow_ctrl a").click(function(){
22        if($(this).index() == 0){
23            sizeIn();
24        }else if($(this).index() == 1){
25            sizeOut();
26        }else{
27            sizeDefault();
28        }
29
30    })
31});

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.