关闭

tipswindow 控件学习(弹出效果)

316人阅读 评论(0) 收藏 举报
分类:

down 1.0

关于插件:

一个基于jQuery的弹出层。支持拖拽,支持内容为文字,图片,URL等!至于兼容性。在IE6下,弹出对像无法绝对固定。其他应该没啥大问题;

应用演示:

  1. 弹出文本信息提示:
    tipsWindown("提示","text:提示信息内容","250","150","true","","true","msg")
  2. 弹出页面中的某个ID的html:
    tipsWindown("标题","id:testID","300","200","true","","true","id")
  3. 弹出图片:
    tipsWindown("图片","img:图片路径","250","150","true","","true","img")
  4. get加载一个.html文件(也可以是.php/.asp?id=4之类的):
    tipsWindown("标题","url:get?test.html","250","150","true","","true","text");
  5. 加载一个页面到框架显示:
    tipsWindown("标题","iframe:http://leotheme.cn","900","580","true","","true","leotheme");
  6. 弹出一个不能拖动且没有遮罩背景的文本信息层:
    tipsWindown("提示","text:提示信息内容","250","150","false","","false","msg")
  7. 弹出一个不能拖动,三秒钟自动关闭的层:
    tipsWindown("提示","text:提示信息内容","250","150","false","3000","true","msg")

参数说明:

0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:322257次
    • 积分:8881
    • 等级:
    • 排名:第2253名
    • 原创:1096篇
    • 转载:14篇
    • 译文:0篇
    • 评论:5条
    最新评论