<html>
<head>
<script type="text/javascript" src="js/Hydra.js"></script>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="js/sampleModule.js"></script>
<script type="text/javascript" src="js/sampleModule2.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$("#launchModule").click(function () {
Hydra.module.start("single");
Hydra.module.start("single2");
return false;
});
});
</script>
</head>
<body>
<h1>Hydra.js - Two Modules -</h1>
<p>
<a href='#' id='launchModule'>Start Modules</a>
</p>
</body>
</html> |