当前位置: 首页 > news >正文

乐清市住房和城乡规划建设局网站如何注册企业邮箱免费

乐清市住房和城乡规划建设局网站,如何注册企业邮箱免费,山东省建设厅执业注册中心网站,wordpress 本地服务器在线演示 本地下载 我们曾今在以前的文章中介绍过jQuery的警告和提示框插件#xff0c;今天这里我们介绍一个开源的消息提示框架 Backbone.Notifier#xff0c;目前版本为version0.1。使用这个框架可以帮助你构建非常灵活强大的浏览器端消息提示功能。这个框架依赖于#… 在线演示  本地下载 我们曾今在以前的文章中介绍过jQuery的警告和提示框插件今天这里我们介绍一个开源的消息提示框架 Backbone.Notifier目前版本为version0.1。使用这个框架可以帮助你构建非常灵活强大的浏览器端消息提示功能。这个框架依赖于 jQueryunderscore.jsbackbone.js如果你不了解什么是backbone.js请参看这篇文章主要特性 支持不同的样式和位置显示完全可定制比如dialogloading拥有3D模块展示界面拥有事件机制的API很多在线例子帮助大家了解如何使用 如何使用 倒入依赖类库 !-- Dependencies --script typetext/javascript srcdependencies/jquery-1.7.2.min.js/script script typetext/javascript srcdependencies/underscore-1.3.3.min.js/script script typetext/javascript srcdependencies/backbone-0.9.2.js/script!-- /Dependencies -- 倒入backbone.notifier类库和资源 !-- Backbone.Notifier --script typetext/javascript srcjs/Backbone.Notifier.js?_13/scriptscript typetext/javascript srcjs/modules/3d.js?_13/script!-- Optional (3d module) --script typetext/javascript srcjs/modules/logger.js?_13/script!-- Optional (3d module) --!-- /Backbone.Notifier -- 初始化代码 var notifier new Backbone.Notifier({ // defaultsel: body, // container for notification (default: body)baseCls: notifier, // css classes prefix, should match css file and can be changed to avoid conflicts.types: [warning, error, info, success], // available notification stylestype: null, // default notification style (null / warning / error / info / success)dialog: false, // whether display the notification with a title bar and a dialog style.// - sets hideOnClick to false, unless defined otherwise// - sets position to center, unless defined otherwise// - sets ms to null, unless defined otherwisemodal: false, // whether to dark and block the UI behind the nofication (default: false)message: , // default message contenttitle: undefined, // default notification title, if defined, causes the notification// to be dialog (unless dialog is false)ms: 5000, // milliseconds before hiding, (null || false no timeout) (default: 10000)cls: null, // additional css classhideOnClick: true, // whether to hide the notifications on mouse click (default: true)loader: false, // whether to display loader animation in notifactions (default: false)destroy: false, // notification or selector of nofications to hide on show (default: false)opacity: 1, // opacity of nofications (default: 1)top: -500, // distance between the notifications and the top edge (default: 0)fadeInMs: 500, // duration (milliseconds) of notifications fade-in effect (default: 500)fadeOutMs: 500, // duration (milliseconds) of notifications fade-out effect (default: 500)position: top, // default notifications position (top / center)zIndex: 10000, // minimal z-index for notificationsscreenOpacity: 0.5, // opacity of dark screen background that goes behind for modals (between 0 to 1)width: undefined, // notifications width (auto if not set)template: function(settings){ var html ...; return html; } // custom html structure}); 调用代码 缺省提示如下 notifier.notify(Hello World!); 警告提示如下 notifier.warning(Hello World!); 高级使用如下 notifier.notify({type: info,title: Information,message: This is a dialog notification. Do you want to see another one?,buttons: [{data-role: myOk, text: Yes, class: default}, // data-role - an identifier for binding// event using notification.on(click:myOk, function(){...});{data-handler: destroy, text: No} // data-handler - calls a function of notification object,// i.g.: data-handler: destroy calls notification.destroy() upon clicking the button],modal: true,ms: null,destroy: false}).on(click:myOk, function(){notifier.notify({destroy: true, // will hide all existing notificationtype: warning,title: Warning!,message: Lets say youve been warned!,buttons: [{data-handler: destroy, text: Errrr}]}).on(destroy, function(){notifier.notify({type: error,title: Error Dialog,message: Thats our error dialog notification,buttons: [{data-handler: destroy, text: Ok}]}).on(destroy, function(){notifier.notify({type: success,title: Success!,message: bla bla bla bla bla bla bla bla...,buttons: [{data-handler: destroy, text: Cool}]});});});}); 更多演示请参考网站在线演示。转载于:https://www.cnblogs.com/gbin1/archive/2012/07/05/2577645.html
http://www.pierceye.com/news/821791/

相关文章:

  • 买服务器做网站 镜像选什么网页设计用的软件
  • 内江 网站建设网站后台登录地址
  • 网站建设合同副本临沂建设局官方网站
  • 林州网站建设哪家好网站做电子链接标识申请好吗
  • 石家庄开发网站建设263企业邮箱登录邮箱
  • 青岛公司建设网站电子商务网站开发技术论文
  • 龙华网站的建设建设网站教程视频视频
  • 威海高区建设局网站品牌网站建设多少钱
  • 网站php网站空间新乡河南网站建设
  • 你第一个物流网站建设方案信诚网络公司网站
  • 企业建站什么网站好wordpress管理员后台
  • 南京网站开发价格两个wordpress共用一个数据库
  • 番禺制作网站平台柳城网站制作
  • 网站建设相关视频教程网页设计布局有哪几种方法
  • 能接做网站的活的网站上海建网站方案
  • 免费网站软件app大全飘雪影院手机免费观看免费
  • 怎么做类似淘宝的网站石家庄网络开发公司
  • 专业SEO教程网站广东省住房与城乡建设部网站
  • 360免费建站为什么注册不了雨灿网站建设
  • 益阳市建设局网站在家来料加工
  • 邵阳网站设计宠物网站 html模板
  • 网站域名以co与com有什么不同18款禁用黄a免费
  • 农村电商网站建设方案wordpress官网密码错误
  • 婚庆公司网站建设doc高端网站建设推广
  • 做房地产一级市场的看什么网站网站建建设公司和网络自建
  • 搞一个网站要多少钱长治做网站哪家好
  • 德州口碑好的网站制作公司网站运营托管咨询
  • 东阳网站建设价格广州最好的网站设计
  • 襄垣网站建设宝塔面板怎么搭建网站
  • 电影网站源码access广州网站建设排名一览表