public function businessDraftShow(){ $model = D('business');// 实例化Data数据对象 $data = $model->search(2); $shuju = $data['data']; $page = $data['pag...
分类:
其他好文 时间:
2014-08-08 15:30:56
阅读次数:
276
transitions:property duration timing-function;transitionst他有三个参数:1)property:属性设置,例如background,color等。2)duration:执行时间, 例如1s, 0.5s等。3)timing-function:动画...
分类:
Web程序 时间:
2014-08-08 15:15:46
阅读次数:
267
<html ng-app>
<head>
<script src="lib/angular/angular.js"></script>
<script>
function PhoneListCtrl($scope){
$scope.phones = [
{‘name‘:‘华为‘},
...
分类:
Web程序 时间:
2014-08-08 13:05:06
阅读次数:
233
file.js文件 需要安装formidable 模块 var?formidable?=?require(‘formidable‘);
var?????http?=?require(‘http‘);
var?????sys?=?require(‘sys‘);??
http.createServer(function(req,?res)?...
分类:
其他好文 时间:
2014-08-08 13:02:36
阅读次数:
202
var myChart= echarts.init(document.getElementById('myChart'));
myChart.on('click', function (param) {
alert('点击了我!');
});
Echart事件参数可以去config.js查找...
分类:
其他好文 时间:
2014-08-08 12:49:45
阅读次数:
772
对thinkphp 那简直是一窍不通,使用这个ajax 也是用的jq POST方法public function ajaxshow08(){ $model=M('Flow'); $bid = $_POST['data']; $list = $model->where(array('busine...
分类:
Web程序 时间:
2014-08-08 12:35:05
阅读次数:
234
function cityListChange(cityCode){ //{lon=121.491121, name=上海, province=上海市, telPrefix=021, provinceid=310000, code=310100, lat=31.243466, pl...
分类:
Web程序 时间:
2014-08-08 12:30:35
阅读次数:
236
看jquery cookbook 读书笔记 $(this)是不能随便乱用滴。 举个栗子 1 $(document).ready(function(){2 $(".clicky").click(function(){3 $(this).addClass...
分类:
Web程序 时间:
2014-08-08 12:26:45
阅读次数:
249
document.getElementById('eastFrame').setAttribute('src','#'); // this will copy father window to this iframe(function() { Grs = function() { ...
分类:
编程语言 时间:
2014-08-08 12:23:45
阅读次数:
170
项目放到国外服务上时,由于有时区差异,要获得服务器时间就得进行时区转换private function getTimeZoneFix(fixDate:Date, GMTHour:NUmber = 8):Date{ var gmtDate:Date = new Date(fixDate); va...
分类:
其他好文 时间:
2014-08-08 12:19:16
阅读次数:
222