给里面的a元素加一个margin-top,margin-top不是相对于外侧div来的 Read More
posted @ 2015-02-27 10:17 zhouyan_jsj Views(121) Comments(1) Diggs(0) Edit
function tigerMac(speed,elems,hitStyle,fn){ var that=this; var _speed = 200/speed, _oldelems=$(elems), _cycIndex=0; var _elems=... Read More
posted @ 2015-06-11 15:50 zhouyan_jsj Views(94) Comments(0) Diggs(0) Edit
1 body{background: #fff;} 2 .both{background: url("http://img1.40017.cn/cn/s/ZhuanTi/2015/75603/both.jpg") no-repeat top center;} 3 4 5 .top{ width... Read More
posted @ 2015-05-13 15:00 zhouyan_jsj Views(119) Comments(0) Diggs(0) Edit
滚动滚动栏,导航栏跟着变,点击导航栏,滚动到相应的位置 1 2 3 4 5 6 7 8 64 65 66 67 68 69 70 71 ... Read More
posted @ 2015-05-13 14:53 zhouyan_jsj Views(196) Comments(0) Diggs(0) Edit
1 2 3 4 5 6 7 17 18 19 20 兼容Ie的阴影21 22 23 View Code生成样式链接:http://code.ciaoca.com/style/hexcolor/知识点介绍链接:http://w... Read More
posted @ 2015-05-13 14:46 zhouyan_jsj Views(269) Comments(0) Diggs(0) Edit
滚动条滚动到一定高度时,显示导航栏 1 2 3 4 5 6 7 8 35 36 37 38 39 花团锦簇40 百花争艳41 花红柳绿42 ... Read More
posted @ 2015-05-13 14:37 zhouyan_jsj Views(263) Comments(0) Diggs(0) Edit
在布局ul时,给li设置margin-right的时候,每行的最后一个li有margin-right 导致ul 看上去不居中的问题 1 2 3 4 5 6 7 18 19 20 21 22 23 ... Read More
posted @ 2015-05-13 14:26 zhouyan_jsj Views(395) Comments(0) Diggs(0) Edit
-->function inputIeplaceholder(objInput,focusC,blurC){ var doc = document, inputs = doc.getElementById(objInput), //input... Read More
posted @ 2015-05-10 10:35 zhouyan_jsj Views(231) Comments(2) Diggs(0) Edit
/** * Created by zhouyan on 15/4/26. *///前台调用var $=function(args){ return new Base(args);}//基础库function Base(args){ //创建一个数组,来保存获取的节点和节点数组 th... Read More
posted @ 2015-04-28 21:52 zhouyan_jsj Views(141) Comments(0) Diggs(0) Edit
base.js/** * Created by zhouyan on 15/4/26. *///前台调用var $=function(_this){ return new Base(_this);}//基础库function Base(_this){ //创建一个数组,来保存获取的节点和... Read More
posted @ 2015-04-27 21:49 zhouyan_jsj Views(112) Comments(0) Diggs(0) Edit
/** * Created by zhouyan on 15/4/26. *///前台调用var $=function(){ return new Base();}//基础库function Base(){ //创建一个数组,来保存获取的节点和节点数组 this.elements=... Read More
posted @ 2015-04-26 20:16 zhouyan_jsj Views(133) Comments(0) Diggs(0) Edit