![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
HTML5
文章平均质量分 66
眷恋天空的驴-Anikinly
一切归零!
展开
-
canvas-jCanvaScript
1.circle(x, y, radius, [color], [fill]) a:jc.circle({x:230,y:220,radius:50,color:'#ff0000',fill:1}); // 最后fill填充只要是boole就行,1或者true b:jc.circle(x,y,r,[line-color],[fill-booler])2.rect(x,y,w,h,[co原创 2017-03-17 10:19:05 · 517 阅读 · 0 评论 -
webAudio
原创 2017-03-17 10:19:46 · 349 阅读 · 0 评论 -
navigator.geolocation API 地理位置
navigator.geolocation API比较简单 下面总共三个方法: 1: getCurrentPosition; 单次请求 2: watchPosition 多次请求: 类似定时器 3: clearWatch 关闭请求 下面的方法类似$.ajax里面的参数一样 navigator.geolocation.watc原创 2017-03-17 10:20:09 · 854 阅读 · 0 评论 -
html5 历史管理以及hash管理
1. onhashchange 以下是一个彩票的历史管理的demo 增加来hash来添加来历史纪录html lang="en">head> meta charset="UTF-8"> title>Titletitle>head>body>input type="button" id="tan" value="彩票随机生成" />div id="div1">div>script>原创 2017-03-17 10:20:57 · 687 阅读 · 0 评论 -
H5文件操作API汇总
pre{ font-family: courier new!important; font-size: 12px!important; word-wrap: break-word; white-space: pre-wrap; background-color: rgb(245, 245, 245); font-family: courier ne原创 2017-03-17 10:23:37 · 7352 阅读 · 0 评论