Giter VIP home page Giter VIP logo

mdialog's Introduction

MDialog.js

寻求简单,精简的网页对话框,专注于友好的接口,千里之行,始于足下。

Demo参考

http://demo.webjyh.com/MDialog/

Update Ver 1.1 (2014-07-22)

  1. 增加 untitle, unclose, iframe 配置参数
  2. 增加 untitle( Boolean ), iframe( URL ) 方法
  3. 支持 AMD的方式 加载 如 require.js
  4. 修正若干 Bug
  5. 新增加的配置参数和方法,请到Demo页查看具体使用方法

如何使用插件

1.务必使用正确的 HTML 文档申明 如:
XHTML 申明 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
或者
HTML5 申明 <!DOCTYPE HTML>

2.引入文件
<link rel="stylesheet" href="MDialog.css">
<script type="text/javascript" src="MDialog.js"></script>

初始化对话框

$M({
    title: 'MDialog',
    content:'<p>欢迎使用 MDialog 对话框!</p>'
});

更多用法请参考 Demo 页。

程序说明

  1. 插件不支持 框架 穿透弹窗!
  2. 本人也是在学习 JavaScript ,程序在使用时避免不了出现意外的Bug和缺少功能。
  3. 在使用前,请认真阅读插件文档。
  4. 如本插件有幸应用到你的项目中,谢谢你的支持。
  5. 程序兼容性: 理论兼容IE6+,Google Chrome, FireFox,但在IE6下难免会出意料之外的Bug。
  6. 意见反馈: 如有一些使用问题或者插件的Bug,请到 我的博客 里联系我

联系作者

Blog:http://webjyh.com Weibo:http://weibo.com/webjyh/

mdialog's People

Contributors

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