自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 loading.js

function loadingShow(){ var _PageHeight = document.documentElement.clientHeight, _PageWidth = document.documentElement.clientWidth; //计算loading框距离顶部和左部的距离(loading框的宽度为215px,高度为

2018-01-10 17:40:06 341

原创 页面加载中效果

$(function(){ $("#loading").modal("show"); $("").prependTo('body'); $("#YuFrame1").attr("src", '') $("#YuFrame1").load(function() { $("#loading").modal("hide"); }); });#loading

2018-01-05 10:31:38 1276

原创 表单类

<?phpclass Form_mdl extends CI { public $run_id; public $table_name=""; public $elements=array(); public $form_info=""; public $data=array(); //初始值 function __construct($params){ // par

2018-01-04 17:33:19 625

原创 得到where子句

function where_str($arr) { $wstr = ''; foreach ( $arr as $s1 ) { if(!$s1 [2]){$s1 [2]="1";} $name=$s1[0]; $vl=trim($s1[1]); if($vl) switch ($s1 [2]) { case "1" ://包含

2018-01-04 17:25:55 172

原创 列表页面JS

var total_page=1;function first_page(){$("#page_no").val("1");do_search();}function prev_page(){ if($("#page_no").val()<=1){ alert("已经是第一页"); return false; } $("#page_no").val(($("#page_no")

2018-01-04 17:23:06 252

原创 bootstrap模态框

//打开模态框 $("#myModal").modal("show"); $('#myModal').on('hide.bs.modal', function () { //模态框关闭时执行 }); × 正文 确定

2018-01-04 17:19:49 192

原创 codemirror用法

var editor = CodeMirror.fromTextArea(document.getElementById("code"), { lineNumbers: true, lineWrapping: true, mode: "application/x-httpd-php", indentUnit: 30, indentWithTabs: true});

2018-01-04 17:15:45 1309

原创 前端JS

textarea高度自增 用法 $("textarea").txtaAutoHeight(); $.fn.extend({ txtaAutoHeight: function () { return this.each(function () { var $this = $(this);

2018-01-04 17:14:35 174

原创 主控制器

header("Content-type: text/html; charset=utf-8");session_start();class Cool{ private static $db_static = null; function __get($a=''){ if(!self::$db_static){ include("class/db_class.php

2018-01-04 17:10:45 301

原创 coolform最最最最轻量级的PHP开发框架

coolform最最最最轻量级的PHP开发框架

2018-01-04 11:45:35 713

空空如也

空空如也

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

TA关注的人

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