Call function on mouse click or Enter keypress
- 授权协议: 未知
- 开发语言:
- 操作系统: 未知
- 软件首页: http://plugins.jquery.com/project/clickOrEnter
软件介绍
Typically useful on anchor elements for which following the link should produce javascript functionality instead of the default action (following the URL).
Function binds mouse click and enter keypress to a specified element, and calls the specified function. The default action (e.g. following the href for an anchor) is prevented.
Release 1.2+ supports binding to more than one element, because the callback function is aware of the target of the click / enter keypress.
Usage:
$.clickOrEnter(yourElement,yourFunction);e.g.
$.clickOrEnter('a',popup);This essentially replaces the style of
<a target="_blank" rel="nofollow" href="javascript:function();">Foo</a>
<a target="_blank" rel="nofollow" href="foo.html" onclick="function();" onkeypress="function();">Bar</a>which are inaccessible / obtrusive.
计算机程序设计艺术卷1:基本算法(英文版.第3版)
Donald E.Knuth / 人民邮电出版社 / 2010-10 / 119.00元
《计算机程序设计艺术》系列著作对计算机领域产生了深远的影响。这一系列堪称一项浩大的工程,自1962年开始编写,计划出版7卷,目前已经出版了4卷。《美国科学家》杂志曾将这套书与爱因斯坦的《相对论》等书并列称为20世纪最重要的12本物理学著作。目前Knuth正将毕生精力投入到这部史诗性著作的撰写中。想了解本书最新信息,请访http://www-cs-faculty.stanford.edu/~knut......一起来看看 《计算机程序设计艺术卷1:基本算法(英文版.第3版)》 这本书的介绍吧!
