6,868
回編集
細編集の要約なし |
編集の要約なし |
||
| 8行目: | 8行目: | ||
if (allpopopenbutton_a == 1) { | if (allpopopenbutton_a == 1) { | ||
clearInterval(allpopopenbutton_b); | clearInterval(allpopopenbutton_b); | ||
} | |||
}, 100); | |||
} | |||
function allpopclosebutton(){ | |||
var allpopclosebutton_a = 0; | |||
var allpopclosebutton_b = setInterval(function() { | |||
allpopclose(); | |||
allpopclosebutton_a++; | |||
//終了条件 | |||
if (allpopclosebutton_a == 1) { | |||
clearInterval(allpopclosebutton_b); | |||
} | } | ||
}, 100); | }, 100); | ||
| 13行目: | 25行目: | ||
</script> | </script> | ||
<div style="position:fixed; bottom:0px; left:0px; padding:0 0.5em 0.5em;"> | <div style="position:fixed; bottom:0px; left:0px; padding:0 0.5em 0.5em;"> | ||
<a href="javascript:void(0)" onClick="allpopopenbutton()"><img width=33px alt=" | <a href="javascript:void(0)" onClick="allpopopenbutton()"><img width=33px alt="全て開く" src="http://ssbwiki.s1.adexd.net/wiki/extensions/masahiroimages/pop+.gif"></a> | ||
<a href="javascript:void(0)" onClick="allpopclosebutton()"><img width=33px alt="全て閉じる" src="$IP/extensions/masahiroimages/pop-.gif"></a> | |||
</div></includeonly> | </div></includeonly> | ||