forked from sduonline/sc-resources
		
	
		
			
				
	
	
		
			69 lines
		
	
	
		
			2.7 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			69 lines
		
	
	
		
			2.7 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!DOCTYPE html>
 | |
| <html lang="zh">
 | |
| 	<head>
 | |
| 		<title>
 | |
| 			Comparison Sorting Visualization
 | |
| 		</title><meta charset="UTF-8">
 | |
| 		
 | |
| 		<!-- css sheet for how the page is laid out -->
 | |
| 		
 | |
| 		<link rel="stylesheet" href="visualizationPageStyle.css">
 | |
| 			
 | |
| 		<!-- jqueury stuff.  Only used for the animation speed slider. -->
 | |
| 		<link rel="stylesheet" href="ThirdParty/jquery-ui-1.8.11.custom.css">
 | |
| 		<script src="ThirdParty/jquery-1.5.2.min.js"></script>
 | |
| 		<script src="ThirdParty/jquery-ui-1.8.11.custom.min.js"></script>
 | |
| 				
 | |
| 		<!-- Javascript for the actual visualization code -->
 | |
| 		<script type = "text/javascript" src = "AnimationLibrary/CustomEvents.js"> </script>
 | |
| 		<script type = "text/javascript" src = "AnimationLibrary/UndoFunctions.js"> </script>
 | |
| 		<script type = "text/javascript" src = "AnimationLibrary/AnimatedObject.js"> </script>
 | |
| 		<script type = "text/javascript" src = "AnimationLibrary/AnimatedLabel.js"> </script>
 | |
| 		<script type = "text/javascript" src = "AnimationLibrary/AnimatedCircle.js"> </script>
 | |
| 		<script type = "text/javascript" src = "AnimationLibrary/AnimatedRectangle.js"> </script>
 | |
| 		<script type = "text/javascript" src = "AnimationLibrary/AnimatedLinkedList.js"> </script>
 | |
| 		<script type = "text/javascript" src = "AnimationLibrary/HighlightCircle.js"> </script>
 | |
| 		<script type = "text/javascript" src = "AnimationLibrary/Line.js"> </script>
 | |
| 		<script type = "text/javascript" src = "AnimationLibrary/ObjectManager.js"> </script>
 | |
| 		<script type = "text/javascript" src = "AnimationLibrary/AnimationMain.js"> </script>
 | |
| 		<script type = "text/javascript" src = "AlgorithmLibrary/Algorithm.js"> </script>
 | |
| 		<script type = "text/javascript" src = "AlgorithmLibrary/ComparisonSort.js"> </script> 
 | |
| 	 </head> 
 | |
| 	
 | |
| 	<body onload="init();"  class="VisualizationMainPage">
 | |
| 		
 | |
| 		<div id = "container">
 | |
| 			
 | |
| 			<div id="header">  
 | |
| 				<h1>Comparison Sorting Algorithms</h1>
 | |
| 			</div>
 | |
| 			
 | |
| 			<div id = "mainContent"> 
 | |
| 				
 | |
| 				<div id = "algoControlSection">
 | |
| 					<!-- Table for buttons to control specific animation (insert/find/etc) -->
 | |
| 					<!-- (filled in by javascript code specific to the animtion) -->
 | |
| 					<table id="AlgorithmSpecificControls"> </table> 
 | |
| 				</div>
 | |
| 					<!-- Drawing canvas where all animation is done.  Note:  can be resized in code -->
 | |
| 									
 | |
| 				<canvas id="canvas" width="1000" height="500"></canvas>
 | |
| 
 | |
| 				<div id = "generalAnimationControlSection">
 | |
| 					<!-- Table for buttons to control general animation (play/pause/undo/etc) ->
 | |
| 					<!-- (filled in by javascript code, specifically AnimationMain.js)  -->
 | |
| 
 | |
| 					<table id="GeneralAnimationControls">  </table>		
 | |
| 				</div>
 | |
| 
 | |
| 				
 | |
| 			</div> <!-- mainContent -->
 | |
| 			
 | |
| 			<div id="footer">  
 | |
| 				<p><a href="Algorithms.html">首页</a></p>
 | |
| 			</div>
 | |
| 
 | |
| 		</div><!-- container -->
 | |
| 	</body>
 | |
| </html>
 |