← Contents

  STUDY_html_015_D.html

<html>

<script>
function ますめ(TaTe)
{let Repeat_縦=1;
for(Repeat_縦=50;
Repeat_縦<=76*TaTe;
Repeat_縦+=76)//縦の間隔
{document.write("<img src='WHITE.png'style='position:absolute;left:"+";top:"+Repeat_縦+"'>");}}
ますめ(3);
</script>

</html>
<script>
function ますめ(TaTe,YoKo)
{let Repeat_縦,Repeat_横=1;
for(Repeat_縦=50;
Repeat_縦<=76*TaTe;
Repeat_縦+=76)//縦の間隔
{for(Repeat_横=50;
Repeat_横<=50*YoKo;
Repeat_横+=49)//横の間隔
{document.write("<img src='WHITE.png'style='position:absolute;left:"+Repeat_横+";top:"+Repeat_縦+"'>");}}}
ますめ(3,4);
</script>

  

  sample_STUDY_html_015_D    サンプル・ダウンロード  

トップにもどるボタン