摘要: 链式运动框架开发 回调函数 •运动停止时,执行函数 /** * @author miaov */ //获取行间样式 function getStyle(obj, attr) { if(obj.currentStyle) { return obj.currentStyle[attr]; } else 阅读全文
posted @ 2016-06-05 21:57 distant-遥远 阅读(258) 评论(0) 推荐(0)
摘要: I am a slow walker , but I never walk backwards 我走的很慢但我从不倒退 ◆If you don’t like someone, that will be my girl friend 。 如果你没有喜欢的人,那就做我的女朋友吧。 阅读全文
posted @ 2016-06-05 06:53 distant-遥远 阅读(153) 评论(0) 推荐(0)
摘要: If this is not the end if I still love you 我走了,去浪迹天涯,伴随我的,只有一匹白马。回头望,可有人牵挂,回答我的,只有她,任风吹乱了头发。 马儿低下头,眼中有晶莹的鲛珠。哭泣的可怜虫,你是留恋她了吗?别担心,在天涯的一个角落,我们会遇见她的。 my lo 阅读全文
posted @ 2016-06-05 06:48 distant-遥远 阅读(119) 评论(0) 推荐(0)
摘要: 多个物体同时运动 •例子:多个Div,鼠标移入变宽 –单定时器,存在问题 –每个Div一个定时器 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml 阅读全文
posted @ 2016-06-05 06:23 distant-遥远 阅读(154) 评论(0) 推荐(0)
摘要: 运动基础 •让Div运动起来 •速度——物体运动的快慢 •运动中的Bug –不会停止 –速度取某些值会无法停止 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DT 阅读全文
posted @ 2016-06-05 04:13 distant-遥远 阅读(167) 评论(0) 推荐(0)
摘要: 默认行为 •什么是默认行为 l阻止表单默认行为 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <htm 阅读全文
posted @ 2016-06-05 01:51 distant-遥远 阅读(178) 评论(0) 推荐(0)