Multi-line display
jQuery niceTitle plugin


I am 'img' in a tag 'a', so my parent tag 'a' has not niceTitle.
I am a lonely img, no tag a wraps me.
I am a inner div.
Use:
$(document).ready(function(){$("a, input, img, div, span").niceTitle();});
www.imleeo.com
Download:jQuery niceTitle plugin
I am a span.
/*
* jQuery niceTitle plugin
* Version 1.00 (1-SEP-2009)
* @author leeo(IT北瓜)
* @requires jQuery v1.2.6 or later
*
* Examples at: http://imleeo.com/jquery-example/jQuery.niceTitle.html
* Copyright (c) 2009-2010 IT北瓜www.imleeo.com
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html

*History:
*Version 1.00 (1-SEP-2009) The first release
*Version 1.10 (7-SEP-2009) Fixed the bug in IE when change parameter "bgColor"(add code: line: 68,69)
*Version 1.20 (14-SEP-2009) Hide the "img"'s alt and title attributes if "a" includes an image.(code line: 21,46-53,84-87)
*Version 2.00 (19-SEP-2009) Now niceTitle can works for all HTML tags. Thanks Macek's advice.
*/
下载代码说明
X关闭

基于jquery的niceTitle超链接提示插件

niceTitle是一款当鼠标移到超链接上面显示提示的插件。我们可以使用该插件来实现新闻、文字的预览。 这不是真正的预览,在读取文字列表的时候同时读取每个文章的内容概要(即想要预览的内容),然后使用该插件就可以实现假预览。 效果图如下,自己可以相应修改