惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

AI
AI
TaoSecurity Blog
TaoSecurity Blog
H
Heimdal Security Blog
Help Net Security
Help Net Security
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Microsoft Azure Blog
Microsoft Azure Blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Google DeepMind News
Google DeepMind News
爱范儿
爱范儿
The Cloudflare Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
人人都是产品经理
人人都是产品经理
大猫的无限游戏
大猫的无限游戏
N
News | PayPal Newsroom
V2EX - 技术
V2EX - 技术
博客园 - 【当耐特】
D
Darknet – Hacking Tools, Hacker News & Cyber Security
S
Secure Thoughts
C
CERT Recently Published Vulnerability Notes
罗磊的独立博客
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
P
Privacy & Cybersecurity Law Blog
有赞技术团队
有赞技术团队
S
Schneier on Security
S
SegmentFault 最新的问题
Google Online Security Blog
Google Online Security Blog
H
Hacker News: Front Page
The Last Watchdog
The Last Watchdog
Schneier on Security
Schneier on Security
PCI Perspectives
PCI Perspectives
IT之家
IT之家
Project Zero
Project Zero
博客园 - 司徒正美
P
Privacy International News Feed
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Jina AI
Jina AI
Security Latest
Security Latest
Hacker News - Newest:
Hacker News - Newest: "LLM"
腾讯CDC
C
CXSECURITY Database RSS Feed - CXSecurity.com
阮一峰的网络日志
阮一峰的网络日志
C
Check Point Blog
aimingoo的专栏
aimingoo的专栏
V
Vulnerabilities – Threatpost
W
WeLiveSecurity
NISL@THU
NISL@THU
Webroot Blog
Webroot Blog
N
Netflix TechBlog - Medium
L
Lohrmann on Cybersecurity

博客园 - Keep Walking

电商微博分享现状研究 关于各网站回到顶部的细节功能 大电商网站导航用户体验对比 回顾我的2010,20本书陪我度过的三十而立的年纪 mysql cardinality 运营一个网站,新增加一个功能,容易忽视哪些问题就匆匆上线? 强烈的孤独感,没有人能体味.... 关于疯狂想法的后续 一个疯狂想法 我的面试php程序员的面试题 china-pub登录问题 uchome为什么采用myisam类型表 关于验证码产品设计的一处细节问题 周五了,发给大家个好玩的东西 《高性能mysql》到手 用户体验之新浪滚动新闻 号外号外,美国53岁软件工程师架飞机撞政府楼 博客园logo HTML标签权重分值排列
改进UCHOME的记录发布,增强可访问性用户体验
Keep Walking · 2011-01-13 · via 博客园 - Keep Walking

今天是看到UCDChina上的一篇文章 http://ucdchina.com/snap/8932 ,是关于SNS的用户体验问题,发觉文中提到的第一个细节,UCHOME就做的不好,于是改进了一下。

在template里面找到文件space_feed.htm ,将方法  的定义替换为:

代码

function closeOpt(key,evt) 
    {
        
if (evt.keyCode == 9) {
            $(
'message_menu').style.display = 'none';
        }
        
else if (evt.keyCode == 13 && (evt.ctrlKey == true || evt.altKey == true)) {
        poststatus();
        $(
'mood_message').blur();
        }
    }
    
function inputKeyDown(event) {
        
var e = event.keyCode ? event.keyCode : event.which;
        
if((e == 38 || e == 40 || e == 13&& $('message_menu').style.display!='none'){
            doane(event);
        }
    }

可以将UCHOME的记录在发布的时候,增强可访问性, 使用Ctrl+Enter or Alt+Enter