Sha256: 32774a6b01648b13b904bb5d03662df5123171e1a6e41dbf4f03e2ee3367b422
Contents?: true
Size: 1.25 KB
Versions: 4
Compression:
Stored size: 1.25 KB
Contents
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Signal Example</title> <link href="draggable.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="../../lib/MochiKit/MochiKit.js"></script> <script type="text/javascript" src="draggable.js"></script> </head> <body> <h1> Dragging with MochiKit </h1> <p> This is an example of one might implement a drag handler with MochiKit’s Signal. </p> <p> For a detailed description of what happens under the hood, check out <a href="draggable.js" class="view-source">draggable.js</a>. </p> <p> View Source: [ <a href="index.html" class="view-source">index.html</a> | <a href="draggable.js" class="view-source">draggable.js</a> | <a href="draggable.css" class="view-source">draggable.css</a> ] </p> <div class="draggable red" style="left: 10px;">R</div> <div class="draggable green" style="left: 120px;">G</div> <div class="draggable blue" style="left: 230px;">B</div> <div class="draggable white" style="left: 340px;">W</div> </body> </html>
Version data entries
4 entries across 4 versions & 1 rubygems