GithubHelp home page GithubHelp logo

wzdxy / jquery.alartpopbox Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 293 KB

基于jQuery和Bootstrap的弹出提示框插件

Home Page: https://wzdxy.github.io/alertpopbox/index

CSS 10.16% JavaScript 78.77% HTML 11.07%

jquery.alartpopbox's Introduction

#基于jQuery和BootStrap的弹出框插件 ##1、Demo http://wzdxy.github.io/alarm-box/ ##2、依赖的文件

  • jQuery.js
  • Bootstrap.css
  • alarm-box.js
  • alarm-box.css

##3、使用方法

createPopBox(str,title);

##4、接收的参数

str 通知正文,字符串或对象

title 通知标题,字符串

##5、配置(可选)

ModalOptions={
    modalHeight:140,                    //每个modal的高度
    modalWidth:400,                     //每个modal宽度
    maxNum:3,                           //显示的modal数量
    modalTitle:'test title',            //标题
    bottomHeight:0,                     //modal距离底部的高度
    modalHeaderHeight:30,               //标题高度
    modalMargin:4,                      //modal的上下margin值
    btnInnerFirst:'忽略',               //第一个button的内容
    btnInnerSecond:'了解',              //第二个button的内容
}
initModal(ModalOptions);

###或

ModalOptions.modalHeight=140;
ModalOptions.modalMargin=1;
initModal(ModalOptions);

###所有配置项均为可选项,可以随意选择配置其中的几项

jquery.alartpopbox's People

Contributors

wzdxy avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.