Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

>However, there are a few times when a slider is warranted and even a Better UI choice: > >To switch back and forth between two states that both need to be described, such as a slider in your blog’s control panel with “Published | Unpublished” as the choices for the article draft you’re working on.

But we already have a UI element for that. In HTML, it's known as a "select" input, and it works very well, is extremely compact, and is already familiar to your users.

In fact, if you set the "size" attribute, then it even has the "window" functionality described in this article. The window typically is shown with no border, and it doesn't look as fancy, but other than that, it is exactly the same concept.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: