会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Sunshine
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
2020年1月13日
【小实战】——自动阅读
摘要: <!DOCTYPE html><html> <head> <meta charset="utf-8"> <title></title> <style type="text/css"> #start,#stop,#jiansu,#jiasu { width: 100px; height: 100px;
阅读全文
posted @ 2020-01-13 05:53 shumeihh
阅读(161)
评论(0)
推荐(0)
2020年1月12日
【小实战】——抽奖转盘(大神篇)
摘要: <!DOCTYPE html><html> <head> <meta charset="utf-8"> <title></title> <style type="text/css"> div { margin: 0; padding: 0; } .container { width: 600px;
阅读全文
posted @ 2020-01-12 17:23 shumeihh
阅读(301)
评论(0)
推荐(0)
【小实战】——抽奖转盘(小白篇)
摘要: <!DOCTYPE html><html> <head> <meta charset="utf-8"> <title></title> <style type="text/css"> div { margin: 0; padding: 0; } .container { width: 600px;
阅读全文
posted @ 2020-01-12 16:26 shumeihh
阅读(304)
评论(0)
推荐(0)
2020年1月6日
【DOM操作】——仿刮刮奖
摘要: css代码: ul { list-style: none; width: 400px; height: 400px; margin: 0; padding: 0; background-image: url(https://timgsa.baidu.com/timg?image&quality=80
阅读全文
posted @ 2020-01-06 07:37 shumeihh
阅读(122)
评论(0)
推荐(0)
2020年1月5日
【DOM操作】——操纵方向键
摘要: var div = document.getElementById('div1'); div.style.width = '100px'; div.style.height = '100px'; div.style.backgroundColor = 'red'; div.style.positio
阅读全文
posted @ 2020-01-05 10:49 shumeihh
阅读(163)
评论(0)
推荐(0)
【javascript】——类数组
摘要: var obj = { "2": "a", "3": "b", "length": 2, "push": Array.prototype.push } //属性要为索引(数字)属性,必须有length属性,最好加上push //push 相当于这样 // Array.prototype.push =
阅读全文
posted @ 2020-01-05 06:49 shumeihh
阅读(129)
评论(0)
推荐(0)
【javascript】——数组去重 ,要求在原型链上编程
摘要: Array.prototype.unique = function() { var temp = {}, result = [], len = this.length; for (var i = 0; i < len; i ++) { if(!temp[this[i]]) { temp[this[i
阅读全文
posted @ 2020-01-05 06:47 shumeihh
阅读(413)
评论(0)
推荐(0)
【javascript】——封装typeof
摘要: function typeOf(value) { var ret = typeof(value); var template = { "[object Array]": "array", "[object Object]": "object", "[object Number]": "number
阅读全文
posted @ 2020-01-05 06:45 shumeihh
阅读(231)
评论(0)
推荐(0)
上一页
1
2
3
4
公告