View Full Version : The Power of Script
10-29-2004, 09:58 AM
How might JS best be used to enhance the user experience?
» Let's make a list...
>> 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.
10-29-2004, 05:49 PM
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.
10-30-2004, 02:08 AM
>> conversions and other calculations
10-30-2004, 08:31 AM
Ok, we have:
basic text editing
- 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..
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.
I have a question.. why are you so curious? I would say most of the reasons seem obvious.
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.
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.
10-31-2004, 06:55 AM
So be it.
I thank you all for the wonderfully imaginative responses!
10-31-2004, 10:44 AM
LOL...........LOL. No problem.....LOL
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.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.