摘要:
http://jsbin.com/sorisekuhi/edit?html,css,js,console,output 阅读全文
摘要:
//封装tabs函数function tabs(tabTit,on,tabCon){ $(tabCon).each(function(){ $(this).children().eq(0).show(); }); $(tabTit).each(function(){ $(this).children 阅读全文
摘要:
<!DOCTYPE html><html lang="zh-Hans"><head> <meta charset="UTF-8"> <title>Title</title></head><body><table> <tr> <td>24</td> </tr> <tr> <td>24</td> </t 阅读全文
摘要:
Document 污染城市列表 第一名:福州(样例),10 第二名:福州(样例),10 --> 阅读全文
摘要:
jquery返回顶部,支持手机 效果体验:http://hovertree.com/texiao/mobile/6/在pc上我们很容易就可以用scrollTop()来实现流程的向上滚动的返回到顶部的动画,然后用到web移动端却没什么卵用,会出现滚动不流畅,卡顿,失灵等等现象。这是因为移动端的scro 阅读全文
摘要:
对于网站前端人员来说,我们在本地开发程序的时候如果用到Ajax的话,通常会使用Firefox来测试,因为Firefox的安全策略支持本地Ajax,IE系列和Chrome都不支持。 不过,经过笔者亲身体验Chrome浏览器的调试工具比火狐的更好用,所以如果让Chrome也支持本地Ajax的话,不是更好 阅读全文
摘要:
宽: 高: 行: 列: ... 阅读全文
摘要:
function abc (a, b, c) { var count = 0 var timer = setInterval(function () { count++ console.log(a, count) if (count === b) { clearInterval(timer) } }, c) } abc('abc123',... 阅读全文
摘要:
var drawing=document.getElementById("drawing"); drawing.onclick= function () { var x, y, z; x=Math.floor(Math.random()*256); y=Math.floor(Math.random()*256); z... 阅读全文