a scripting language that allows web pages to present dynamic content to users, such as validation of web forms or automatic saving of data to reduce frustration or to allow visual effects otherwise impossible with HTML.

learn more… | top users | synonyms

22
votes
4answers
2k views

How to tell visitors to activate JavaScript?

How should one tell website visitors that a website makes heavy use of JavaScript?
22
votes
10answers
3k views

Is it ok to require certain users to have JavaScript enabled?

I am a firm believer sites should work perfectly fine for people who choose to disable Javascript while browsing any and all of the content. However, when it comes to higher-level interaction (such ...
13
votes
4answers
360 views

Is it ok to add content when the users selects and “copies” something on the page?

Some websites (using tools like tynt) have started to add something a little surprising at first : When the reader copies part of the article or blog post, something, say the url of the piece, is ...
10
votes
3answers
614 views

Pros/Cons of date- and datetimepickers [closed]

What pros and cons do you experience when using datepickers in web forms or software? What do you think is missing sometimes? What bugs you when using a datepicker? I want to know, either from ...
10
votes
2answers
450 views

Whats the best way to present a time duration to user?

We're trying to implement the most effective method of displaying duration it takes for user to complete a puzzle. Looking for simplicity and accuracy. I've added two examples that we've been working ...
9
votes
9answers
1k views

Drawbacks of auto “focusing” on a web page's text field (JavaScript)

Do you guys know any drawback of focusing on a text field on a web page ? It's pretty useful when you know users will use this text field more than others (like on the google homepage), but it's a bit ...
9
votes
3answers
5k views

Best design for displaying list under a list of items ?

I have a list of items in a database and i display 10 items with some additional details at a time(as table rows). I use next & previous buttons to fetch the remaining items. This part has been ...
9
votes
2answers
843 views

Generic clientside form validation

I'm the author of the jQuery Form Validation plugin, which I started writing in 2006. Since then I've put quite some effort into improving the default interaction, without the developer using the ...
8
votes
2answers
241 views

What's the official name of concept of input boxes with tags?

I'm looking for an implementation and the (official) name of this kind of control where it's a inputbox where we can add multiple tags into it. By example, it is used in JIRA like this capture (and ...
8
votes
3answers
269 views

Should I use javascript cookies in lieu of autofill where autofill is unreliable?

Autofill is a good option for users who don't have an account. But it seems that how browsers determine how they'll implement autofill information varies. I'm not surprised of course. In Chrome, it's ...
8
votes
4answers
358 views

Looking for advice regarding a Web design involving 3-dimensional lists

I hope this is the right place for Web design advice; considering StackOverflow also, but not sure if pure design questions are welcome there? I'm trying to design a Web page that is to display ...
7
votes
2answers
209 views

browser geolocation: offer to user automatically?

I have web where content depends a lot on users geolocation. So it would be really nice to use W3C Geolocation API. When I do that, user is asked by browser authorization bar whether allow geolocation ...
6
votes
1answer
10k views

What is the official JavaScript logo/icon? [closed]

Is there an official JavaScript logo/icon or there is no official logo or icon at all? If not, which icon do you consider to be the most representative when refering to JavaScript? I am just curious, ...
6
votes
1answer
106 views

Notify users with deactivated JavaScript that “secondary” functionality is missing?

On http://xmpp.org/xmpp-protocols/xmpp-extensions/ there is a table listing items with different statuses (active, obsolete, final, …). When JavaScript is activated, there is a filter widget above ...
5
votes
3answers
314 views

At what point do I throw graceful degradation to the wind?

For a feature I'm currently working on implementing on my application (a pretty standard feature), it seems like I have to essentially disregard "graceful degradation." I'm referring, of course, to a ...
5
votes
4answers
1k views

Should i optimize my website for non-javascript users?

I have been working on a website which relies mainly on Ajax calls and jQuery to provide a rich user interface. Though the site looks just fine without JavaScript enabled. Some Features like Login and ...
5
votes
3answers
565 views

Should animations pause on mouseover?

Should animations pause on mouseover? I have my opinion, but I was wondering if there was any evidence to support/refute the idea that users expect this to happen. EDIT: I'm specifically concerned ...
5
votes
3answers
344 views

Flipping cards, good or bad idea?

I want to implement flipping cards on my website because they look awesome and they allow the user to see more information on hover. However I started to think it was a bad idea because instead of ...
5
votes
4answers
970 views

User-friendlier dropdowns with hoverIntent?

Is it a good idea to use hoverIntent (which introduces a slight movement-predicted delay to prevent accidental hover-offs) for user-friendlier dropdowns? ...
5
votes
1answer
372 views

Best Practices in keyboard navigation of JavaScript Controls?

Apparently "best practice" when creating DHTML widgets, such as menus etc., is to allow users to navigate to the widget using the tab key, and navigate within the widget using arrow keys. This follows ...
4
votes
4answers
245 views

Color-coding percentages, how should I interpret a result of 0/0 (as 0% or as 100%)?

I am making a report that requires me to display some calculations as a percentage. Basically, I'm doing a database query for records matching a specific ID. The number returned becomes my denominator ...
4
votes
5answers
3k views

Auto focus on the first form field; done right? [closed]

I want to add a bit to the flow of users, by making the first form field auto focus on page load. Initially the auto focus scares me a bit (sometimes called offensive). But as said in that Q&A, ...
4
votes
2answers
363 views

What happens when the focus rectangle isn't clear?

I get a lot of clients that comment that the focus box isn't obvious enough in some browsers. Is it common and good practice to make it more obvious? If so, how exactly do people do this?
4
votes
1answer
247 views

Javascript and 508

I was wondering if someone has a article of common practices a web developer should practice while using Javascript on a web page, keeping in mind the web page should be 508 compliant. I saw some ...
4
votes
3answers
337 views

Decline in JavaScript prompt() usage?

I've been seeing less and less use of javascript's prompt function. I find it very useful but I was curious as to why the decline of usage. I see something very similar to it used everyday ( iOS ...
4
votes
2answers
249 views

What's the convenient key do delete something on Mac?

I've developed a paint application on the web using HTML5 Canvas element and JavaScript. The user can select stuff he drew and then delete it using the Delete key on Windows (which is convenient in ...
3
votes
5answers
4k views

How to display the hierarchical data [closed]

Some real ui javascript library wanted! I have to display some hierarchical data on the web page. It should not be a classical tree view with the text items. I am looking for a graphical ...
3
votes
8answers
1k views

Should a website UI designer know Javascript/JQuery as well as HTML & CSS?

My problem is this, that few people mention that a UI designer should not have knowledge of JavaScript they should only know html and css. But I believe that a UI designer should also have knowledge ...
3
votes
3answers
461 views

When filling out a form to what extent should validation be done while the user is still typing?

I'm working on a registration form and it validates some parts while the user is still typing. For example, the username is being checked after each character is entered to see if it is available or ...
3
votes
1answer
2k views

Telling users passwords don't match and aren't strong enough

I have two functions in my user registration form One checks the password and confirmed password are the same. The other checks if the password is strong enough. I have two presentation related ...
3
votes
9answers
1k views

What would be the benefits of knowing JavaScript as a UI/UX designer?

I'm a UI/UX designer and work for a start-up creating a web-based application serving a specific target audience. Although not required for my job, I'm trying to teach myself JavaScript and would like ...
3
votes
2answers
276 views

Are one-page web apps always better?

Does anyone have some instances or cases where onepage web applications (for example, a lot of AngularJS apps) are inferior to full loading pages? I'm not including technology, SEO, etc. Only from a ...
3
votes
2answers
132 views

Static tooltips vs tooltips that follow the mouse

This is for a debug app (programming) that prints additional information when the mouse is over a certain element. For example, the app can display a list of class methods. When the user mouse over a ...
3
votes
2answers
111 views

When you have a side panel open, and the user scrolls, is it better to leave it open or to auto close the panel?

Say you have a side menu that opens from one side after clicking on an icon in a website. This menu would take more than 40% of the view-port in the horizontal direction. If the user scrolls down, is ...
3
votes
1answer
269 views

Multi-pane code editor with preview: help me find a good compromise between usability and complexity

I am creating a simple web site/app for testing JavScript code in the browser, similar to jsbin.com, jsfiddle.net, and tinkerbin.com. The usual approach is to have 3 code editors (for JS, CSS, and ...
2
votes
5answers
174 views

Speed enhancement at the expense of not working with JS turned off

I have an image gallery that currently loads the images using standard img tags and since it has a lot of large images it loads quite slow. I can speed things up by having the gallery script ...
2
votes
3answers
217 views

Is it good UX or bad UX to prevent people from disabling javascript? [closed]

I realise that I am no longer able to disable javascript from the preference setting of FireFox browser 27.0. As a developer, I always think about graceful degradation for my users. And I know how to ...
2
votes
2answers
257 views

Right mouse click, choose delete on website

I'm implementing a javascript folder tree with basic explorer function: add/update/delete. It's like this: [Menu] Add new school +School A -- Class A1 -- Classs A2 -----Student Tom +School B -- ...
2
votes
1answer
591 views

Changing the behavior of the arrow keys with JavaScript

In the context of a widget on a website, what is the preferred way of changing the behavior of the arrow keys with JavaScript? The user can't scroll with the arrow keys and can use the arrow keys in ...
2
votes
2answers
121 views

When going back to previous page may cause disorder

Let's suppose a page listing items whose URL would be: /items. Its content is loaded through Ajax at the page's initialization time, thus not directly populated on server initially. Each item ...
2
votes
1answer
45 views

Name for JS UI Component

There's a text-dragging UI component I want to use, which can be seen in detail here (drag the cookies!). This is a pretty common idea, and is used a lot in native production applications. I would ...
2
votes
1answer
189 views

Gallery Lightbox

What do you think of letting one image open a gallery instead of a single image where one can show next and previous (regular lightbox)? I'm thinking something like this: ...or something like ...
2
votes
1answer
83 views

With respect to creating circles, what are the pros and cons of the following methods? [closed]

I am making a website in which the home page will have 5 circles each linking to a category of items (e.g. cities, phones, etc.). The user will click on circle to go to the specific page for that ...
2
votes
0answers
199 views

What is the new user interface that services like Google/Google+ are using? [duplicate]

Possible Duplicate: What is the top navigation called when it is common to a network or suite of websites? Recently Google/Google+ and other services have adjusted their menus to the top of ...
1
vote
2answers
2k views

Panorama viewers based on Javascript [closed]

Are there panorama viewers out there that are not Flash, Silverlight, Java or Quicktime based? Is anyone on this list working on one of these or using one? :) I want to be able to program hotspots ...
1
vote
3answers
196 views

How to make the switch from full stack dev to UI/UX developer? And, do UI/UX devs exist?

Some background info: I am a junior .Net MVC developer who is great at nothing but good at everything. All my development experience up to this point has been full stack which is great because I ...
1
vote
3answers
347 views

What happens in a web browser when a download is started via Javascript?

In a web browser, a download can be initiated immediately after user input, or started via Javascript after a set amount of time and/or being redirected to another page. I want to provide users with ...
1
vote
3answers
121 views

Degrading select/filters when no javascript

I have a small question. How do you gracefully degrade select filters? Example, With ajax you might have a State select and then a City select under it that would show the cities of the selected ...
1
vote
1answer
117 views

Optimal way to handle multiple many-to-one attributes in a grid control

We are working in web app where we have parent records that have multiple attributes that have many-to-one attribute values tied to them. We are attempting to list these parent records in a grid ...
1
vote
1answer
149 views

Do dynamic height changes jar users on web page load?

When a web site loads, sometimes an element's height needs to be determined dynamically with javascript. This can happen with a responsive design where the width of a fluid element is not known until ...