<html>
<head>
<title>Abakada CSS Demo: left Property with Transition</title>
<link rel="stylesheet" href="/shared/netdemos.css">
<style>
#img { transition: left 2s }
</style>
<script language="javascript">
function reset ( ) {
var el = document.getElementById ( "img" );
el.style.left = "400px";
}
</script>
</head>
<body>
<div class="header"><h2>Abakada CSS Demo: <b>left</b> Property with with Transitionnsition</h2></div>
<hr size=1 width=92%>
<div align="center">
<p id="msg">This example uses <i>inline event handlers</i> to dynamically change an object's CSS <b>left</b> property<br>
in response to mouse events.
Click to move the left edge position. Double-click to center.</p>
<img id="img" src="../shared/images/samp14.jpg"
style="position: relative; left: 400px"
onclick="this.style.left='-400px'"
ondblclick="this.style.left='0px'">
<p><button onclick="reset ( )">Reset</button>
</div>
<hr size=1 width=92%>
<!-- #include virtual="~/shared/viewsrc.inc" -->
</body>
</html>