class SwitchesController [:index, :show] def index end def show end #存储拓扑 def topo @vts = VmToSwitch.all @sts = SwitchToSwitch.all @st...
分类:
其他好文 时间:
2014-08-07 03:05:28
阅读次数:
269
demo预览地址:http://www.qhttl.com/content/view/2014/07/18/jiaoben75/jiaoben75/index.html下载地址:基于jquery宽屏菜单导航
分类:
Web程序 时间:
2014-08-07 00:20:27
阅读次数:
220
Multiple Bindings causeddataBing weird????Text.DataBindings.Add(new Binding("Text", bs1, "Index_Code"));Text.DataBindings.Add(new Binding("Text", bs2,...
分类:
其他好文 时间:
2014-08-06 22:44:22
阅读次数:
193
achartengine做平行线的时候经常会遇到:java.lang.IndexOutOfBoundsException: Invalid index 1, size is 1at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayLis...
分类:
移动开发 时间:
2014-08-06 22:24:54
阅读次数:
473
http://www.ligerui.com/http://www.jeasyui.com/index.phphttp://www.jqwidgets.com/
分类:
Web程序 时间:
2014-08-06 22:24:32
阅读次数:
216
同源策略:动态内容(如javascript)只能阅读与之同源的哪些http应答和cookie。同源指的是域名、协议、端口号相同。但是,index.htmlabc.com/test.phpjsonp工作过程1.首先在客户端定义一个函数,加载js文件并把这个函数名作为参数值传到服务器。2.服务器拿到函数...
分类:
Web程序 时间:
2014-08-06 22:21:52
阅读次数:
237
index.html upload Upload ajaxFileUpload.jsjQuery.extend({ createUp...
分类:
其他好文 时间:
2014-08-06 18:38:41
阅读次数:
292
通常我们在一个ASP.NET MVC项目中创建一个Controller的时候,Index()方法默认的返回类型都是ActionResult,通过查看UML图,ActionResult实际上是一个抽象类,因此实际返回的类型是该抽象类的子类。ØActionResult及其子类的UML图有关ActionR...
分类:
Web程序 时间:
2014-08-06 18:33:11
阅读次数:
267
使用smarty,在tpl文件中如何使用相对路径调用css&javascript文件,实际上这个相对路径的参照物就是以调用该tpl文件的php文件来写。假如,我在index.php这个文件中调用template/index.tpl,那么index.tpl里面使用的css&javascript文件的相...
分类:
其他好文 时间:
2014-08-06 18:16:51
阅读次数:
271
第15节:ThinkPHP 3.1.2 模板变量详解1、模版基本使用IndexAction里添加index方法,内容为:$this->assign('name','赵桐正'); // 将值“赵桐正”交给标识“name”$this->display(); //显示模版,Tpl文件夹下默认index.....
分类:
Web程序 时间:
2014-08-06 17:46:31
阅读次数:
324