admin 发布的文章

// 高亮效果 $("table").find("td").mouseover(function(){ // 配置行列颜色 var color = '#CCE8CF'; // 配置当前单元格颜色 var currentTdColor = '#97D79E'; var This = $(this); // 将所有的单元格的颜色变为空 $("table").find("td").css('background-color', ''); - 阅读剩余部分 -

从地图上选择,获取地址位置名称:http://developer.baidu.com/map/jsdemo.htm#i7_2从地图上选择,获取地址位置坐标:http://developer.baidu.com/map/jsdemo.htm#h0_4根据IP定位:http://developer.baidu.com/map/jsdemo.htm#i8_2根据城市名定位:http://developer.baidu.com/map/jsdemo.htm#i8_3根据经纬度定位:http://developer.baidu.com/map/jsdemo.htm#i8_4

<? // **************************** // microsnow // 此文件用于快速测试UTF8编码的文件是不是加了BOM,并可自动移除 // 基本于 Bob Shen 的版本,二次开发 // **************************** $basedir='WWW_PATH'; //修改此行为需要检测的目录,点表示当前目录 $auto=1; //是否自动移除发现的BOM信息。1为是,0为否。 //以下不用改动 read_dir($basedir); // 遍历目录 function read_dir($di- 阅读剩余部分 -

function convert_c_num($num) { $a_num = array(0, 1, 2, 3, 4, 5, 6, 7, 8, 9); $c_num = array('零', '一', '二', '三', '四', '五', '六', '七' ,'八' ,'九'); $j = array(0 => '', 1 =>'十', 2 =>'百', 3 =>'千', 4 =>'万', 5 =>'十', 6=> '百', 7=>'千'); $r = strrev($num); - 阅读剩余部分 -

当开查询字符串的时候,参数enable_query_strings 为 true 。首页报错An Error Was EncounteredUnable to determine what should be displayed. A default route has not been specified in the routing file.解决办地,修改文件 system/core/Router.php_set_routing 函数内前面加// Load the routes.php file. if (file_exists(APPPATH.'config- 阅读剩余部分 -