上一页 1 2 3 4 5 6 7 ··· 11 下一页

添加图标:before 和 :after css中用法

摘要: 附上图标类对应的字符编码表: 阅读全文
posted @ 2018-03-15 14:22 芸芸众生! 阅读(2716) 评论(0) 推荐(0)

.apply .call方法的区别及使用 .apply第二个参数为数组,.call第二个参数为参数列表, 相同点:第一个参数都为Function函数内部的this对象.

摘要: Function.apply(obj,args)方法能接收两个参数 obj:这个对象将代替Function类里this对象 args:这个是数组,它将作为参数传给Function(args-->arguments) Function.call(obj,[param1[,param2[,…[,para 阅读全文
posted @ 2018-02-22 17:48 芸芸众生! 阅读(406) 评论(0) 推荐(0)

trigger事件就是继承某一个类的事件.

摘要: <html><head><script type="text/javascript" src="/jquery/jquery.js"></script><script type="text/javascript">$(document).ready(function(){ $("input").se 阅读全文
posted @ 2018-02-22 17:15 芸芸众生! 阅读(111) 评论(0) 推荐(0)

.apply和.call用法和区别

摘要: apply:方法能劫持另外一个对象的方法,继承另外一个对象的属性. Function.apply(obj,args)方法能接收两个参数obj:这个对象将代替Function类里this对象args:这个是数组,它将作为参数传给Function(args-->arguments) call:和appl 阅读全文
posted @ 2018-02-05 14:40 芸芸众生! 阅读(494) 评论(0) 推荐(0)

时间戳转换为时间 以及时间计算之后的倒计时

摘要: //将时间戳转换为时间 function formatDateTime(timeStamp) { var date = new Date(); date.setTime(timeStamp * 1000); var y = date.getFullYear(); var m = date.getMo 阅读全文
posted @ 2017-12-28 19:23 芸芸众生! 阅读(4855) 评论(0) 推荐(0)

通过链接自动生成二维码

摘要: 引入qrcode.min.js这个文件 <div class="yard" id="qrcode"> <img src="" alt="" style=" width: 200px;height: 200px;background: yellow;"> </div> <script>var qrCo 阅读全文
posted @ 2017-12-26 19:08 芸芸众生! 阅读(787) 评论(0) 推荐(0)

-webkit-appearance: none; 去除浏览器默认样式

摘要: -webkit-appearance: none; 去除浏览器默认样式 阅读全文
posted @ 2017-12-26 17:28 芸芸众生! 阅读(1420) 评论(0) 推荐(0)

全屏的使用方法 ---------退出全屏的使用方法

摘要: <!-- 全屏的使用方法 --> function fullScreen( elem ){ if ( elem.requestFullscreen ) { elem.requestFullscreen(); } else if ( elem.webkitRequestFullScreen ) { i 阅读全文
posted @ 2017-12-15 19:11 芸芸众生! 阅读(1659) 评论(0) 推荐(0)

监听全屏事件

摘要: function IsFull() { var fullscreenElement = document.fullscreenEnabled || document.mozFullscreenElement || document.webkitFullscreenElement; var fulls 阅读全文
posted @ 2017-12-15 19:09 芸芸众生! 阅读(356) 评论(0) 推荐(0)

iframe里面开启全屏allowfullscreen="true"

摘要: <iframe id="J_iframe" width="100%" height="100%" src="client-account" frameborder="0" data-id="client-account" seamless allowfullscreen="true"></ifram 阅读全文
posted @ 2017-12-15 19:08 芸芸众生! 阅读(22264) 评论(0) 推荐(2)
上一页 1 2 3 4 5 6 7 ··· 11 下一页