摘要: 样式一: body { margin: 0; padding: 0; line-height: 1.5em; font-family: "Times New Roman", Times, serif; font-size: 14px; color: #000000; background: #f2e 阅读全文
posted @ 2017-10-10 14:09 何丽娟 阅读(4995) 评论(0) 推荐(0) 编辑
摘要: (1)//判断图片是否存在function isHasImg(pathImg){ var ImgObj=new Image(); ImgObj.src= pathImg; if(ImgObj.fileSize > 0 || (ImgObj.width > 0 && ImgObj.height > 0 阅读全文
posted @ 2017-08-01 09:48 何丽娟 阅读(31932) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>weather</title> <script type="text/javascript" src="src/script/jquery.min.js"></sc 阅读全文
posted @ 2017-07-28 10:39 何丽娟 阅读(247) 评论(0) 推荐(0) 编辑
摘要: $('#Z1034_Info tr').toggle(function(){ $(this).addClass('trBg');},function(){ $(this).removeClass('trBg');}); 阅读全文
posted @ 2016-12-09 16:30 何丽娟 阅读(232) 评论(0) 推荐(0) 编辑
摘要: 用 animate() 方法来操作所有 CSS 属性吗? 是的,几乎可以!不过,需要记住一件重要的事情:当使用 animate()时, 必须使用 Camel 标记法书写所有的属性名,比如,必须使用 paddingLeft 而不是 padding-left,使用 marginRight而不是 marg 阅读全文
posted @ 2016-12-09 16:29 何丽娟 阅读(449) 评论(0) 推荐(0) 编辑
摘要: endLogTimeDate = “2012-05-22 17:10:46” startLogTimeDate = “2012-05-22 17:10:46” var endLogTimeDate = new Date(Date.parse(endLogTime.replace(/-/g, "/") 阅读全文
posted @ 2016-12-09 16:24 何丽娟 阅读(2061) 评论(0) 推荐(0) 编辑