Actually use the modularized js in the index.html file.

This commit is contained in:
Jeremy Wall (zaphar) 2013-04-18 19:02:50 -05:00
parent acefd7d3cd
commit fb3a4af964

View File

@ -11,70 +11,8 @@
<meta name="keywords" content="AJAX, KJV, King James Version, Strong's Dictionary, Strongs" />
<meta name="copyright" content="All content copyrighted to Jason Wall, and available by permission of the owner." />
<title>The Bible with Strong's Numbers and Cross References</title>
<script type="text/javascript" src="js/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="js/jquery.cookie.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.9.1.custom.min.js"></script>
<script type="text/javascript" src="js/bible_ref_parsing.js"></script>
<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript">
$(document).ready(function()
{
$("#searchform").submit(function()
{
Search($("#searchvalue").val());
return false;
});
$("#growfont").click(function()
{
Settings.IncreaseResultFontSize();
return false;
});
$("#shrinkfont").click(function()
{
Settings.DecreaseResultFontSize();
return false;
});
$("#switch-panes").click(function()
{
Settings.SwitchPanes();
return false;
});
$("#showhelp").click(function()
{
$("#help").dialog({draggable:true, width: 700, height: 650, resizable: true});
});
$("#showhidesearch").click(function()
{
Settings.ShowHideSearch();
return false;
});
$("#changefont").change(function()
{
Settings.ChangeResultFont($("#changefont").val());
return false;
});
$("#display-strongs-as-dialog").change(function()
{
Settings.ChangeDisplayStrongsInDialog($("#display-strongs-as-dialog")[0].checked);
return false;
});
$(window).bind("resize", function()
{
$("#searchresults").css("height", window.innerHeight - 200);
return false;
});
$("#searchresults").css("height", window.innerHeight - 200);
// remember the settings...
Settings.Load();
});
</script>
<style>@import "css/bible.css";@import "css/jquery-ui.css";</style>
<style>
</style>
<script data-main="js/main" type="text/javascript" src="js/require-jquery.js"></script>
</head>
<body>
<table style="width: 100%; padding: 12px;">