您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

jquery弹出层类代码分享_jquery

2024/4/11 3:11:02发布16次查看
复制代码 代码如下:
var t9 = new popuplayer({trigger:#ele9,popupblk:#blk9,closebtn:#close9,
useoverlay:true,usefx:true,offsets:{x:0,y:-41}});
t9.doeffects = function(way){
    if(way == open){
        this.popuplayer.css({opacity:0.3}).show(400,function(){
            this.popuplayer.animate({
                left:($(document).width() - this.popuplayer.width())/2,
                top:(document.documentelement.clientheight -
                    this.popuplayer.height())/2 + $(document).scrolltop(),
                opacity:0.8
            },1000,function(){this.popuplayer.css(opacity,1)}.binding(this));
        }.binding(this));
    }
    else{
        this.popuplayer.animate({
            left:this.trigger.offset().left,
            top:this.trigger.offset().top,
            opacity:0.1
        },{duration:500,complete:function(){
            this.popuplayer.css(opacity,1);this.popuplayer.hide()}.binding(this)});
    }
}
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product