「Broken/Pop開閉ボタン」の版間の差分
編集の要約なし |
編集の要約なし |
||
| 1行目: | 1行目: | ||
<onlyinclude><script type='text/javascript'> | <onlyinclude> | ||
<script type='text/javascript'> | |||
unction allpopopenbutton(){ | unction allpopopenbutton(){ | ||
var allpopopenbutton_a = 0; | var allpopopenbutton_a = 0; | ||
| 14行目: | 15行目: | ||
<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="全て展開" src="http://ssbwiki.s1.adexd.net/wiki/extensions/masahiroimages/pop+.gif"></a> | <a href="javascript:void(0)" onClick="allpopopenbutton()"><img width=33px alt="全て展開" src="http://ssbwiki.s1.adexd.net/wiki/extensions/masahiroimages/pop+.gif"></a> | ||
</div></onlyinclude> | </div> | ||
</onlyinclude> | |||
2014年3月5日 (水) 23:37時点における版
<script type='text/javascript'> unction allpopopenbutton(){ var allpopopenbutton_a = 0; var allpopopenbutton_b = setInterval(function() {
allpopopen();
allpopopenbutton_a++;
//終了条件
if (allpopopenbutton_a == 1) {
clearInterval(allpopopenbutton_b);
}
}, 100); } </script>
<a href="javascript:void(0)" onClick="allpopopenbutton()"><img width=33px alt="全て展開" src="http://ssbwiki.s1.adexd.net/wiki/extensions/masahiroimages/pop+.gif"></a>