[Slackbuilds-users] for christmas.... i would like...
Jeremy Hansen
jebrhansen+SBo at gmail.com
Thu Jan 4 14:06:27 UTC 2018
On Thu, Jan 4, 2018, 4:51 AM Willy Sudiarto Raharjo <willysr at slackbuilds.org>
wrote:
> > 7. Make it so the cursor defaults to the search box on the SBo homepage.
> So
> > many times I'll type out the address (or start typing and let
> autocomplete
> > finish it), hit enter to load the page, then start typing the program
> name
> > only to remember I need to grab the mouse and click on the search box
> before
> > I can type again.
> >
> > A quick local test on my server with your homework code shows you can
> just
> > add autofocus="autofocus" inside the input tag for the search box.
> >
> > Thanks for everyone involved with SBo, both the admins and maintainers.
> > Merry Christmas to all!
>
> Hi Jeremy
>
> I'm afraid, autofocus="autofocus" is only for HTML5, while we are
> still using XHTML 1.0 Strict for the document type.
> When we tried to validate on W3C, it returns some errors, so we
> changed the solution, but you get the same results.
>
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.
Thanks for finding an alternate.
Jeremy
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20180104/3208bdb2/attachment.html>
More information about the SlackBuilds-users
mailing list