Permalink
Fetching contributors…
Cannot retrieve contributors at this time
42 lines (32 sloc) 1.81 KB
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Online Python Tutor embedding demo</title>
<!-- dependencies for pytutor.js -->
<script type="text/javascript" src="js/d3.v2.min.js"></script>
<script type="text/javascript" src="js/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="js/jquery.simplemodal.js"></script> <!-- for questions -->
<script type="text/javascript" src="js/jquery.ba-bbq.min.js"></script> <!-- for handling back button and URL hashes -->
<script type="text/javascript" src="js/jquery.jsPlumb-1.3.10-all-min.js "></script> <!-- for rendering SVG connectors
DO NOT UPGRADE ABOVE 1.3.10 OR ELSE BREAKAGE WILL OCCUR -->
<script type="text/javascript" src="js/jquery-ui-1.8.24.custom.min.js"></script> <!-- for sliders and other UI elements -->
<link type="text/css" href="css/ui-lightness/jquery-ui-1.8.24.custom.css" rel="stylesheet" />
<link type="text/css" href="css/basic.css" rel="stylesheet" />
<!-- Python Tutor frontend code and styles -->
<script type="text/javascript" src="js/pytutor.js"></script>
<link rel="stylesheet" href="css/pytutor.css"/>
<!-- This JavaScript file contains the demo code - READ IT!!!
(Include this file AFTER all of its dependencies.)
-->
<script type="text/javascript" src="embedding-demo.js"></script>
</head>
<body>
<!-- This demo shows three visualizations, each embedded within a div ... -->
<p>Recursive list sum (from <a href="http://pythontutor.com">pythontutor.com</a> home page):</p>
<div id="listSumDiv"></div>
<p>Towers of Hanoi:</p>
<div id="hanoiDiv"></div>
<p>Happy Birthday:</p>
<div id="happyDiv"></div>
</body>
</html>