- 博客(5)
- 收藏
- 关注
原创 js运动原理2
#div1{ width: 100px; height: 100px; background: red; position:absolute; top: 50px; left:0; } #div2{
2016-05-09 08:56:47
356
原创 js运动原理
#div1{ width: 200px; height: 200px; background: red; position:absolute; top: 50px; left:0; overflow: hidden;
2016-05-09 08:54:01
291
原创 js轮播图框架结构
// JavaScript Document //获取dom元素样式属性的。//获取对象obj 的样式,属性为 attr 的值;function getStyle(obj, attr) { if (obj.currentStyle) { //ie return obj.currentStyle[attr]; } else { ret
2016-05-07 20:28:03
674
原创 js轮播图原理
*{margin: 0;padding: 0;} #div1{ width:810px; height:320px; position:relative; overflow: hidden; margin:10px 10px; }
2016-05-07 14:28:19
721
原创 事件原理
var a = document.getElementById("y1"); var b = document.getElementById("b1"); var c = document.getElementById("l1"); var sum = ""; b.onclick=function(){
2016-05-02 13:45:09
391
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人