Git Product home page Git Product logo

showlayers's Introduction

showLayers

以前写的一个 jQuery 弹层插件。

弹出框的样式内容你自己定义,展示部分交给插件代码来完成。

使用说明:

$("selector").showLayers({
    closeLayer: {btn: "selector", auto: false, seconds: 3, callback: function () {}}, // 关闭层		
    maskLayer: {backgroundColor: "#000", transparent: "0.3"}, // 设置遮罩层的样式	
    mover: "selector", // 可以触发移动该层的 Selector	
    level: 1, // 正整数,数字越到层级越高,默认为 1	
    Scroll: boolean, // true 为随屏滚动 false 为不滚动,默认为 false
    callback: function () {}, // 触发此插件后执行的回调函数
})
$("selector").closeLayers(callback); // 用于其他事件关闭层,callback 为关闭层后执行的回调函数

showlayers's People

Contributors

huberystyle avatar cssmagic avatar

Stargazers

Roman avatar

Watchers

James Cloos avatar  avatar

showlayers's Issues

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.