对话框/Tips

消息通知框对话框确认框Loading插件

阿里云


Notiflix 是一款 js 消息通知框、对话框、确认框和 Loading 插件。Notiflix 通过简单的设置,就可生成非常漂亮的 s 消息通知框、对话框、确认框和 Loading 效果。

使用方法

中引入下面的文件。

也想出现在这里?联系我们
创客主机
  1. <link rel="stylesheet" href="css/notiflix-1.3.0.min.css">
  2. <script src="assets/js/notiflix-1.3.0.min.js"></script>

消息通知

  1. Notiflix.Notify.Init();
  2. Notiflix.Notify.Success('Sol lucet omnibus');
  3. Notiflix.Notify.Failure('Qui timide rogat docet negare');
  4. Notiflix.Notify.Warning('Memento te hominem esse');
  5. Notiflix.Notify.Info('Cogito ergo sum');

对话框

  1. Notiflix.Report.Init();
  2. Notiflix.Report.Success( 'Notiflix Success', '"Do not try to become ..." - Albert Einstein', 'Click' );

确认框

  1. Notiflix.Confirm.Init();
  2. $('#confirm').click(function(){
  3.      Notiflix.Confirm.Show( 'Notiflix Confirm', 'Do you agree with me?', 'Yes', 'No', function(){ alert('Thank you.'); } ); 
  4. })
  5. Loading
  6. Notiflix.Loading.Init({
  7.   clickToClose:true
  8. });
  9. $('#loading').click(function(){
  10.      Notiflix.Loading.Standard();
  11. })

官方网址:https://www.notiflix.com/

消息通知框对话框确认框 Loading 插件

已有 608 人购买
  • 73fp
查看演示升级 VIP立刻购买

演示地址 下载地址
收藏
(0)

发表回复

热销模板

Ashade - 作品展示摄影相册WordPress汉化主题
LensNews

本站承接 WordPress / PbootCMS / DedeCMS 等
系统建站、仿站、开发、定制等业务!