Tips 带三角可关闭的文字提示
(编辑:jimmy 日期: 2025/5/11 浏览:3 次 )
使用说明
- 主要方法 .show(); .hide();.clear(); 一般你只需要使用show,hide;
- 使用1
- 首先实例化一个ljtips(var tips=ljtips('test1')); 然后使用tips.show(JSON)
- 使用2
- 在行内调用提示框"<div onclick=" ljtips(this).show(JSON); "></div>"
- 使用3
- 在JS里调用document.getElementById("test6").onmouseover = function(){ljtips(this).show({content:"这个框你关不掉了吧!没有关闭按钮!",p:'right'})};
[Ctrl+A 全选 注:引入外部Js需再刷新一下页面才能执行]