html5tooltips.js – 轻量级和简洁的Tooltips
jopen
9年前
html5tooltips.js 是一个轻量级和简洁的Tooltips。采用纯JavaScript开发,拥有CSS动画,没依赖任何框架。
html5tooltips([ { contentText: "Delete", targetSelector: "#delete" }, { contentText: "Refresh", stickTo: "top", targetSelector: "#refresh" }, { contentText: "Simple to remember", contentMore: "Check that your login name is not used by anyone else.", stickTo: "left", maxWidth: "180px", targetSelector: "#username" } ]);