这儿收藏了表单设计、登录界面、二级导航、按钮等资源。
You'll find collections of Forms, Login, Subnavigation, Buttons, among other design patterns.
例如,专门统计网站世界排名的网站Alexa给新用户两种登录选择:一是输入一个用户名、密码来新建一个账号,二是简单的点击“Connect with Facebook”按钮。
So, for instance, the Web statistics vendor Alexa gives new users the choice of creating an account by entering a username and a password or by simply clicking the "Connect with Facebook" button.
该表单还包含第二个标记为 Submit with Ajax 的按钮,这个按钮调用 submitSupportForm() 函数返回 false,因此该表单不会被 Web 浏览器重新提交。
The form also contains a second button labeled Submit with Ajax, which invokes the submitSupportForm() function that returns false so the form isn't resubmitted by the Web browser.
应用推荐