front end
文章平均质量分 78
nedwons
这人很懒,啥也不懂。
展开
-
js :zoomin ,out
/** * 已知图片的宽度和高度的等比例缩放 */ function knowImgSize(id) { var idWidth = $(id).width(), // 容器的宽度和高度 idHeight = $(id).height(); $(id + ' img').each(function(index,img){ var img_转载 2017-12-13 16:51:31 · 1227 阅读 · 0 评论 -
front-end:map ,jump to some area
html开发中可能会需要用到点击一张图片的某区域进行跳转操作。例子如下:"#Map ">"Map "> <area shape= "rect " coords= "600,1,700,40 " href= "../../a.html "> x1,y1,x2,y2 " href= "../../b.html ">转载 2017-12-13 17:15:25 · 156 阅读 · 0 评论 -
show the link
(1) --> 显示链接 .Body { text-align: center; } .Divshowlink { position: relative; left: 37%;原创 2017-12-14 15:47:05 · 179 阅读 · 0 评论 -
front end:firefox os :manifest.webapp
http://blog.csdn.net/nxh_love/article/details/10328849在Firefox OS 学习——Gaia 编译分析 这篇文章多次提到manifest.webapp文件,对于做过android app 开发的人来说,都很熟悉Android.mk 和Manifest.xml文件。在Firefox OS中,manifest.webapp的作用是综合了转载 2017-12-27 10:48:50 · 268 阅读 · 0 评论 -
front end :js,package 封装
转载请标明出处:http://blog.csdn.net/lmj623565791/article/details/25080573js中处处是对象,面向对象的第一步当然就是封装了,由于Js中没有类的概念,所以封装起来也比较麻烦,下面介绍两种js的封装。1、使用约定优先的原则,将所有的私有变量以_开头[javascript] view plain copy转载 2018-01-24 10:04:49 · 195 阅读 · 0 评论 -
front end :indexdb
thanks to the author :http://blog.csdn.net/Rdj_MISS/article/details/51285097IndexedDB是HTML5-WebStorage的重要一环,是一种轻量级NOSQL数据库;一个网站可能有一个或多个 IndexedDB 数据库,每个数据库必须具有惟一的名称。一个数据库可包含一个或多个对象存储。一个对象存储(转载 2018-01-22 13:47:16 · 210 阅读 · 0 评论