CSS命名规范CSS样式命名整理页面结构容器: container/wrap 整体宽度:wrapper
页头:header 内容:content 页面主体:main 页尾:footer 导航:nav 侧栏:sidebar 栏目:column
中间内容:center导航导航:nav 导航:mainba...
分类:
Web程序 时间:
2014-05-27 01:32:59
阅读次数:
374
1、widge一般用于公用模块的设计与使用,以便加强软件模块的复用性与重用性一般使用include方法设计公共模块,比如,但是此方法有一个缺陷,无法利用$this->a=a;
+ header.html中模板{$a}传递参数只能使用{$Think.session.var}获取以下方法失效 pu...
分类:
Web程序 时间:
2014-05-19 13:50:23
阅读次数:
310
在Linux下安装PHP,源代码方式安装,总需要配置很多参数。这里列出常用配置参数,并详细用中文解释说明了。给大家一些参考编译PHP的时候慎用
–with-curlwrappers参数 ./configure--prefix=/usr/local/PHP php 安装目录
--with-apxs2=...
分类:
移动开发 时间:
2014-05-19 13:16:39
阅读次数:
8383
把datatable保存为xml,再读取xml转化为datatable DataTable dt =
new DataTable("dt", "http://baidu.com"); dt.Prefix = "xs";//前缀 dt.C...
分类:
Web程序 时间:
2014-05-19 10:26:30
阅读次数:
344
这一节我们关注模型绑定的值提供体系,先来介绍几个重要的接口一.IValueProvider,接口定义如下:1 public interface
IValueProvider2 {3 4 bool ContainsPrefix(string prefix);...
分类:
Web程序 时间:
2014-05-19 08:08:11
阅读次数:
1288
首先把贤哥封装好的解析文件和https://github.com/topfunky/hpple上下载的文件夹拖进工程里添加 libxml2.dylib 框架在
Header Search Paths 中添加 /usr/include/libxml2引入头文件YXHTML.h// 获取数据NSData...
分类:
移动开发 时间:
2014-05-18 20:27:32
阅读次数:
393
【题目】
Write a function to find the longest common prefix string amongst an array of strings.
【题意】
求一组字符串的最长公共前缀
【思路】
使用归并思想求解
要求字符串[1,2,..,k,k+1,...n]的最大公共前缀,先分别求[1,2,...k]和[k+1,...,n]的公共前缀...
分类:
其他好文 时间:
2014-05-18 05:17:53
阅读次数:
232
本机 PHP 安装./configure --prefix=/usr/local/php5
--with-gd --enable-gd-native-ttf --enable-gd-jis-conv --with-mysql
--with-pdo-mysql --with-oci8=instant....
分类:
系统相关 时间:
2014-05-18 00:56:23
阅读次数:
487
div+css命名规则-增强SEO页头:header登录条:loginBar标志:logo侧栏:sideBar广告:banner导航:nav子导航:subNav菜单:menu子菜单:subMenu搜索:search滚动:scroll页面主体:main内容:content标签页:tab文章列表:lis...
分类:
Web程序 时间:
2014-05-17 19:50:40
阅读次数:
415
请教:在header.htm模板文件中的下边这段代码是什么意思,什么作用?$diynav
怎么解释。好像与DIY有关 $diynav 答:$diynav 是一个变量,输出的就是在页面看到的DIY按钮和下拉
分类:
其他好文 时间:
2014-05-17 18:36:51
阅读次数:
541