This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: kawa web-site changes
- From: Per Bothner <per at bothner dot com>
- To: kawa at sourceware dot org
- Date: Mon, 10 Nov 2014 17:16:03 -0800
- Subject: Re: kawa web-site changes
- Authentication-results: sourceware.org; auth=none
- References: <5452BF52 dot 3020405 at bothner dot com> <5461276E dot 5040009 at bothner dot com>
On 11/10/2014 01:00 PM, Per Bothner wrote:
Please take another look at http://per.bothner.com/tmp/kawa/index.html
and compare it to http://www.gnu.org/software/kawa/ .
Jamison Hope pointed out problems with browsing on an iPhone - which
I verified on our Android phones:
The logic for switching to single column mode doesn't work on phone browsers
(either Mobile Safari or Google Chrome on iPhone; Firefox or Chrome on Android).
The code would check if the window with is less than 700. The problem is that the window size
as reported by JavaScript is 980 - bigger than the physical screen size. The solution
is to also check screen.window.availWidth.
I updated http://per.bothner.com/tmp/kawa/style/utils.js with this fix.
Please try the web-site on various devices and browsers.
An annoyance is that when you navigate to a page you have to scroll page all the links.
I don't know a good solution for that. An alternative might be an explicit button
to show or hide the navigation bar. I just discovered DocBook WebHelp, which does that:
http://docbook.sourceforge.net/release/xsl/current/webhelp/docs/index.html
(DocBook WebHelp is conceptually similar to Kawa's web site, with an addition
that they generate a search index, which can be used off-line. If this project
was available when I re-did the Kawa web site I would probably have used it.)
--
--Per Bothner
per@bothner.com http://per.bothner.com/