Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Search and hideSearch functionality

  • Loading branch information...
commit 9b5bf467f16c433e2fbab0cea81ddc5479d51c3d 1 parent b8e3b94
Kerri Shotts kerrishotts authored

Showing 1 changed file with 7 additions and 2 deletions. Show diff stats Hide diff stats

  1. +7 2 www/index.html
9 www/index.html
@@ -42,7 +42,7 @@
42 42 <script src="./bibles/grlex.js" type="application/javascript"></script>
43 43
44 44 </head>
45   - <body class="ipad landscape" id="pnlBody" ontouchmove="BlockMove(event);" >
  45 + <body class="ipad landscape" id="pnlBody" onouchmove="BlockMove(event);" >
46 46 <div class="panel" id="menuPanel">
47 47 <div class="arrow"><span></span></div>
48 48 <div class="navBar" id="navMainArea">
@@ -61,7 +61,7 @@
61 61 </div>
62 62 <a id="btnBack" href="javascript:loadContent (returnTo.pop(), updateMainMenuandTabBar, 'slideBack')" class="button back black"><span></span>Back</a>
63 63 <a id="btnMenu" href="javascript:toggleMenu ()" class="button black"><span>&nbsp;</span></a>
64   - <form onsubmit="doSearch(); return false;"><div id="theSearch"><span class="searchIcon"></span><input id="txtSearch" type="search" size=20 /><span onclick="$('txtSearch').value='';" id="btnClearSearch" class="clearSearch"></span></div></form>
  64 + <form onsubmit="doSearch(); return false;"><div id="theSearch"><span class="searchIcon"></span><input onFocus="focusSearch();" onBlur="blurSearch();" id="txtSearch" type="search" size=20 /><span onclick="$('txtSearch').value='';" id="btnClearSearch" class="clearSearch"></span></div></form>
65 65 <a id="btnEdit" href="javascript:editButton ()" class="button black">Edit</a>
66 66 </div>
67 67 <div class="container scroll scrollable" id="pnlBodyArea" >
@@ -73,6 +73,7 @@
73 73 <!-- this to be replaced by content at startup -->
74 74 </div>
75 75 <div style="clear: both;"></div>
  76 + <div id="hideSearch" onclick="$('txtSearch').blur();"></div>
76 77 </div>
77 78 </div>
78 79 </div>
@@ -92,6 +93,10 @@
92 93 <form>
93 94 <textarea id="nw_txtNote" rows=10 cols=40></textarea>
94 95 </form>
  96 + <div id="nw_iPhoneBar" class="iphoneOnly">
  97 + <a id="nw_btnCancel2" href="javascript:cancelNotes();" class="button black">Cancel</a>
  98 + <a id="nw_btnSave2" href="javascript:saveNotes();" class="button black" style="float: right; margin-right:10px;">Save</a>
  99 + </div>
95 100 </div>
96 101 </div>
97 102 </div>

0 comments on commit 9b5bf46

Please sign in to comment.
Something went wrong with that request. Please try again.