⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 theme.js.php

📁 博客系统源码 博客系统源码 博客系统源码
💻 PHP
字号:
<?php    define('JAVASCRIPT', true);    require_once "../../../includes/common.php";    error_reporting(0);    header("Content-Type: application/x-javascript");?><!-- --><script>$(function(){    $(".notice, .warning, .message").        append("<span class=\"sub\"><?php echo __("(click to hide)", "theme"); ?></span>").        click(function(){            $(this).fadeOut("fast");        })        .css("cursor", "pointer");    if ($.browser.safari)        $("input#search").attr({            placeholder: "<?php echo __("Search...", "theme"); ?>"        });    if ($("#debug").size())        $("#wrapper").css("padding-bottom", $("#debug").height());    $("#debug .toggle").click(function(){        if (Cookie.get("hide_debug") == "true") {            Cookie.destroy("hide_debug");            $("#debug").animate({ height: "33%" });        } else {            Cookie.set("hide_debug", "true", 30);            $("#debug").animate({ height: 15 });            $("#debug ul li").each(function(){                $("<span class=\"sub\"> | "+ $(this).html() +"</span>").appendTo("#debug h5:first");            })        }    })    if (Cookie.get("hide_debug") == "true") {        $("#debug").height(15);        $("#debug ul li").each(function(){            $("<span class=\"sub\"> | "+ $(this).html() +"</span>").appendTo("#debug h5:first");        })    }})<!-- --></script>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -