摘要: 1、数组的创建var arrayObj = new Array(); //创建一个数组var arrayObj = new Array([size]); //创建一个数组并指定长度,注意不是上限,是长度var arrayObj = new Array([element0[, element1[, .... 阅读全文
posted @ 2015-12-31 14:13 不会r闪怪腾讯 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 排行榜 节目名称 表演部门 获得票数 ... 阅读全文
posted @ 2015-12-30 17:51 不会r闪怪腾讯 阅读(521) 评论(0) 推荐(0) 编辑
摘要: 抽奖页面+js代码 ... 阅读全文
posted @ 2015-12-25 15:57 不会r闪怪腾讯 阅读(517) 评论(0) 推荐(0) 编辑
摘要: function randomColor(){ $str = '#'; for ($i=0; $i < 6; $i++) { $randomNum = rand(0,15); switch ($randomNum) { case '10... 阅读全文
posted @ 2015-12-14 16:25 不会r闪怪腾讯 阅读(207) 评论(0) 推荐(0) 编辑
摘要: // 获取二十四个月份 function allMonth($start,$end){ $startTime = strtotime($start.'01'); $monthArr = array(); $i=0; ... 阅读全文
posted @ 2015-12-14 16:17 不会r闪怪腾讯 阅读(273) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <title>侧边栏分享</title> <style type="text/css"> *{margin: 0px;padding: 0px;} #div1{width: 120px;height: 200px;background: r 阅读全文
posted @ 2015-12-08 11:30 不会r闪怪腾讯 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 1: span 标签设置width属性 需要让span:display:block; 当span 有float 和定位样式的时候 不需要添加。2: 定位: position:relative, fixed, absolute;常用定位 position:absolute;和float:le... 阅读全文
posted @ 2015-12-08 11:26 不会r闪怪腾讯 阅读(187) 评论(0) 推荐(0) 编辑