user-interface

Tabs in .NET TabControl/TabPage are Ugly

I am creating tabs in C#'s TabControl, and while that is very easy to do, they are extremely ugly. I did some searching around the internet and found a company that sells graphical improvements to various GUI components in .NET, but that costs $400. Given that I am working on a master's project, that is out of the question, does anybod...

What strategy should I use for multiple room booking selection without JS?

The user requests 2 rooms on the initial page and is then presented with room types to select from on step 2. The arriving and starting dates will always be the same, but the number of adults and children may differ, causing the price to fluctuate. Now, if JS is enabled I think I'll just program it such that it's tab-powered and when yo...

modal dialog in jquery that doesn't block the whole site

how to achieve this? let's say that I have 3 dialogs A, B and C. I can work with them at the same time by having them one next to the other, drag them around, put them one on top of another, etc... now, at some point, the B dialog opens a dialog X. I must still be able to work with dialogs A and C but I must not be able to work with B un...

How do I get a tableview to dynamically display information that was just selected from another tableview?

I am working on an app that displays a schedule. I have no problem displaying the lists of items. My question relates to displaying information on a new tableview that relates to the selection from the last tableview. All while not having to make several hundred tableviews (big list of info). So in short how do I tell iPhone to remem...

IPhone: Creating a Facebook like UI, Skinning Apps, Not following the AHIG

How do you design a UI like Facebook? Is it hard to implement a custom skin into a iphone app? How is it done? Do I need to follow apple's guideline? What if I don't want to? ...

Software To Help Me Reuse Code

I often find myself writing small (5-20 lines) files for things like input validation, reading a URL and so on. In fact, I probably write nearly the same files over and over because I either forget that I've already implemented such functionality in another project or I don't want to have to go searching for that file. I want to know i...

How does the GMail "Loading..." banner work?

Hello all, I am trying to replicate a feature of GMail in my own application. When changing folders in GMail, the display will stay on screen and a small loading banner will appear on the top of the site. This is desirable, since it prevents the screen from going all white and disturbing the users workflow on postback. I have tried to...

jQuery Tools (horizontal accordion) combined with jQuery UI (tabs) ?

Hello everybody and thanks for taking your time. I got an existing project where the main-page uses a horizontal accordion for the main content area from jQuery Tools (the Tabs element). Now i have to implement a Tabs-menu (into one of the existing accordion pages) which is build with jQuery UI (the main container are Tabs and inside o...

How to clear the password / login id fields on load

When i try to create a new user, the following fields (loginId which is an inputText) and (password which is an inputSecret) come with pre-loaded values. How do we clear these fields when the page is loaded <s:decorate id="loginIdField" template="/layout/edit.xhtml"> <ui:define name="label">Desired Login Name</ui:define> ...

jquery UI tabs - drag & drop between tabs? design issue

so my company is finally going to rewrite some pages using jquery. They wanted some sort of a search panel, and when the user clicks on a search result (it could be a plan, a project, an invoice), the result details will open in a new tab. all is good. each search result can contain documents and they want to be able to drag a document ...

The history of appearance of Ctrl-Enter

Is there anybody who knows the history of appearance of Ctrl-Enter hotkey which means "Send"? It is pretty "classic" now. I remember that for the first time I've met that hotkey in ICQ 99, but now almost every IM have such hotkey and many popular social networking sites. Some time ago I was surprised that in the "Commit" dialog of eclips...

Displaying language lists: Which language should I use?

Every once in a while I'm confronted with displaying a list of available languages, and each and every time I ask my self: Is it better to display the language in: the currently selected language English in the language according to the button/list item Examples: English German French or English Deutsch F...

Creating an Outlook style user interface in Java?

I'm looking to create an Outlook style UI in a Java desktop app, with a list of contexts or nodes in a lefthand pane, and the selected context in a pane on the right. How do I go about this? I'm looking for a bit more detail than 'use a JFrame'. A tutorial or walk through would be good, or some skeleton code, or a framework/library tha...

How can I allow a user to re-sort items in a list?

I have an Android app where users can add items to a list, and I'd like them to be able to re-order the items in the list however they want (as opposed to just offering them different sort orders). It's easy enough to add a position setting for the items (they come from the DB) but what kind of UI elements are available for the user to i...

How to determine smallest height of vertical scrollbar?

Other then creating a dummy NSScroller and incrementally decreasing it's height until usableParts returns 0, is there any easy way to determine what the minimum height of a vertical scrollbar should be so that usableParts will not return NSNoScrollerParts? What I need to be able to do is limit the height of my window based, in part, on ...

Adding a popup context menu to words in a Flex TextArea

I'm trying to figure out how to add a popup context menu to words/groups of words in a flex. Basically I'm trying to achieve something similar to the red underline MS Word adds underneath misspelled words. I'd also like to be able to add controls other than menu items to this context menu (checkboxes, lists, buttons, etc...). Thanks f...

jQuery UI Datepicker with jQuery tipsy

Any ideas how to implement tipsy tooltips over jQuery's UI Datepicker? Basically I want to get a tooltip when the user moves on a specific date in the Datepicker. The Datepicker will be displayed inline and always visible. Thanks! ...

iphone/cocoa custom ui element

Hi guys I'm very interested in using the typical mac 'tag' element in an iphone app (see specimen 1 - The Blue round element'). I dont really have any idea of how to implement it except for copying the color and making it a uibutton. I would like to be able to drag this tag from one 'section' to another 'section'. Can someone point me...

HTML renderer drop-in, C++ code

I want to drop in an HTML renderer that will basically be used for render-to-texture operations. If I can render the HTML to an HDC, that would be perfect. I found HTMLayout, which isn't bad. But it isn't open source. But I'm wondering if there's a way to somehow tap into IE or Mozilla/Gecko code, how realisitic/difficult this will b...

The concept of file's owner,first responder, and application delegate in iPhone.

Possible Duplicate: iPhone Interface Builder and Delegates What is the relationship between these three component in the Objective C / iPhone world? I found that the App Delegate have some relationship with the UI and the variable in code. It match the variable and related UI object on the view. But I found that the File's own...