摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <style> #div1{height:300px;width:300px;background: green;} </style>< 阅读全文
posted @ 2016-10-06 21:28 liwei742314100 阅读(147) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <style> *{text-align: center} input{margin-top:30px;padding:10px;} # 阅读全文
posted @ 2016-10-06 21:11 liwei742314100 阅读(215) 评论(0) 推荐(0) 编辑
摘要: list-style-type -- 定义列表样式 取值:disc | circle | square | decimal | decimal-leading-zero | lower-roman | upper-roman | lower-greek | lower-latin | upper-l 阅读全文
posted @ 2016-10-06 17:25 liwei742314100 阅读(564) 评论(0) 推荐(0) 编辑
摘要: 一、border-image的兼容性 border-image可以说是CSS3中的一员大将,将来一定会大放光彩,其应用潜力真的是非常的惊人。可惜目前支持的浏览器有限,仅Firefox3.5,chrome浏览器,Safari3+支持border-image。所以,就本文而言,IE浏览器可以回家休息了, 阅读全文
posted @ 2016-10-06 17:24 liwei742314100 阅读(211) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <style> #demo { width: 0; height: 0; border-width: 200px; border-sty 阅读全文
posted @ 2016-10-06 16:57 liwei742314100 阅读(128) 评论(0) 推荐(0) 编辑
摘要: <html><head></head><body><input id="info" type="button" value="click me!" /><script type="text/javascript"> //addeventlistener()和removeeventlistener() 阅读全文
posted @ 2016-10-06 16:56 liwei742314100 阅读(5656) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title></head><body><input type="button" id="btn" value="按钮"><input type="bu 阅读全文
posted @ 2016-10-06 16:55 liwei742314100 阅读(211) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title></head><body><div id="d">达玛依西</div><script src="jquery-1.11.3.js"></s 阅读全文
posted @ 2016-10-06 15:52 liwei742314100 阅读(250) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html><head> <meta charset="utf-8"> <title>表格排序</title> <link rel="stylesheet" href="jquery-ui-1.12.0/jquery-ui.css"></head><body><tabl 阅读全文
posted @ 2016-10-06 15:51 liwei742314100 阅读(446) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <link rel="stylesheet" href="jquery-ui-1.12.0/jquery-ui.css"> <style 阅读全文
posted @ 2016-10-06 15:50 liwei742314100 阅读(127) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <style> body{ background-color: orange; } *{ margin:0;padding:0; } # 阅读全文
posted @ 2016-10-06 15:49 liwei742314100 阅读(92) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title></head><body><input type="button" id="btn" value="button"><form actio 阅读全文
posted @ 2016-10-06 15:48 liwei742314100 阅读(167) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <style> *{ text-align: center; } </style></head><body><script src=". 阅读全文
posted @ 2016-10-06 15:47 liwei742314100 阅读(122) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <script src="../jquery-1.12.4.min.js"></script> <script src="jQuery. 阅读全文
posted @ 2016-10-06 15:45 liwei742314100 阅读(99) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <style> .li{ border:2px solid red; background-color: #00AA88; list-s 阅读全文
posted @ 2016-10-06 15:45 liwei742314100 阅读(132) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <style> li{ list-style: none; height:40px; width:100px; float:left; 阅读全文
posted @ 2016-10-06 15:42 liwei742314100 阅读(168) 评论(0) 推荐(0) 编辑
摘要: <body><div style="height:500px;width:300px;border:1px solid red;float:left"> <img src="1.jpg" style="height:100px;width:100px;"></div> <canvas id="can 阅读全文
posted @ 2016-10-06 15:40 liwei742314100 阅读(98) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title></head><body><script> sessionStorage.setItem('上单','盖轮'); sessionStora 阅读全文
posted @ 2016-10-06 15:30 liwei742314100 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 1.this是javascript中的一个关键字,它代表函数运行时,自动生成的一个内部对象,只能在函数内部使用。 2.随着函数使用场合的不同,this的值会发生变化,但是有一个原则,就是this指的是调用函数的那个对象。 3.this分类 1)纯粹的函数调用 这时的this指向window。(函数没 阅读全文
posted @ 2016-10-06 15:17 liwei742314100 阅读(599) 评论(0) 推荐(0) 编辑
摘要: function clearAtrEq(str){ var hash=[]; for(var i=0;i<str.length;i++){ if(hash[str[i]]==undefined){ hash[str[i]]=1; }else{ hash[str[i]]++; } } var str1 阅读全文
posted @ 2016-10-06 11:33 liwei742314100 阅读(2484) 评论(0) 推荐(0) 编辑