上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 25 下一页
摘要: jQuery jQuery基本选择器: id选择器 $(“#div1”) class选择器 $(“.div1”) 元素选择器 $(“div”) * 选择器 $(“*”) 所有元素 组合选择器 $(“#div1,.div1,div”) 层次选择器 $(“div span”) 获取div下的所有span 阅读全文
posted @ 2016-11-18 10:09 dongxiaolei 阅读(489) 评论(0) 推荐(0) 编辑
摘要: <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <!-- <meta name="viewport" conten 阅读全文
posted @ 2016-11-17 14:16 dongxiaolei 阅读(8702) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title></title> <link rel="stylesheet" href="css/jl_public.css?v=11"/> <link rel="style 阅读全文
posted @ 2016-11-17 10:37 dongxiaolei 阅读(6604) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-11-15 10:24 dongxiaolei 阅读(135) 评论(0) 推荐(0) 编辑
摘要: if(navigator.userAgent.indexOf("MSIE")>0){ if(navigator.userAgent.indexOf("MSIE 6.0")>0){ alert("ie6浏览器"); } if(navigator.userAgent.indexOf("MSIE 7.0")>0){ ... 阅读全文
posted @ 2016-11-15 10:18 dongxiaolei 阅读(549) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title></title> <link rel="stylesheet" href="css/style.css"/> </head> <body> <div class 阅读全文
posted @ 2016-11-14 18:26 dongxiaolei 阅读(278) 评论(0) 推荐(0) 编辑
摘要: 注:我写的这个方法,实现的效果是当图片的上边框显示在可视区域内时,把图片的真实路径赋值给src。 如果需要让图片全部显示在可视区域时再换成真实src的话,需要把if判断中的条件换成 $off + $height - $scroll < clientH 首先给需要延迟加载的img标签加个class名l 阅读全文
posted @ 2016-11-11 11:23 dongxiaolei 阅读(1000) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html><head lang="en"> <meta charset="UTF-8"> <title></title> <style> .cc{ margin:20px auto; background:#208adb; cursor:pointer; width: 阅读全文
posted @ 2016-11-09 17:38 dongxiaolei 阅读(1786) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtm 阅读全文
posted @ 2016-11-08 17:21 dongxiaolei 阅读(6164) 评论(0) 推荐(0) 编辑
摘要: 字体文件转换地址 http://www.fontconverter.org/?userfile_url=&requiredfile_userfile=1&outFormat=woff http://www.freefontconverter.com/ http://blog.csdn.net/agi 阅读全文
posted @ 2016-11-08 17:12 dongxiaolei 阅读(467) 评论(0) 推荐(0) 编辑
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 25 下一页