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

推荐订阅源

T
Threatpost
S
Securelist
D
Darknet – Hacking Tools, Hacker News & Cyber Security
T
Threat Research - Cisco Blogs
C
Cyber Attacks, Cyber Crime and Cyber Security
T
Tenable Blog
I
Intezer
G
GRAHAM CLULEY
Spread Privacy
Spread Privacy
T
Tor Project blog
V
Vulnerabilities – Threatpost
NISL@THU
NISL@THU
L
Lohrmann on Cybersecurity
Schneier on Security
Schneier on Security
MyScale Blog
MyScale Blog
The GitHub Blog
The GitHub Blog
S
Security @ Cisco Blogs
The Register - Security
The Register - Security
酷 壳 – CoolShell
酷 壳 – CoolShell
B
Blog
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
L
LangChain Blog
人人都是产品经理
人人都是产品经理
T
Tailwind CSS Blog
MongoDB | Blog
MongoDB | Blog
小众软件
小众软件
The Hacker News
The Hacker News
Google DeepMind News
Google DeepMind News
Microsoft Security Blog
Microsoft Security Blog
U
Unit 42
博客园 - 叶小钗
Attack and Defense Labs
Attack and Defense Labs
Webroot Blog
Webroot Blog
大猫的无限游戏
大猫的无限游戏
Apple Machine Learning Research
Apple Machine Learning Research
H
Hackread – Cybersecurity News, Data Breaches, AI and More
aimingoo的专栏
aimingoo的专栏
T
Troy Hunt's Blog
V
Visual Studio Blog
P
Proofpoint News Feed
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
A
Arctic Wolf
T
The Exploit Database - CXSecurity.com
宝玉的分享
宝玉的分享
Vercel News
Vercel News
D
DataBreaches.Net
P
Palo Alto Networks Blog
AI
AI
Simon Willison's Weblog
Simon Willison's Weblog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC

博客园 - 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