GithubHelp home page GithubHelp logo

js-ios-'s Introduction

JS-IOS-

JS仿IOS弹窗 Demo: http://magwing.tpddns.cn:81/IOSUI

仿IOS 弹窗
View:
默认 选择

食用方法:


一.配置

1.引入JS:<script src="js/jquery.js"></script><script src="js/window.js"></script>
2.设置弹窗后模糊和变暗的对象,用<body>嵌套起来

二.调用函数

1.函数名:win();
参数:win(title,text,type); type=null 默认窗口 type=choose 取消和确定的窗口

三.回调

1.变量名:callback true为确定 fasle为取消
2.关闭窗口时运行代码:请在程序开头设置变量名code的值

js-ios-'s People

Contributors

magwing 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.