jQuery Undo
- 授权协议: 未知
- 开发语言:
- 操作系统: 未知
- 软件首页: http://plugins.jquery.com/project/undo
软件介绍
This plugin provides a global undo utility.
You can add undo items to the stack with:
$.undo(callback, target, message)
Where the callback function knows how to perform the actual undo-ing when executed. This will automatically display the message (or a default one created if that parameter is absent) and an "Undo" link within items matching the '.undo' selector (which is customizable by setting $.undo.notice.selector. If no action is taken within 60 seconds, this message is hidden. If the "Undo" link is clicked or you manually call:
$.undo()
then the plugin will execute the callback function (passing in the target as the parameter, if a target was provided).
If you simply create an empty <div class="undo"></div> in your page and start adding undo functions to $.undo(undoAction), things should "just work" as described above. If you want more explicit control of the displayed messages, there are a variety of settings and functions you can alter in $.undo.notice that can help you customize the behavior or plug
the functionality into your own custom markup.
To enable the use of Ctrl-z to trigger undo execution, you can call:
$.undo.supportsCtrlz(true)
By default this is disabled.
The recommended CSS for the classes involved is:
.undo {
background: #FFF1A8;
color: black;
display: none;
font-size: 85%;
font-weight: bold;
margin:3px 0px;;
padding: 5px 15px;
text-align: center;
}
.undo-message {
text-align: center;
}
a.undo-execute {
color: blue;
padding: 0px 2px 0px 10px;
}
a.undo-cancel {
font-size: 80%;
text-decoration: none;
vertical-align: center;
}
C语言算法速查手册
程晓旭、耿鲁静、张海、王勇 / 2009-10 / 49.00元
《C语言算法速查手册》用C语言编写了科研和工程中最常用的166个算法,这些算法包括复数运算、多项式的计算、矩阵运算、线性代数方程组的求解、非线性方程与方程组的求解、代数插值法、数值积分法、常微分方程(组)初值问题的求解、拟合与逼近、特殊函数、极值问题、随机数产生与统计描述、查找、排序、数学变换与滤波等。同时结合这些算法列举了将近100个应用实例,对其进行验证和分析。 《C语言算法速查手册》适......一起来看看 《C语言算法速查手册》 这本书的介绍吧!
