- 博客(1)
- 资源 (1)
- 收藏
- 关注
转载 JS与JQUERY获取页面大小、滚动条位置、元素位置
js与jquery获得页面大小、滚动条位置、元素位置 //页面位置及窗口大小 function GetPageSize() { var scrW, scrH; if(window.innerHeight && window.scrollMaxY) { // Mozilla scrW = window.innerWidth + window.scrollMaxX;
2013-10-24 10:47:56 804
smarty3.0中文手册
Smaty的一些特点:
It is extremely fast.
非常非常的快!
It is efficient since the PHP parser does the dirty work.
用php分析器干这个苦差事是有效的
No template parsing overhead, only compiles once.
不需要多余的模板语法解析,仅仅是编译一次
It is smart about recompiling only the template files that have changed.
仅对修改过的模板文件进行重新编译
You can make custom functions and custom variable modifiers, so the template language is extremely extensible.
可以编辑'自定义函数'和自定义'变量',因此这种模板语言完全可以扩展
Configurable template delimiter tag syntax, so you can use {}, {{}}, <!--{}-->, etc.
可以自行设置模板定界符,所以你可以使用{}, {{}}, <!--{}-->, 等等
The if/elseif/else/endif constructs are passed to the PHP parser, so the {if ...} expression syntax can be as simple or as complex as you like.
诸如 if/elseif/else/endif 语句可以被传递到php语法解析器,所以 {if ...} 表达式是简单的或者是复合的,随你喜欢啦
Allows unlimited nesting of sections, if's etc.
可以无限嵌套sections、if等。
Built-in caching support
内建缓存支持
Arbitrary template sources
独立模板文件
Custom cache handling functions
可自定义缓存处理函数
Template Inheritance for easy management of template content.
模板继承易于管理模板内容
Plugin architecture
插件体系结构
2012-11-12
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人