Skip to content

Instantly share code, notes, and snippets.

@yangjunjun
Created October 28, 2013 05:36
Show Gist options
  • Save yangjunjun/7191835 to your computer and use it in GitHub Desktop.
Save yangjunjun/7191835 to your computer and use it in GitHub Desktop.
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
</head>
<body>
<script>
for(var i=0; i<=30; i++){
var img = document.createElement('img');
img.src= 'http://www.wsxa.com/images/weather/a_' + i +'.gif';
document.body.appendChild(img);
}
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment