Skip to content

Instantly share code, notes, and snippets.

@casspangell
Created December 21, 2010 02:22
Show Gist options
  • Save casspangell/749391 to your computer and use it in GitHub Desktop.
Save casspangell/749391 to your computer and use it in GitHub Desktop.
<script type="text/javascript">
for (i = 0; i <= 5; i++){
document.write("<image imageURL=\"images/"+i+".jpg\" thumbURL=\"thumbs/s_"+i+".jpg\" linkURL=\"\" linkTarget=\"\"> </image>");
}
</script>
--------------
<image imageURL="images/1.jpg" thumbURL="thumbs/s_1.jpg" linkURL="" linkTarget="" ></image>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment