...

View Full Version : The Power of Script



posinot
10-29-2004, 09:58 AM
How might JS best be used to enhance the user experience?

Let's make a list...

jbot
10-29-2004, 10:28 AM
>> form validation - for usability only, not for data validation (that still needs to be done serverside).

>> navigation systems - DHTML menus and jump box menus.

>> XML over HTTP - XMLHttpRequest (Moz) and XmlHttp (IE/Jscript/ActiveX). for example, GMail.

>> RTE controls, eg Mozile, this forum, etc.

Roy Sinclair
10-29-2004, 05:49 PM
By not making a navigation system that depends on javascript. It's ok to use it to enhance navigation but if the navigation is made javascript dependant then javascript hasn't enhanced the user experience.

This "navigation" principle can in fact be extended to any use of javascript.

jbot
10-29-2004, 05:57 PM
By not making a navigation system that depends on javascript. It's ok to use it to enhance navigation but if the navigation is made javascript dependant then javascript hasn't enhanced the user experience.


i didn't mean in terms of supplanting it. but having DHTML menus as opposed to a huge side list of links is infinitely more preferable. furthermore, you can still have DHTML menus and still cater for non-JS users. the trigger link in the menubar takes those users to a menu or contents page from which they can still make they their navigational choices.

the way you wrote your qualifier, roy, made it sound as tho DHTML menus aren't worth it because some users won't be able to use them. there are always work-arounds. but just because some people can't use something, doesn't mean no one should have the benefit of it. all it means, is you cater for both. simple.

posinot
10-30-2004, 02:08 AM
>> conversions and other calculations

posinot
10-30-2004, 08:31 AM
Ok, we have:


basic validation
compact navigation
basic text editing
XML automation
various calculations

anything else?

fci
10-30-2004, 09:34 AM
- improved usability
- editing HTML live on a page

jbot already said that stuff ^ but phrased it slightly differently though.
IMO, JS generally shouldn't be overused.. but at the same time it shouldn't be underused.
Gmail is a good example of where JS was used very wisely.. Hotmail on the other hand uses JS in a more irritating fashion..

posinot
10-30-2004, 09:47 AM
Improved usability examples...

I can think of one: persisting the hover style of a link when clicked, so that one can easily see where they were, when returning to a list of hyperlinks.

any others?

fci
10-30-2004, 10:00 AM
I have a question.. why are you so curious? I would say most of the reasons seem obvious.

posinot
10-30-2004, 10:13 AM
Think back; was this all obvious to you before you knew it? I'm willing to concede that there are many things which I do not know, hence the curiosity.

posinot
10-30-2004, 11:27 AM
I suspect that "improved usability" referred to what was already mentioned; my example related to menus; and the xml thing doesn't actually do much for the user.

As it stands, we have determined that JS can be incorporated to provide four levels of enhancement to the user experience.

posinot
10-31-2004, 06:55 AM
So be it.

I thank you all for the wonderfully imaginative responses!

SpiritualStorms
10-31-2004, 10:44 AM
LOL...........LOL. No problem.....LOL

jbot
11-01-2004, 12:53 AM
xml doesn't actually do much for the user.

yes, it does. that's how Gmail works and why it is so usable. by using JS to access and read xml, there are less round trips to the server and therefore the user get's a much better experience.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum