自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

JuneChan的专栏

记录些小小的东西

  • 博客(8)
  • 资源 (1)
  • 收藏
  • 关注

转载 document.body.scrollTop用法

网页可见区域宽: document.body.clientWidth;网页可见区域高: document.body.clientHeight;网页可见区域宽: document.body.offsetWidth    (包括边线的宽);网页可见区域高: document.body.offsetHeight   (包括边线的宽);网页正文全文宽: document.body.scro

2015-09-02 18:14:21 201

转载 scrollLeft,scrollTop,滚动代码的总结

研究了一下横向和竖向图片滚动的代码第一个: for(var i=1;i     {          document.getElementById("TextBox1").scrollTop++;          document.getElementById("TextBox1").scrollLeft++;      }我刚开始的时候写成了 for(int

2015-09-02 18:11:24 329

翻译 PHP缓存函数apc

APC 函数apc_add — 缓存一个变量到数据存储apc_bin_dump — Get a binary dump of the given files and user variablesapc_bin_dumpfile — Output a binary dump of cached files and user variables to a fileapc_bin_load 

2015-09-01 18:20:35 241

原创 获取微信用户信息的一些常用方法

<?php /** * 通过$appid、$appsecret获得基础支持的接口唯一凭证access_token,返回值为array类型 */function get_access_token_base($appid , $appsecret ) { $url = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_cr

2015-09-01 18:13:58 672

原创 Ajax在PHP中的使用

前台:$(document).ready(function(){ $("sm").click(function(){ $.ajax({ type: "GET", url: "kan.inc.php", data: {openid:{$openid}, kanid:{$kanid}},

2015-09-01 18:05:55 363

原创 表单验证中的电话号码格式校验

表单验证中的电话号码格式校验,包括JS和PHP

2015-08-31 17:33:06 3129

原创 微擎分页

微擎模块开发中的分页方法实现。

2015-08-31 13:05:00 3260

转载 PHP获取时间的一些常用方法

/** * php 获取时间(今天,昨天,三天内,本周,上周,本月,三年内,半年内,一年内,三年内) * * author:ihelloworld2010@gmail.com * date:2012-06-28 16:00:01 */$q = $_GET['q'] ? intval($_GET['q']) : 0;$text = '';$now =

2015-08-03 13:25:09 296

SourceTree for Windows 2.1.2.5中文版

SourceTree Windows中文版本,官网下载太慢

2017-07-13

空空如也

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

TA关注的人

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