Posted By

hockendougal on 02/20/07


Tagged

image maeda repeater


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

basicmagic
vali29


Maeda Style Image Repeater


 / Published in: JavaScript
 

  1. <script type="text/javascript" ?>
  2.  
  3. function maeda_repeater(img, count) {
  4. document.write("<div style='clear:both;></div>");
  5.  
  6. for (var x = 1; x <= count; x++)
  7. {
  8. document.write("<img src='" + img + "' alt='" + count + "' style='float:left; margin:2px;' />");
  9. }
  10. document.write("<div style='clear:both;></div>");
  11. }
  12.  
  13. repeat("spring.gif", 100);
  14. </script>

Report this snippet  

You need to login to post a comment.