摘要: javascript中的匀速运动 不要小看这个东西呀,机关重重呀 html: <input type="button" value="start" onclick="show()"/> <div id="move"> </div> css: #move{ height:100px; width:10 阅读全文
posted @ 2016-01-29 21:40 咕-咚 阅读(750) 评论(0) 推荐(0)
摘要: javascript实现减速运动 html: <input type="button" value="start" onclick="show()"/> <div id="content"> </div> css: #content{ height:100px; width:100px; backg 阅读全文
posted @ 2016-01-29 20:52 咕-咚 阅读(519) 评论(0) 推荐(0)
摘要: javascript实现图片的淡入淡出 这个只是一个简单的实例,后面我会加强滴 我们以div例子: html: <div id="content"> </div> css: #content{ height:200px; width:200px; background:green; position 阅读全文
posted @ 2016-01-29 20:51 咕-咚 阅读(457) 评论(0) 推荐(0)
摘要: javascript实现(分享到的小实例) 这个算值运动的一个实例应用吧 HTML代码: <div id="tag"> <span id="showInfo">分享到</span> </div> css代码: #tag{ height:200px; width:200px; background:g 阅读全文
posted @ 2016-01-29 20:49 咕-咚 阅读(863) 评论(0) 推荐(0)
摘要: javascript中奇怪事件 为啥叫奇怪事件了,应该是我目前掌握的知识暂时不能解释这种现象滴呀(也许可以用事件流的概念来解释滴呀) 看布局: #hideInfo{ height:100px; width:100px; background:green; position:absolute; top 阅读全文
posted @ 2016-01-29 20:48 咕-咚 阅读(182) 评论(0) 推荐(0)