jquery右下角弹出提示框示例代码

弹出提示框右下角显示

body{ margin:0px;padding:0px; height:5000px; }

.botk{right:5px;position:fixed;width:100px;_position:absolute; _top: expression(documentElement.scrollTop + documentElement.clientHeight-this.offsetHeight); z-index:999; height:100px;filter: Alpha(opacity=90);-moz-opacity:.9;opacity:0.9;background:#ffffff; color:#ffffff; bottom:5px;}

.botts{width:100px; height:100px; position:absolute; z-index:9999;background:#000000;}

#adclose{width:20px; height:20px; position:absolute; cursor:pointer; z-index:99999}

$(document).ready(function(e) {

/* var wintopfir=$(window).height()+$(window).scrollTop();

var wintopsec=wintopfir-100;*/

var wintopfir=$(".botk").height();

var wintopsec=wintopfir-100;

$("#bottomad").css({top:wintopfir+"px"});

$("#bottomad").animate({top:wintopsec+"px" }, 2000);

$("#adclose").click( function () { $("#bottomad").hide(); });

});

X

一个jquery实现的右下角慢慢弹出提示公告,学习做的。大家给意见哈。

以上就是本次给大家分享的关于java的全部知识点内容总结,大家还可以在下方相关文章里找到相关文章进一步学习,感谢大家的阅读和支持。

Logo

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。

更多推荐