bug fixes, added error checking, UI tweaks.

This commit is contained in:
jwall@VAPPRCSN015.vap.local 2011-11-03 11:22:11 -04:00
parent 9dbd223271
commit a3b48d7eb4
3 changed files with 1018 additions and 939 deletions

View File

@ -1,30 +1,29 @@
body {
background: #fff; /* #dde */
margin: 0;
font: 11px verdana;
}
.post {
/* might we need to align this center and everything else left in order to get the query box centered in IE? */
font-family: verdana;
}
em {font-style: normal;}
#query {
background: #ddd;
color: #666;
margin: 0 auto 40px auto;
padding: 9px;
font: 14px verdana;
font-size: 14px;
font-weight: bold;
text-align: center;
width: 75%;
border: 2px solid #999;
}
#query #searchvalue
{
color: darkgray;
color: #777;
width: 100%;
height: 50px;
height: 70px;
margin-left: 6px;
font-size: 18px;
font-family: georgia;
}
h1 {
color: navy;
@ -41,26 +40,17 @@ h1 span {
color: #999;
}
h3 {
font: 12px verdana;
font: 18px verdana;
font-weight: bold;
xborder-bottom: 1px solid darkgray;
background: #ccc;
padding: 5px 10px;
padding: 5px 5px 0 5px;
margin: 0;
}
#main {
margin: 0 3px 0 3px;
}
#searchresultswrap {
font: 11px verdana;
font: 18px verdana;
width: 30%;
float: left;
border: 0px solid #ccc;
border-left-width: 0;
margin-right: 1px;
background: #eee;
}
#searchresultswrap h3 {
margin: 0;
@ -68,16 +58,19 @@ h3 {
border-right: 2px solid #999;
border-top: 2px solid #999;
border-left: 2px solid #999;
margin-right: 12px;
}
#searchresults {
xmargin-right: 10px;
padding: 10px;
padding: 0 10px 10px 10px;
overflow:scroll;
height: 700px;
height: 800px;
border-right: 2px solid #999;
border-bottom: 2px solid #999;
border-left: 2px solid #999;
margin-right: 12px;
background: #eee;
}
#searchresults ul {
margin: 0;
@ -107,38 +100,31 @@ h3 {
{
background-color: #fff;
}
#resultwrap {
width: 70%;
float: left;
background: white;
font: 18px georgia;
color: #000;
}
#resultwrap h3 {
margin: 0;
font: 18px georgia;
background: white;
font-weight: bold;
padding: 0 10px;
}
#resultwrap center { /* nav */
xmargin: 10px 20px;
font: 10px verdana;
display: block;
xbackground: #eef;
padding: 10px 10px;
}
#result {
font: 21px georgia;
margin: 0 0 12px 12px;
padding: 0 12px 0 0;
line-height: 200%;
}
#result a {
color: Maroon;
text-decoration: none;
border-bottom: 1px dotted darkgray;
_border-bottom: 1px solid lightgray; /* IE */
color: #000;
}
#result a:hover {
border-bottom: 1px solid blue;

View File

@ -1,6 +1,5 @@
<!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>
<link rel="shortcut icon" type="image/ico" href="http://walljm.com/favicon.ico" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="author" content="Jason Wall" />
<meta name="PBO.auth" content="8bff0c5d7a8f61d1e5dfa6c58da67c2b" />
@ -18,7 +17,7 @@
<script type="text/javascript">
$(document).ready(function()
{
$(".search").submit(function()
$("#searchform").submit(function()
{
Search($("#searchvalue").val());
return false;
@ -31,33 +30,25 @@
</style>
</head>
<body>
<div id="main">
<div class="post">
<h1>King James Bible <span>with Strong's Numbers and Cross References</span></h1>
<form class="search">
<div id="query" align="center" class="biggerrounded">
<table style="width: 100%">
<tr>
<td>
<input id="searchvalue" type="search" results="10" onfocus="if (this.value=='Reference or search words') {this.value='';this.style.color='black';}" xonblur="if(this.value=='') {this.value='Reference or search words';this.style.color='darkgray';}" value="Reference or search words" />
</td>
<td style="width: 100px;">
<input value="Search" type="submit" style="height: 52px; width: 90px;" />
</td>
</tr>
<table style="width: 100%; padding: 12px;">
<tr>
<td style="width: 400px;"><h1>King James Bible <span>with Strong's Numbers and Cross References</span></h1></td>
<td id="query" align="center">
<table style="width: 100%;">
<tr><form id="searchform">
<td><input id="searchvalue" type="search" results="10" onfocus="if (this.value=='Reference or search words') {this.value='';this.style.color='black';}" xonblur="if(this.value=='') {this.value='Reference or search words';this.style.color='darkgray';}" value="Reference or search words" /></td>
<td style="width: 100px;"><input value="Search" type="submit" style="height: 72px; width: 90px;" id="searchbtn" /></td>
</form></tr>
</table>
</div>
</form>
<div id="searchresultswrap" class="rounded">
<h3>Search Results <span id="searchTotal"></span></h3>
<div id="searchresults"></div>
</div>
</td>
</tr>
</table>
<div id="resultwrap">
<div id="result"></div>
<br />
<br />
</div>
</div>
</div>
<div id="searchresultswrap" class="rounded">
<h3>Search Results: <span id="searchTotal"></span></h3>
<div id="searchresults"></div>
</div>
</body>
</html>

File diff suppressed because it is too large Load Diff