jQuery浮动窗口插件 jqFloatBox

码农软件 · 软件分类 · jQuery对话框 · 2019-12-15 14:13:24

软件介绍

FloatBox 是一个jQuery 实现浮动层的插件,实现javascript弹出浮动窗口功能,当点击链接后弹出一个新窗口打开一个HTML页面,支持Ajax动态加载,有fade褪色效。

示例代码:

$("a#my-link").click(function () {
$.floatbox({
        content: "

My HTML content here!
"
    });
});

$("a#my-link").click(function () {
    $.floatbox({
        ajax:  {
            url: "my_request.pl", // request url
            params:  "name=ieda&age=23", //post parameters
            before:  "

Loading content

 
", //loading message while the request is being processed
            finish: function () {
                //callback function
            }
        },
        fade: true
    });
}); 

效果如下图所示:

本文地址:https://codercto.com/soft/d/21205.html

Don't Make Me Think

Don't Make Me Think

Steve Krug / New Riders Press / 18 August, 2005 / $35.00

Five years and more than 100,000 copies after it was first published, it's hard to imagine anyone working in Web design who hasn't read Steve Krug's "instant classic" on Web usability, but people are ......一起来看看 《Don't Make Me Think》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

MD5 加密
MD5 加密

MD5 加密工具

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具