<div class="gmail_quote"><div dir="ltr">On Thu, Jan 4, 2018, 4:51 AM Willy Sudiarto Raharjo <<a href="mailto:willysr@slackbuilds.org">willysr@slackbuilds.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> 7. Make it so the cursor defaults to the search box on the SBo homepage. So<br>
> many times I'll type out the address (or start typing and let autocomplete<br>
> finish it), hit enter to load the page, then start typing the program name<br>
> only to remember I need to grab the mouse and click on the search box before<br>
> I can type again.<br>
><br>
> A quick local test on my server with your homework code shows you can just<br>
> add autofocus="autofocus" inside the input tag for the search box.<br>
><br>
> Thanks for everyone involved with SBo, both the admins and maintainers.<br>
> Merry Christmas to all!<br>
<br>
Hi Jeremy<br>
<br>
I'm afraid, autofocus="autofocus" is only for HTML5, while we are<br>
still using XHTML 1.0 Strict for the document type.<br>
When we tried to validate on W3C, it returns some errors, so we<br>
changed the solution, but you get the same results.<br></blockquote></div><div><br></div><div>I didn't even think about checking validation. I haven't done web development in quite a few years. I saw it was an HTML5 thing and so I checked it on my server to see if it'd work, but I forgot about validating it.</div><div><br></div><div>Thanks for finding an alternate.</div><div>Jeremy</div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div>