Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The vlasisku lacks default focus on search box and key shortcuts for navigation #9

Closed
DerSaidin opened this issue Jan 11, 2014 · 0 comments

Comments

@DerSaidin
Copy link

(i.e. copy of https://bugs.launchpad.net/vlasisku/+bug/847443 )

<pre>
--- vlasisku.htm Sat Aug 3 13:25:30 2013
+++ vlasisku.htm Sat Aug 3 13:25:48 2013
@@ -21,7 +21,7 @@
       <script type="text/javascript" src="/vlasisku/static/jquery.autocomplete.pack.js"></script>
       <script type="text/javascript" src="/vlasisku/custom.js"></script>
     </head>
- <body>
+ <body onload="try{document.search.query.focus();}catch(e){}">
       <div id="doc3">
         <div id="hd">
           <div id="nav">
@@ -32,7 +32,7 @@
             </ol>
           </div>
           <div>
- <form action="/" method="get" onsubmit="return search();" id="search">
+ <form action="/" method="get" onsubmit="return search();" id="search" name="search">
               <p>
                 <input type="text" value="" size="30" id="query" name="query" accesskey="f" tabindex="1" onfocus="this.select()">
                 <button type="submit"><img src="/vlasisku/static/favicon-16.png" alt=""> Find!</button>
</pre>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant