上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 125 下一页
摘要: 源于Browsing Context 的概念,不仅有_blank,还有_parent, _top, _self等。 先留个坑。见示例。 阅读全文
posted @ 2020-05-28 17:37 热爱前端知识 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 什么是SVG? 引用w3c的一段话就是: SVG 指可伸缩矢量图形 (Scalable Vector Graphics) SVG 用来定义用于网络的基于矢量的图形 SVG 使用 XML 格式定义图形 SVG 图像在放大或改变尺寸的情况下其图形质量不会有所损失 PS:`SVG` 在IE9以及`Fire 阅读全文
posted @ 2020-05-28 17:11 热爱前端知识 阅读(260) 评论(0) 推荐(0) 编辑
摘要: CSS3选择器兼容IE6~8: Selectivizr 使用方法: <!--[if (gte IE 6)&(lte IE 8)]> <script src="http://s3.amazonaws.com/nwapi/nwmatcher/nwmatcher-1.2.5-min.js"></scrip 阅读全文
posted @ 2020-05-28 16:21 热爱前端知识 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 代码: <input type="file" name="uploadfile" class="J-upload"> <script> //上传后 var upLoaded = function(evt) { var fileString = evt.target.result; console.l 阅读全文
posted @ 2020-05-28 15:32 热爱前端知识 阅读(311) 评论(0) 推荐(0) 编辑
摘要: 转 TAT.Jdo:【Web Audio API】 — 那些年的 web audio 这主题主要是早期对 web audio api的一些尝试,这里整理一下以便以后翻阅,如有错误,诚请指正。 在这之前,先回顾一下那些年我们一起走过的web audio: <bgsound> 在我印象当中,bgsoun 阅读全文
posted @ 2020-05-28 14:40 热爱前端知识 阅读(342) 评论(0) 推荐(0) 编辑
摘要: 1、-webkit-tap-highlight-color:rgba(255,255,255,0)可以同时屏蔽ios和android下点击元素时出现的阴影。 备注:transparent的属性值在android下无效。 2、-webkit-appearance:none可以同时屏蔽输入框怪异的内阴影 阅读全文
posted @ 2020-05-28 13:51 热爱前端知识 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 相关概念:绘制频率、屏幕刷新频率、硬件加速、60fps 绘制频率: 页面上每一帧变化都是系统绘制出来的(GPU或者CPU)【参考浏览器渲染原理】。但这种绘制又和PC游戏的绘制不同,它的最高绘制频率受限于显示器的刷新频率(而非显卡),所以大多数情况下最高的绘制频率只能是每秒60帧(frame per 阅读全文
posted @ 2020-05-28 13:03 热爱前端知识 阅读(473) 评论(0) 推荐(0) 编辑
摘要: 在 Mobile 端需要注意. 安卓 默认浏览器 当中如果 div1 div2 如果 div1 有 translate3d 而 div2 没有 那么 div2 的 z-index 会无效. 解决办法: 给 div2 也加上 translate3d(0,0,0) 测试版本: 安卓 4.2.2 stac 阅读全文
posted @ 2020-05-28 11:51 热爱前端知识 阅读(328) 评论(0) 推荐(0) 编辑
摘要: javascirpt (function($){ $.fn.extend({ aiiUpload:function(obj) { if(typeof obj !="object") { alert('参数错误'); return; } var imageWidth,imageHeight; var 阅读全文
posted @ 2020-05-28 10:53 热爱前端知识 阅读(258) 评论(0) 推荐(0) 编辑
摘要: js: if (window.File && window.FileReader && window.FileList && window.Blob){ //Blob是计算机界通用术语之一,全称写作:BLOB (binary large object),表示二进制大对象。 //全部支持 functi 阅读全文
posted @ 2020-05-28 10:02 热爱前端知识 阅读(373) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 125 下一页