自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 收藏
  • 关注

原创 可自动切换选项卡

当鼠标移动的时候,停止自动切换,当鼠标移除的时候继续自动切换代码如下:无标题文档*{margin:0;padding:0}.notice{ height:98px; width:298px; border:1px solid #eee; overflow:hidden; }.notice-tit{ height:27px; position:relati

2015-07-30 21:07:17 829

原创 可延迟的选项卡切换

带有一些延迟的选项卡效果更佳无标题文档*{margin:0;padding:0}.notice{ height:98px; width:298px; border:1px solid #eee; overflow:hidden; }.notice-tit{ height:27px; position:relative; }.notice-tit u

2015-07-30 19:22:59 593

原创 选项卡二

简洁的代码实现选项卡切换效果:无标题文档*{margin:0;padding:0}.notice{ height:98px; width:298px; border:1px solid #eee; overflow:hidden; }.notice-tit{ height:27px; position:relative; }.notice-tit ul

2015-07-29 19:41:56 713

原创 时间处理

正常显示:XX年XX月XX日 XX:XX:XX 以及星期//时间显示 window.onload = function(){ showTime(); } function checkTime(i){ if(i<10){ i = "0" + i; } return i; } function showTime(){ var myDate = new Date(

2015-07-26 15:45:27 582

原创 js 动画3 完美框架

js 框架:function getStyle(obj,attr){ if(obj.currentStyle){ return obj.currentStyle[attr]; } else{ return getComputedStyle(obj,false)[attr]; }}function startMove(obj,json,fn){ var flag = true

2015-07-22 20:53:11 742

原创 js动画2 多物体运动

速度渐变:代码如下:无标题文档ul,li{ list-style:none}ul li{ width:200px; height:100px; background:yellow; margin-bottom:20px;}window.onload = function(){ var aLi = document.getElementsByTagName('li

2015-07-20 21:01:34 521

原创 js 动画1

div速度 运动:代码如下:速度 运动body{paddiing:0;margin:0}#div1{width:200px; height:200px;background-color:red; position:relative;left:-200px; top:0;}#div1 span{width:20px;height:50px; background-color:bl

2015-07-20 17:04:00 535

原创 跨浏览器处理事件

无标题文档 解决各个浏览器不兼容的问题 function song(){ alert("Hello"); } var bt2 = document.getElementById('bt2'); var bt3 = document.getElementById('bt3'); //bt2.onclick = song; //bt2.onc

2015-07-12 15:18:16 637

原创 外部链接

index.html嵌入式css样式 慕课网,超酷的互联网、IT技术免费学习平台,创新的网络一站式学习、实践体验;服务及时贴心,内容专业、有趣易学。专注服务互联网工程师快速成为技术高手!style.cssspan{ color:red; font-size:20px;}

2015-07-10 09:38:09 535

原创 下拉菜单

代码如下: 爱好: 看书 旅游 运动 购物 效果如下:

2015-07-10 08:50:50 354

转载 js实现图片轮播

Owl Carousel制作百度百科2014新首页幻灯片演示*{margin:0;padding:0;list-style-type:none;}.scroll-outer{height:421px;background:url(images/bg.jpg) 50% 0 no-repeat;}#scroll{width:1080px;margin:0 auto;padding-to

2015-07-09 11:01:51 669

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除