简单实用的jQuery Tooltips工具提示插件 Minimal Tooltips plugin for jQuery

Minimal Tips

Minimal Tooltips plugin for jQuery

使用方法

  1. In $(document).ready(function(){}); section;
  2. Put $.minimalTips(); code;
  3. Stylize the CSS with your preferences;
  4. Done!

示例:

特点:

Very easy to use! Too light to load (only 6 KB, this plugin and your style together)!

Supports "a" tags and "mintip" class (in all tags)!

安装:


		<link rel="stylesheet" type="text/css" href="jquery.minimalTips.css" />
		<script src="http://code.jquery.com/jquery-latest.js"></script>
		<script src="jquery.minimalTips.js"></script>
		

The code:


		<script type="text/javascript">
			$(document).ready(function() {
				$.minimalTips();
			});
		</script>
		

The HTML:


			<a href="#" title="Primeiro link">This is a link</a>
			<span class="mintip" title="Outro elemento">Another element</span>