上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页
摘要: 前篇:[运动基础 学习笔记]示例一:“分享到”运行效果:[http://runjs.cn/detail/xqyf5jlo]实例二:“淡入淡出”运行效果:[http://runjs.cn/detail/lbomhqln] 阅读全文
posted @ 2015-06-04 12:06 林大勇 阅读(155) 评论(0) 推荐(0) 编辑
摘要: http://bbs.zhinengshe.com/thread-1194-1-1.html运行效果:[http://runjs.cn/code/riwpoev9]问题1:不会在特定的位置停止 ~解决方案:添加if判断条件,达到特定位置时关闭定时器 ;运行效果:[http://runjs.cn/co... 阅读全文
posted @ 2015-06-04 11:50 林大勇 阅读(332) 评论(0) 推荐(0) 编辑
摘要: 要点:getElementsByTagName("li")返回的是HTMLCollection对象,这个对象不同于Array对象,不能使用sort()方法进行排序~下面方法的要点是借壳Array对象,同时使用了appendChild的特性~ 1 2 3 4 5 6 ... 阅读全文
posted @ 2015-06-03 12:38 林大勇 阅读(661) 评论(0) 推荐(0) 编辑
摘要: 表格的便捷操作:tBodies, tHead, tFoot, rows, cells; 1 2 3 4 5 6 12 13 14 15 16 ID17 Name18 ag... 阅读全文
posted @ 2015-06-02 17:14 林大勇 阅读(220) 评论(0) 推荐(0) 编辑
摘要: 1. childNodes also includes e.g. text nodes and comments. To skip them, use childreninstead ~2. parentNodereturns directly containing element, while o... 阅读全文
posted @ 2015-06-02 12:02 林大勇 阅读(119) 评论(0) 推荐(0) 编辑
摘要: The float CSS property specifies that (1) an element should be taken from the normal flow and (2) placed along the left or right side of its container... 阅读全文
posted @ 2015-05-30 21:31 林大勇 阅读(220) 评论(0) 推荐(0) 编辑
摘要: PS: 无缝滚动专题来源于 [这里]1. 第一阶段运行效果在 [这里]这里我们需要注意的是 #div1{position:relative;} 和 #div1 ul{position:absolute; left:0; top:0;}#div1 Box: #div1 ul Box: ... 阅读全文
posted @ 2015-05-30 12:54 林大勇 阅读(274) 评论(0) 推荐(0) 编辑
摘要: 这个bug是涉及到中英文文件名的问题(不涉及到路径名);Case 1: 中文文件名当打开alt+f2快捷方式打开含有中文名的html文件时,路径名直接变为localhost,所以找不到要打开的文件。Case2: 英文文件名运行没有问题~ 阅读全文
posted @ 2015-05-30 11:42 林大勇 阅读(1019) 评论(0) 推荐(0) 编辑
摘要: 1 2 3 4 5 6 16 24 25 26 27 28 运行效果戳 [这里]在元素中,设置#div1元素的 {position:absolute; left:0; top:50px;}。在中,通过改变元素的left值来使元素运动起来。 这里需要... 阅读全文
posted @ 2015-05-30 11:19 林大勇 阅读(858) 评论(0) 推荐(0) 编辑
摘要: 1. Offset dimensions incorporate all of the visual space that an element takes up on the screen. An element's visual space on the page is made up of... 阅读全文
posted @ 2015-05-29 20:55 林大勇 阅读(268) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页