zoukankan      html  css  js  c++  java
  • 消息框

    function autoDisappear(title,msg,timeout){
             $.messager.show({
                             title:title,
                             msg:msg,
                             timeout:timeout,
                             showType:'show',
                             style:{

                                       //定位于 页面的右下角
                                       left:'', 
                                       top:'',
                                       right:0,
                                       bottom:-document.body.scrollTop - document.documentElement.scrollTo   

                                        //定位位于顶部中间(注释部分)

                                        // right:'',

                                        // top:document.body.scrollTop+document.documentElement.scrollTop,
                                      // background:'#EA5513',
                                      // bottom:''
                                     }
                          });
     }

  • 相关阅读:
    hexo常用命令笔记
    给hexo添加评论系统
    npm 使用代理
    几种网页重定向(自动跳转)的方法
    使用hexo搭建github博客
    在Pythonanywhere上部署Django
    Apache .htaccess语法之RewriteRule
    为Github项目创建文档
    Windows下WordPress搭建博客过程
    Windows下Discuz搭建论坛过程
  • 原文地址:https://www.cnblogs.com/water-1/p/6832313.html
Copyright © 2011-2022 走看看