Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/raphael/2.1.0/raphael-min.js"></script>
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body>
  <p> Click a shape to see  its opacity go up while the opacity of the set as a whole goes down.</p><p> (this is just a demo so it doesn't include anything to stop values going below 
  0 or above 1)  </p>
  <p>  Values logged in console.log</p>
  
  <div id="id">
    
  </div>
  
  <a id="fadein" class="link">Partially fade in whole set</a>
  <a id="fadeout" class="link">Partially fade out whole set</a>
  
    <a id="fadein2" class="link">Fully fade in whole set</a>
  <a id="fadeout2" class="link">Fully fade out whole set</a>
  
</body>
</html>
 
.link {
  cursor: pointer;
  font-weight: bold;
  display: block;
  background: #e4e4e4;
  text-align: center;
  padding: 6px;
  margin: 2px;
}
Output

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

Dismiss x
public
Bin info
anonymouspro
0viewers