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

建设网站用什么软件下载如何建设一个读书的网站

建设网站用什么软件下载,如何建设一个读书的网站,wordpress上传pdf,企业应用软件开发最近在网上看到了可以对Bootstrap模态框增加打开和关闭的动画效果#xff0c;故记录一下。原文地址点这里 此动画效果需要引入animate.css#xff0c;可以在animate.css官方网址中点击下载animate.css. 这篇文章和这篇有对animate的简介。 将如下代码放入JS文件全局引入… 最近在网上看到了可以对Bootstrap模态框增加打开和关闭的动画效果故记录一下。原文地址点这里       此动画效果需要引入animate.css可以在animate.css官方网址中点击下载animate.css. 这篇文章和这篇有对animate的简介。 将如下代码放入JS文件全局引入 //animate.css动画触动一次方法 $.fn.extend({animateCss: function (animationName) {var animationEnd webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend;this.addClass(animated animationName).one(animationEnd, function() {$(this).removeClass(animated animationName);});}}); /*** 显示模态框方法* param targetModel 模态框选择器jquery选择器* param animateName 弹出动作* callback 回调方法*/ var modalShow function(targetModel, animateName, callback){var animationIn [bounceIn,bounceInDown,bounceInLeft,bounceInRight,bounceInUp,fadeIn, fadeInDown, fadeInLeft, fadeInRight, fadeOutUp,fadeInDownBig, fadeInLeftBig, fadeOutRightBig, fadeOutUpBig,flipInX,flipInY,lightSpeedIn,rotateIn,rotateInDownLeft,rotateInDownRight,rotateInUpLeft,rotateInUpRight,zoomIn,zoomInDown,zoomInLeft,zoomInRight,zoomInUp,slideInDown,slideInLeft,slideInRight, slideInUp,rollIn];if(!animateName || animationIn.indexOf(animateName)-1){console.log(animationIn.length);var intRandom Math.floor(Math.random()*animationIn.length);animateName animationIn[intRandom];}console.log(targetModel animateName);$(targetModel).show().animateCss(animateName);//callback.apply(this); } /*** 隐藏模态框方法* param targetModel 模态框选择器jquery选择器* param animateName 隐藏动作* callback 回调方法*/ var modalHide function(targetModel, animateName, callback){var animationOut [bounceOut,bounceOutDown,bounceOutLeft,bounceOutRight,bounceOutUp,fadeOut, fadeOutDown, fadeOutLeft, fadeOutRight, fadeOutUp,fadeOutDownBig, fadeOutLeftBig, fadeOutRightBig, fadeOutUpBig,flipOutX,flipOutY,lightSpeedOut,rotateOut,rotateOutDownLeft,rotateOutDownRight,rotateOutUpLeft,rotateOutUpRight,zoomOut,zoomOutDown,zoomOutLeft,zoomOutRight,zoomOutUp,zoomOut,zoomOutDown,zoomOutLeft,zoomOutRight,zoomOutUp,slideOutDown,slideOutLeft,slideOutRight, slideOutUp,rollOut];if(!animateName || animationOut.indexOf(animateName)-1){console.log(animationOut.length);var intRandom Math.floor(Math.random()*animationOut.length);animateName animationOut[intRandom];}$(targetModel).children().click(function (e) {e.stopPropagation()});$(targetModel).animateCss(animateName);$(targetModel).delay(900).hide(1,function(){$(this).removeClass(animated animateName);});//callback.apply(this); } var modalDataInit function(info){//alert(info);//填充数据对弹出模态框数据样式初始化或修改 } 以下是HTML代码 button typebutton classbtn btn-primary test-btn onclickmodalShow(#bigModal, , modalDataInit(test));模态框测试 /button div classmodal bs-example-modal-lg onclickmodalHide(#bigModal, ); idbigModaldiv classmodal-dialog modal-lgdiv classmodal-contentdiv classmodal-headerbutton typebutton onclickmodalHide(#bigModal, ); classclosedata-dismissmodalspan aria-hiddentrue×/spanspan classsr-onlyClose/span/buttonh4 classmodal-title模态框标题/h4/divdiv classmodal-body/div/div/div /div 在刚开始或刷新页面时点击对话框会自动隐藏添加以下代码可以解决问题 $(function(){$(#bigModal).children().click(function(e){e.stopPropagation()}); }); 每次打开和关闭模态框时会随机选择一个动画效果也可以自己代码里写死效果棒
http://www.yutouwan.com/news/319774/

相关文章:

  • 专业做网站的公司邢台专业做网站注册城乡规划师教材pdf
  • 合肥晚报社官方网站网络部署方案
  • 平面设计师的网站网络公司注册的流程
  • 东城精锐传媒专注于各类网站建设如果在浏览器上做一网站广告大约需要多少钱
  • 深圳维特网站建设企业网站未来发展趋势
  • 网站地图的好处深圳网页设计培训机构
  • 定制网站开发哪里好如何设计网站域名
  • dede自动生成网站地图建设银行网站网址
  • 网站怎么做黑链接铜仁网站网站建设
  • top网站怎么做网站版面的美化原则
  • 软件开发app开发定制外包99seo博客是什么意思
  • 学用php做网站空壳网站
  • 互联网站备案表wordpress one page
  • 精品课网站建设电商网站推广渠道
  • 西安免费公司网站设计如何免费开网店的步骤
  • 网站域名备案后公示客户关系管理系统简称
  • 湖南省住房与城乡建设厅网站官网惠州公司注册
  • 局机关网站建设改进措施舞蹈网页设计素材
  • 四川省城乡与建设厅网站中国住房和城乡建设部网站首页
  • 做新媒体广告的网站网页动画
  • 前后端分离实现网站开发wordpress国内开发
  • 临汾建设局网站论网站建设情况
  • 做装饰材料的网站昆明公司网站建设
  • 自己怎么做卡盟网站建设网站用什么语言比较好
  • 信息技术 网站建设教案高端网站制作系统
  • 自己买服务器建设网站淘宝上网站开发退款
  • 网站建设开发岗位职责网站建设经费估算
  • 鲅鱼圈做网站建设网站需要招聘哪些人
  • 网站策划内容有哪些长沙城市建筑工程有限公司
  • 阿里网站备案管理系统php商城