当前位置: 首页 > 图文教程 > 网络编程 > Javascript > 一个jquery的弹出层的插件

Javascript
form中限制文本字节数js代码
use jscript with List Proxy Server Information
use jscript List Installed Software
List Installed Software Features
List Information About the Binary Files Used by an Application
List the Codec Files on a Computer
List the UTC Time on a Computer
List Installed Hot Fixes
excel操作之Add Data to a Spreadsheet Cell
Add Formatted Data to a Spreadsheet
Apply an AutoFormat to an Excel Spreadsheet
JavaScript语法着色引擎(demo及打包文件下载)
类之Prototype.js学习
一款JavaScript压缩工具:X2JSCompactor
iis6+javascript Add an Extension File
jscript之Open an Excel Spreadsheet
jscript之Read an Excel Spreadsheet
jscript之List Excel Color Values
去除图像或链接黑眼圈的两种方法总结
Add a Formatted Table to a Word Document

Javascript 中的 一个jquery的弹出层的插件


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-09-12   浏览: 262 ::
收藏到网摘: n/a

刚刚写的一个jquery的弹出层的插件
复制代码 代码如下:
复制代码 代码如下:

$.layerSetup({
id:"弹出层的ID",
title:'弹出层的标题文字',
target:在哪个目标柜架弹出层如window.parent,默认为window.self,
cssurl:'弹出层的CSS样式文件的地址',
content:'弹出的内容',
isbg:是否显示一个遮照层,
templete:'为层设置布局模板如:<div class="showwint_mini_title"><span class="showwint_mini_close_btn"><a href="javascript:void(null);" class="layerclose"></a></span><span class="showwint_mini_title_content" id="@moveid@"><span id="@titleid@"></span></span></div><div class="showwint_mini_content"><div class="showwint_mini_content_content" id="@contentid@"></div></div>',
opacity:设置遮照层的透明度,
width:宽,
height:高
});
$.layershow();

其中布局模板中的"@titleid@"、"@moveid@"、"@contentid@"、"@width@"、"@height@"为模板中放置标题ID、拖动ID、内容ID、宽、高等,可以根据你自己设计的模板不同放在不同的位置.
一个jquery的弹出层的插件下载地址
http://wt.ruanchen.com/00810/yuanma/jquery_win.rar