user-interface

What is the best metaphor of AND and OR for searching?

As programmers, we are all aware of the differences between AND and OR (junction and union). I'm building a website that list properties and I'm really struggling on the search part. I want the user to be able to search using checkbox, but some criteria make more sense using AND and other using OR. For example, show properties that hav...

Cocoa focus ring color animation

I want to use a focus ring animation as an indicator of incorrect data in field. So I'm sending becomeFirstResponder: to field and want focus ring to fade from red to default color. I'm wrestling with Core Animation but still have not found any way to do it. Is it possible? ...

Loading jQuery Dialog changes Browser viewport Focus

I am loading a jQuery UI window a few scrolls down from the top of the page. When it opens the Browser resets it's position to the top of the page. If it helps just prior to the dialog loading I am inserting some HTML into the page (html for the dialog). Does anyone know how to stop this? Edit The answer on the question guessed what...

How to populate listview with a lot of information without blocking?

Hi there! I am creating an array of ListViewItems on a background thread and then i populate my listview with it on the ui thread. The problem is that if the array is too big the ui blocks while the listview is updated. Is there a way to populate the listview with a small impact on the ui? ...

Standard margins between controls and standard control sizes

For example, Windows Forms Designer offers to place my controls on the form the way there are 12 pixels between form border and control border. It seems too much to me. Is it standard value? Also, as I understand standard button height should be 23 pixels. Am I right? Is there any documents that state all this? And can I setup this defau...

Generic Question: Thoughts on soft keyboard UI for mobile devices

Yo, so I was curious about your thoughts about your preferences on soft keyboards for mobile devices. Are there any particularly innovative ones that you like? By the way, my ulterior motive for asking this question was to look up one particular instance that I heard about, oh 10-ish months ago. Basically, you type with your finger con...

Why would you need a "Valid XHTML & CSS" notice at the end of a page

I've seen this in the footer of various websites, most of them non-technical websites. Some websites go even further and include a W3C badge stating the fact. I don't see how this can be of any help to the targeted audience. ...

ASP.NET MVC Rich Text Editor

Goal The goal of this wiki entry is to create a comprehensive list of available rich text editors for err... traditional websites. By traditional we mean anything that isn't asp.net with server controls and viewstate. Open source and commercial options are both viable for discussion. Why This Wiki I have found bits and pieces of use...

Optional Entries: How do you Design for completion and reduced abandonment?

This is my first post on here though I read and browsed several questions. I am not sure if this has been asked before...Related Questions didn't seem to have anything with the GUI but optional parameters in language. Anyway, here are the question: Q) How do you design/develop a form with a few optional entries in the form? One option...

Is there a way to programmatically determine the proper sizes for Apple's built-in controls?

When writing Cocoa apps, I do the majority of the user interface layout programmatically. For example: NSRect popUpFrame = NSMakeRect(10, 10, 100, kDefaultPopUpButtonHeight); NSPopUpButton * popUp = [[NSPopUpButton alloc] initWithFrame:popUpFrame]; //... My question is about that kDefaultPopUpButtonHeight constant. I currently maintai...

How to display messages to the user after a POST + HTTP redirect

I’m using the PRG pattern to avoid multiple form submission. It has, however, a serious drawback — you cannot simply echo the confirmation message to the user (obviously, the user won’t see the page, he will be redirected to another one). What are the solutions to this problem? I know two of them, but none of them seems perfect. Use a...

How to page through large amounts of historical data via a web application?

I have a web application that functions as a dashboard, allowing a user to see summaries of historical data to view trends, etc. As an extension to this, I want to allow the user to drill-down into the historical data if they so wish. What this will amount to is a table of time-value pairs, showing the time a particular data point was r...

Share good examples of Web-GUIs

I am probably at the edge of etiquette here since the question is somewhat subjective, and not stricly about programming, but usability - but in the end, what is more important than the usability of the solutions we create? The idea is to "work backwards" from usability to technology: I want to see an impressive Web-GUI (show URL if po...

How do you prevent a rich text box from automatic scrolling, when performing syntax highlighting?

Language = C# .NET version = 3.5 When my code performs syntax highlighting the text appears, to the user, to be scrolling automatically. This becomes a severe problem when there is several hundred lines of text in the rich text box. So, how can I programmatically modify the text's color without causing the user to see anything other ...

jQuery toggle to change image

I have a list of divs with images in them: <div class="wizard-img"><%= image_tag("sources/pix/nyt.png") %></div> <div class="wizard-img"><%= image_tag("sources/pix/theguardian.png") %></div> When a user clicks the div, I'd like it to change the image to x-on.png, when clicked again, it'll change to x-off.png, and when clicked a third ...

sprites vs image slicing

I don't have much experience with the sprite approach to images (http://www.alistapart.com/articles/sprites). Anyone care to share some pros/cons of sprites vs. old-school slices? ...

WPF for non designers

Is delving into Microsoft's WPF worth it for a programmer who does not have design inclinations and no designer on the team? ...

Structuring Memory Viewer Contol in WPF

What is the best way to design a memory viewer control (a la Visual Studio's Memory Window)? The control will be mapped onto a byte array and a value representing the starting address (optionally, the control could be mapped onto an object that interfaces to "memory" directly with read/write methods and events for memory changed). The ...

What roles are available for developers with open-source projects?

I have recently become interested in the possibility of actually attempting to contribute to one of the many open-source projects out there. I'm interested in not only gaining development experience, but also gaining experience tweaking UI's, improving usability, etc. I found this and this regarding getting involved, and there are some g...

JQGrid subgrid Url: Is it possible to change the value of ?Id=id

Hi folks, I'm trying to implement a JqGrid with a subgrid as so... jQuery(document).ready(function() { jQuery("#list").jqGrid({ url: '/OrganizationalUnit/FindAll/', datatype: 'json', mtype: 'GET', colNames: ['Name', 'Actions'], ...