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