◆少前百科是非盈利性、非官方的少女前线维基百科。 ◆如果您发现某些内容错误/空缺,请勇于修正/添加!参与进来其实很容易!点这里 加入少前百科。 ◆有任何意见、建议、纠错,欢迎在 GFwiki:反馈与建议 提出和讨论。编辑事务讨论QQ群:597764980,微博@GFwiki少前百科 ◆To foreigners,You can use twitter to contact us. |
Widget:SFsettings1
<script>RLQ.push(function(){ function chibiSet() { var windowWidth = document.getElementById("TDInfWindow").clientWidth
var wa = document.getElementById("spinebox") if (windowWidth < 900) { wa.style.position = "relative"; wa.style.width = ""; } else { wa.style.position = "absolute";
wa.style.width = "320px";
}
} $(function(){chibiSet()}); $(window).resize(function(){chibiSet()}); $(".trans_image").each(function(i, el){el.onclick=""}); })
/* spinebox 手机设备 大小 */ if(/ipad|iphone|midp|rv:1.2.3.4|ucweb|android|windows ce|windows mobile/.test(sUserAgent)){ var spbox = document.getElementsByClassName("spinebox"); spbox[0].style.minWidth = "100%"; }
/* 技能演示动画 */ $("#skillgifshow1").click(function(){
var newgif = new Image; newgif.style.width = "270px"; newgif.style.height = "90px"; newgif.style.padding = "1px 2px"; newgif.setAttribute("id" , "skillgifshowtar"); newgif.setAttribute("src" , ""); console.log(); newgif.addEventListener("click",function(){ document.querySelector("#skillgifshow1").style.display = "block"; document.querySelector("#skillgifshowtar").remove();}); $("#skillgifshow1").css("display" , "none"); $("#skillgifshow1").parent().append(newgif);
});
$("#skillgifshow2").click(function(){
window.open("", "blank");})
</script>