- 博客(5)
- 收藏
- 关注
原创 延时定时器
/延时定时器一次性 //one window.setTimeout(function () {// function执行谁 alert("hahah") },1000);//时间 毫秒 //two function time() { alert("bbbb") } window.setTimeout(time,1000); //three function time1() {...
2019-03-29 09:15:02
459
原创 画布做成画板
var canvas = document.getElementById(“can”);//容器 var context =canvas.getContext(“2d”);//获取上下文 初始化 var flag = false;//开关 var color; var line; window.function () { canvas.function () { flag = false; }; ...
2019-03-29 08:40:36
310
原创 html四个概念
1.html四个概念 元素 --> element JREDU 标签 markup 属性 attribute id 内容content JREDU JREDU 2.将标签里面的数字变成本身的二次方显示 jQueay代码如下 1 2 3 4 5 6 ...
2018-12-26 16:17:49
204
原创 js与jquery的比较
js与jquery的比较 toggle toggle2 //js写法 //var con=document.getElementById(‘container’); //var js=document.getElementById(‘toggle’); //js.onclick=function(){ // if(con.style.display!=‘n...
2018-12-03 21:01:22
207
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅
1