[OPEN-ILS-DEV] Setting focus to the search box
Ben Ostrowsky
ben at esilibrary.com
Tue Sep 7 08:34:10 EDT 2010
I'm not sure whether this would break anyone's expectations, but I
suspect it might gratify more than it confuses:
Index: Open-ILS/web/opac/skin/default/xml/body.xml
===================================================================
--- Open-ILS/web/opac/skin/default/xml/body.xml (revision 17494)
+++ Open-ILS/web/opac/skin/default/xml/body.xml (working copy)
@@ -1,4 +1,4 @@
-<body class="tundra">
+<body class="tundra" onLoad="document.getElementById('search_box').focus()">
<table width='100%'>
<tbody>
<tr>
In the words of Joel Robinson, "What do you think, sirs?"
Ben
More information about the Open-ils-dev
mailing list