今天是2024年7月1日 第27周 星期一

代人,时大变了。

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

更改

跳到导航 跳到搜索
添加627字节 、 2024年4月11日 (星期四)
已还原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'));
  −
$(function() {
  −
   if (location.href.indexOf("toggle_view_mobile") != -1) {
  −
     temp = document.getElementsByClassName('navbox');
  −
     for (let i = 0; i < temp.length; i++) {
  −
       temp[i].parentNode.removeChild(temp[i]);
  −
     }
  −
   }
  −
})
 

导航菜单