经典的底部弹出div层 弹出框 var Pop = function(options){ this.isIE = (document.all) ? true : false; this.isIE6 = this.isIE && (navigator.userAgent.indexOf('MSIE 6.0') != -1); this.isIE6 ? this.position = "absolute" : this.position =...
========浮动框相关属性============
oPop:浮动框ID(默认值:idPop)
zIndex:浮动框的z-index(默认值:999)
left:距离左边多少像素(默认值:0)
right:距离右边多少像素(默认值:0)
top:距离顶部多少像素(默认值:0)
bottom:距离底部多少像素(默认值:0)
mode:浮动层默认定位左上(默认值:["left", "top"])
========遮罩层相关属性============
beCover:页面载入时是否显示遮盖层(默认值:false)
cover:是否显示遮盖层(遮盖层显示的必须条件)(默认值:false)
zIndexCover:遮盖层的z-index(默认值:888)
colorCover:遮盖层的背景颜色(默认值:"#000")
opactiyCover:遮盖层的透明度(默认值:0.5)
========浮动框收缩相关属性============
idShrink:收缩按钮ID(默认值:null)
minHeight:收缩后的高度(默认值:0)
maxHeight:展开后的高度(默认值:0)
classOne:切换用的class(默认值:null)
classTwo:切换用的class(默认值:null)
========关闭、打开浮动层相关属性============
idOpen:打开按钮ID(默认值:null)
idClose:关闭按钮ID(支持多关闭按钮)(默认值:[])
浮动层的position类型已在脚本里面写好,用的时候只需定义浮动层的高、宽、是否显示(display)即可
hello world!hello world!hello world!hello world!hello world!hello world!hello world!hello world!hello world!
hello world!
hello world!
hello world!
hello world!
hello world!
hello world!
hello world!
hello world!
hello world!
hello world!
hello world!
hello world!
hello world!
hello world!
hello world!
hello world!
hello world!
hello world!
hello world!
hello world!
hello world!
hello world!
hello world!
hello world!
hello world!
hello world!
hello world!
hello world!
hello world!
hello world!
hello world!
hello world!