「Broken/Pop開閉ボタン」の版間の差分
編集の要約なし |
細 (12版) |
||
| (同じ利用者による、間の8版が非表示) | |||
| 1行目: | 1行目: | ||
< | <includeonly><script type='text/javascript'> | ||
<script type='text/javascript'> | function allpopopenbutton(){ | ||
var allpopopenbutton_a = 0; | var allpopopenbutton_a = 0; | ||
var allpopopenbutton_b = setInterval(function() { | var allpopopenbutton_b = setInterval(function() { | ||
| 9行目: | 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); | ||
| 14行目: | 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> | ||
</div> | <a href="javascript:void(0)" onClick="allpopclosebutton()"><img width=33px alt="全て閉じる" src="http://ssbwiki.s1.adexd.net/wiki/extensions/masahiroimages/pop-.gif"></a> | ||
</ | </div></includeonly> | ||