[Ubuntu-be] Questions on support points / os free shop list website

mongolito404 mongolito404 at gmail.com
Mon Oct 16 08:39:52 BST 2006


Concerning Javascript, mly feeling is that we may (and probably must)
use JS to enhance user experience through a better and more reactive
UI, but that we shoudl also be sure that disabled JS browser may
access all the info. For instance, it means that a list of supporter
with localisation must accessible without JS, but it may not be on a
(google) map.

As a software developper, I think the best method, is to have clean
XHTML only UI that works. And then add JS to enhance the UI. The
continue with the supporter list example, it means that the map and
the text list could be the same page. If the text list is embedded in
a div with a know id, a JS enabled borwser could immediadly hide it
(with a simple JS statement at the very beginning of the XHTML
document) and initialise a the Google Map in another div (also witha
know id). Then, if the text list is cleanly defined using XHTML
semantics (and a bit of microformat), the JS could use the hidden div
as "data source" to populate the map with markers. If the list/map
presents a search forms, the default non-Js behaviour could be to
submit (GET or POST) the form an doing a full refresh, while a JS
script could modify the form to use AJAX to update the map/list with
doing a full reload. This way, there is only one server-side and all
browser depended works is done by the browser.

On 10/15/06, Yannick Kalokerinos <the_guitardude999 at hotmail.com> wrote:
> Hi Toni,
> 1.
> Javascript can certainly boost the speed and richness of your pages but you
> must be aware that a lot of people have disabled javascript or at least
> limited it in there browser.
> So if you use javascript you have to make sure everything can also function
> without it. For example: u can make an advanced menu by using javascript
> functions like 'onclick()' and 'onmousover()' but the menu should also have
> html links (with the 'a' anchor).
> I try to use as less javascript as possible but sometimes it's just the best
> choice, especially when checking large forms for correct input, etc..
> 2.
> I don't think you should pay too much attention to 'website usability
> guidelines'. Usually, when developing a website, common sense is more
> important than rules like the 'two-clicks-rule'.
> But off course that's just an opinion.
> I hope this was helfpul for you.
> Bye,
> Yannick
> >From: Toni Van Remortel <ToniVR at telenet.be>
> >Reply-To: ToniVR at telenet.be, Ubuntu Belgium <ubuntu-be at lists.ubuntu.com>
> >To: Ubuntu Belgium <ubuntu-be at lists.ubuntu.com>
> >Subject: [Ubuntu-be] Questions on support points / os free shop list
> >website
> >Date: Sun, 15 Oct 2006 15:57:21 +0200
> >
> >Hi all,
> >
> >As we (Pierre and I) are developing the website for support points and
> >os free shops list, I have some questions:
> >
> >1)
> >The use of Javascript allows a much richer website, but in the open
> >source community, Javascript isn't very popular due to it's relative
> >undefined standard.
> >How much work should be done on Javascript/non-Javascript compatibility?
> >
> >2)
> >An unwritten guideline in webdesign tells us that any information should
> >be findable with 2 clicks (not counting any search option).
> >Should this guideline be followed?
> >
> >That will be all for now :-)
> >
> >Regards,
> >--
> >Toni Van Remortel <ToniVR at telenet.be>
> >
> >
> >--
> >ubuntu-be mailing list
> >ubuntu-be at lists.ubuntu.com
> >https://lists.ubuntu.com/mailman/listinfo/ubuntu-be
> --
> ubuntu-be mailing list
> ubuntu-be at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-be

mongolito404, king of the mongolian people

More information about the ubuntu-be mailing list