![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
jq
慧、新
常人眼中的变态,是变态眼中的的常人,你个变态!
展开
-
选项卡Tab切换
选项卡 * { margin: 0; padding: 0; } #biao { border: 2px solid red; width: 300px; } #biao .taitou { border: 2px solid red; display: flex; height: 20px; width: 300px; } #biao .taitou h3 { wid原创 2017-09-09 22:22:18 · 227 阅读 · 0 评论 -
Javascript、Jquery获取浏览器和屏幕各种高度宽度
Javascript: IE中: document.body.clientWidth ==> BODY对象宽度 document.body.clientHeight ==> BODY对象高度 document.documentElement.clientWidth ==> 可见区域宽度 document.documentElement.clientHeight ==> 可见区域高度转载 2017-10-30 17:48:37 · 343 阅读 · 0 评论 -
瀑布流的实现原理与实例
for(var i=1;i++ 执行完i为11 for(var i=1;i++ 执行完i为10原创 2017-12-06 10:25:01 · 617 阅读 · 0 评论 -
ajax请求天气预报
获取天气预报 document.querySelector('button').onclick=function(){ var hometown=document.getElementById('txt').value;//获取输入值 // alert(hometown); ajax({ url:'1php.php', data:{原创 2017-09-27 20:19:05 · 2939 阅读 · 0 评论