这是林泊百科的迁移技术测试站点,所有改动不会同步到林泊百科上,此站点将会在正式迁移后关闭,请勿存放重要数据

微件:AnchorCore:修订间差异

来自Limbo Wiki
跳转到导航 跳转到搜索
Nannnnn留言 | 贡献
Test
Nannnnn留言 | 贡献
无编辑摘要
第7行: 第7行:
}
}
</style><script>
</style><script>
(RLQ=window.RLQ||[]).push(function(){
mw.loader.implement("lw.anchor",function($,jQuery,require,module){
  $(".lw-AnchorError").ready(function(){
    $(".lw-AnchorError").hide();
    if(location.hash == ''){location.hash='Anchor-Default';}
  });
});
});
(RLQ=window.RLQ||[]).push(function(){
(RLQ=window.RLQ||[]).push(function(){
mw.loader.implement("lw.anchor",function($,jQuery,require,module){
mw.loader.implement("lw.anchor",function($,jQuery,require,module){

2022年8月27日 (六) 10:35的版本

<style> .lw-Anchor {

 display:none;

} .lw-Anchor:target {

 display:block;

} </style><script> (RLQ=window.RLQ||[]).push(function(){ mw.loader.implement("lw.anchor",function($,jQuery,require,module){

 $(document).ready(function(){
   $(".lw-AnchorError").hide();
   a = $("#" + $(this).attr("href"));
   if(a.length == 0){$("#Anchor-Default").show();}
   $("a").click(function(){
   	a = $("#" + $(this).attr("href"));
       if(a.length == 0){$("#Anchor-Default").show();}
   	else{$("#Anchor-Default").css("display","");}
 });
 });

}); }); </script>