- 授权协议: MIT
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: http://code.google.com/p/jqfloatbox/
- 软件文档: http://code.google.com/p/jqfloatbox/wiki/Documentation
软件介绍
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
});
});
效果如下图所示:
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》 这本书的介绍吧!
