All options you present other than the first one are exceedingly user-hostile. Just ignore the double clicks and in time the users will realise that only one suffices.
Replacing the image of the button with a grayed-out one (remember to preload it, maybe as a sprite together with the regular button image) as an indicator that the button cannot be clicked more than once is more than enough user education. Of course, you should ignore the second click. Anything else is unnecessarily confusing your users without any benefit.
change the visible state after first click (some kind of unobtrusive overlay or a "working" spinner, change the CSS property of the cursor to "busy" etc). This way, you're providing some indication to the user that "something is happening".
In addition to that, ignore further clicks on the link until the action completes
发布评论
评论(3)
除了第一个选项之外,您提供的所有选项都对用户非常不利。只需忽略双击,用户就会及时意识到只需单击一次就足够了。
All options you present other than the first one are exceedingly user-hostile. Just ignore the double clicks and in time the users will realise that only one suffices.
将按钮的图像替换为灰色的图像(记住预加载它,可能作为精灵与常规按钮图像一起)作为按钮不能被单击多次的指示符,这是足够的用户教育。当然,您应该忽略第二次点击。其他任何事情都会不必要地让您的用户感到困惑,而且没有任何好处。
Replacing the image of the button with a grayed-out one (remember to preload it, maybe as a sprite together with the regular button image) as an indicator that the button cannot be clicked more than once is more than enough user education. Of course, you should ignore the second click. Anything else is unnecessarily confusing your users without any benefit.
我会:
I would: