Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
</head>
<body>
<div class="landscape_pics">
        <img class="pic" id="picOne" src="http://www.orl.com.au/wp-content/uploads/2013/02/pool-decking-surfcoast-geelong-ocean-grove-SLIDE-200x200.jpg">
        <img class="pic" id="picTwo" src="http://www.orl.com.au/wp-content/uploads/2013/02/modern-landscape-design-coastal-ocean-grove-200x200.jpg">
        <img class="pic" id="picThree" src="http://www.orl.com.au/wp-content/uploads/2013/02/landscape-design-bellarine-peninsula-ocean-grove-2-200x200.jpg">
</div>
  <form>
    <input type="date" />
  </form>
</body>
</html>
 
var images = document.getElementsByClassName('pic');
function AttachClass(a) {
  a.classList.add('opacity'); 
}
for (var i = 0; i < images.length; i++) {
  setTimeout(AttachClass.bind(null, images[i]), 1000);
}
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers