![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
JavaScript
文章平均质量分 61
thirdshore
这个作者很懒,什么都没留下…
展开
-
用AJAX,JSON在百度搜索栏内获取联想关键字
百度一下,你就知道 .nav{ margin-top:20px; text-align:right; } .nav a{ font-size:13px; font-weight:bold; color:black; } .nav .lig原创 2015-12-17 17:44:26 · 895 阅读 · 0 评论 -
js制作日历,获取月份内有多少天。
Document ul{ width:350px; } li{ list-style: none; width:50px; height: 50px; float:left; text-align: center; line-height:50px; font-size: 40px; font-weight: bold; font-family:转载 2015-12-03 18:18:05 · 1150 阅读 · 0 评论 -
js大图匀速无缝滚动效果
无缝滚动 *{margin:0;padding: 0;} #box{ width: 500px; height: 350px; margin:20px auto; overflow: auto; } #inner{ width: 2500px; height: 350px; } #inner img{ float: left; } button{ wid原创 2015-12-01 16:58:46 · 327 阅读 · 0 评论 -
javascript逻辑运算符“||”和“&&”
一、先来说说||(逻辑或),从字面上来说,只有前后都是false的时候才返回false,否则返回true。 alert(true||false); // truealert(false||true); // truealert(true||true); // truealert(false||false); // false 但是,从深层意义上来说的转载 2015-12-04 15:28:23 · 185 阅读 · 0 评论