自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 解析url

function parseQueryString(url) { var json = {}; var arr = url.substr(url.indexOf('?') + 1).split('&'); arr.forEach(function(item) { var tmp = item.split('=');

2016-09-27 19:21:55 279

原创 原型的两种方式

/* var Student = { name: 'Robot', height: 1.2, run: function () { console.log(this.name + ' is running...'); } }; var xiaoming = { name: '小明' };

2016-09-27 12:29:08 496

原创 Jquery实现360图片导航效果

*{margin:0;padding:0;} ul{list-style: none;} img{display: block; border:0;} .wrapper{width: 752px; border:1px solid #ccc; padding: 10px 0 0 10px; font-

2016-09-21 15:31:01 530

原创 手风琴效果

* { margin: 0; padding: 0; } ul{ list-style: none; } .wrap { width: 1010px; margin: 100px auto 0; }

2016-09-21 15:12:38 214

原创 三层级伦播图

ul,li,ol{ margin:0; padding:0; text-decoration: none; list-style: none; } .wrap{ width:650px; height:250px;

2016-09-21 15:04:38 495

原创 淘宝服饰精品广告

* { margin: 0; padding: 0; font-size: 12px; } ul { list-style: none; } a { text-decoration: none; }

2016-09-20 14:27:41 1046

原创 右下角的弹出框

.ad { position: fixed; right: 0; bottom: 0; width: 230px; height: 120px; background-image: url(imgs/ad.jpg); display

2016-09-19 21:52:53 366

原创 HTML dom中的insertBefore和Jquery中的区别

CoffeeTea请点击按钮向列表插入一个项目。试一下function myFunction(){var newItem=document.createElement("LI")var textnode=document.createTextNode("Water")newItem.appendChild(textnode)var list=document.getEle

2016-09-18 20:42:48 610

原创 js实现快速排序

快排思想(1)在数据集之中,选择一个元素作为"基准"(pivot)。(2)所有小于"基准"的元素,都移到"基准"的左边;所有大于"基准"的元素,都移到"基准"的右边。 var quickSort = function(arr) { if (arr.length <= 1) { return arr; } var pivotIndex = Ma

2016-09-12 09:38:58 325

原创 PHP基础

<?php $team=array("bill","kill","healsr","cindy");// echo $team[3]; /*$oxo=array(array('x','','o'), array('o','o','x'), array('x','y','z')); echo $oxo[0][2szr4r];*/ /*字符串连接使用句点(.)将一个字符串

2016-09-07 22:17:09 212

原创 仿网易轮播图

下面是slider.js/** * Created by andy on 2015/11/23. */window.onload = function() { // 获取元素 function $(id) {return document.getElementById(id);} var js_slider = $("js_slider"); // 获取最大盒子

2016-09-06 19:17:47 953

原创 放大镜

* {margin: 0;padding: 0;} img { vertical-align: top; } .box { width: 350px; height: 350px; margin:100px; border: 1px

2016-09-05 19:49:38 180

原创 含缓动公式的js样式

*{margin: 0; padding: 0;} ul {list-style:none;} body { background-color: #000; } .nav { width: 800px; height: 42px; back

2016-09-04 01:12:23 385

原创 注册验证

注册   

2016-09-02 09:56:27 541

空空如也

空空如也

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

TA关注的人

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