usability

How do I do a list of items in Jquery and get it on server side?

*爱你&永不变心* 提交于 2020-01-15 19:11:50
问题 I'm trying to make a list of items (telephones and dependents for a customer), for example, the user could include some number phones and remove others (maybe edit them if it is possible), like a list inside the record of customer. I'd like to know how can I do it on client side and get the list in server side ? Is there a jquery plugin or a best pratice to do it? P.S.: I'm using ASP.Net MVC 2. 回答1: I keep this example around to get me started, just put the proper stuff in the proper files

Execute jQuery code after all CSS rules have been applied

自闭症网瘾萝莉.ら 提交于 2020-01-11 05:15:09
问题 $(document).ready() executes the code when all HTML elements have been loaded. How to execute jQuery code after all of the CSS rules have been applied? I have few stylesheets linked to the page and it takes some time to load the page. Element layout changes during the time of the loading. For usability purposes I need to correct the element layout after all of them have target sizes. Otherwise I get wrong sizes of those elements. Now I do it on focus or after some timeout, but need this after

Multivariate Testing for Sublayouts in Sitecore

人盡茶涼 提交于 2020-01-02 09:31:48
问题 Having toyed with the concept in the past, I am interested in using multivariate testing on my companies Sitecore website. There are a number of places where I feel we can definitely improve sales through the use of A/B testing in: Running two entirely different templates to see what layouts work better for users Running a number of different Sublayouts (forms) on the site to see which ones people are more likely to fill out Trialling different content - Running two different sets of copy to

What is the most intuitive, usable way of entering a time of day or a duration?

自作多情 提交于 2020-01-01 05:36:11
问题 I'm building a line-of-business application in Silverlight and need to get the user to edit two .NET TimeSpan values. One is a time of day (relative to midnight) and the other is a duration. Currently I'm using two TextBoxes, formatted as hh:mm. This is pretty straightforward, but it could definitely be improved. I've observed people using the application and while some have no problem quickly entering times, other people struggle. Given that I'm working in Silverlight2, what would you see as

When are modal dialogs truly necessary?

我怕爱的太早我们不能终老 提交于 2019-12-29 06:17:07
问题 Modal dialogs are evil, but I keep reading "You should remove modal dialogs when possible " When isn't it possible to remove modal dialogs? I mean, what are some truly modal tasks that force us to use evil modal dialogs? The most common given example is the "Do you want to Save?" I think this is the problem of the concept of having the user hit Save instead of remembering that user input is sacred . If you just saved automatically with the ability to "undo" or have revisions, then you don't

Delay HTML5 :invalid pseudo-class until the first event

做~自己de王妃 提交于 2019-12-28 03:46:28
问题 I recently discovered that the :invalid pseudo-class applies to required form elements as soon as the page loads. For example, if you have this code: <style> input:invalid { background-color: pink; color: white; } input:valid { background-color: white; color: black; } </style> … <input name="foo" required /> Then your page will load with an empty pink input element on it. Having validation built in to HTML5 is great, but I don't think most users expect the form to validate before they've had

Resharper rename feature similar to Visual Studio rename - is it possible?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-25 02:12:26
问题 When you're using Visual Studio refactoring features you may change the name of variable / class name, etc., press ctrl + . and you're able to apply rename to this change. When you're using Resharper you have to say up front that you want to rename it (you have to press ctrl + r + r or f2). Is it possible in Resharper to change the name and then say you wanted full rename? Thanks in advance for help! 回答1: Yes. Starting from version 6.0, you can change the name of a symbol declaration first,

Resharper rename feature similar to Visual Studio rename - is it possible?

旧巷老猫 提交于 2019-12-25 02:11:45
问题 When you're using Visual Studio refactoring features you may change the name of variable / class name, etc., press ctrl + . and you're able to apply rename to this change. When you're using Resharper you have to say up front that you want to rename it (you have to press ctrl + r + r or f2). Is it possible in Resharper to change the name and then say you wanted full rename? Thanks in advance for help! 回答1: Yes. Starting from version 6.0, you can change the name of a symbol declaration first,

Back/Forward buttons in Flex applications

不打扰是莪最后的温柔 提交于 2019-12-24 15:45:19
问题 I have a Flex application which uses the BrowserManager class for enabling deep linking within the application. The URLs work fine through all browsers but the back/forward buttons work only with Firefox and Internet Explorer. Even that is a bit flaky and sometimes doesn't work. The buttons don't work in Chrome/Safari or any other browser. Any ideas about how to make this work properly? If anyone has implemented something like this before in a Flex app then would like to hear about things to

why enter password 2 times?

╄→гoц情女王★ 提交于 2019-12-24 10:39:50
问题 On most sites on the register user part they want you to enter password 2 times. Why is that? Why not just one input where you enter password? Why do you have to "confirm" it. You know Username Password Confirm password Submit This has been on my mind for a while... Hope somebody can answer this. Thanks 回答1: It is to avoid typos. If you have to type the password twice chances are you'll make your password what you want. They want to avoid having people whose password is "blah" having to