今天是2026年3月6日 第10周 星期五

代人,时大变了。

我们生活在大地上,但我们的梦想超越天空。

變更

跳至導覽 跳至搜尋
增加 645 位元組 、 2024年4月11日 (四) 20:18
已还原Honoka55对话)的编辑至最后由REEE修订的版本
行 24: 行 24:  
      });
 
      });
 
    }
 
    }
 +
  //滚动公告
 +
   function autoScroll(obj) {
 +
     $(obj).animate({
 +
       height: "show",
 +
       paddingTop: "show",
 +
       marginTop: "show",
 +
       paddingBottom: "show",
 +
       marginBottom: "show",
 +
     });
 +
     var isFrozen = false;
 +
     setInterval(function() {
 +
       if (!isFrozen) {
 +
         $(obj).find("ul:first").animate({
 +
           marginTop: "-25px",
 +
         }, 500, function() {
 +
           $(this).css({
 +
             marginTop: "0px",
 +
           }).find("li:first").appendTo(this);
 +
         });
 +
       }
 +
     }, 5000);
 +
     $(window).on({
 +
       blur: function() {
 +
         isFrozen = true;
 +
       },
 +
       focus: function() {
 +
         isFrozen = false;
 +
       },
 +
     });
 +
   }
 +
     autoScroll("#scrollDiv");
      行 212: 行 243:  
    }
 
    }
 
}
 
}
      
    /* 页面历史加&hilight=高亮 */
 
    /* 页面历史加&hilight=高亮 */
行 235: 行 265:  
//临时修复!侧边栏的“打印页面”移动到“打印/导出”章节
 
//临时修复!侧边栏的“打印页面”移动到“打印/导出”章节
 
$('div#p-electronpdfservice-sidebar-portlet-heading.portal div.body ul').append($('li#t-print'));
 
$('div#p-electronpdfservice-sidebar-portlet-heading.portal div.body ul').append($('li#t-print'));
  −
if (location.href.indexOf("toggle_view_mobile") != -1)
  −
{
  −
   temp = document.getElementsByClassName('navbox')
  −
   for (let i = 0; i < temp.length; i++)
  −
   {
  −
     temp[i].className = 'navbox __web-inspector-hide-shortcut__';
  −
   }
  −
}
 

導覽選單