jQuery有一个用来作为DOM快速载入javascript的得心应手的小函数,那就是ready… 他在页面加载完成之前执行。 (也许window.onload()能实现同样的功能,但当window.onload函数执行的时候,要说明所有东西已经载入,包括图像和横幅等等。要知道较大的图片下载速度会比较慢,因此用户必须等待大图片下载完毕才能看到window.onload()执行的代码效果,这样就花费了很长的等待时间,这不是我们想要的。)。 Read the rest of this entry »
mysqli_fetch_array是mysqli_fetch_rows的延伸,mysqli_fetch_rows获得仅仅是行数,而mysqli_fetch_array不仅仅获得行数,还有可以获得数组的值。
例子: Read the rest of this entry »
七月 10th, 2010 in
php+mysql |
No Comments
后台:“模块管理”—“全站搜索模块”-“管理分类”。
六月 10th, 2010 in
phpcms |
No Comments
主要目录部分
/admin 管理后台目录
– /skin/ 后台样式
– /templates/ 后台样式模板 Read the rest of this entry »
六月 10th, 2010 in
phpcms |
1 Comment
一、模板管理说明
1.所有的模板方案都保存在./templates/目录下
2.增加的网站模板方案,应该放置于.templates/目录
3.需要应用新的网站模板方案,把该模板方案设置为系统默认方案 Read the rest of this entry »
六月 10th, 2010 in
phpcms |
No Comments
首先,为新的模板文件创建一个目录。
打开:includes/templates/ 在这里建立一个目录,例如mytemplate
复制includes\templates\classic 所有目录和文件到新创建的includes\templates\mytemplate/目录中.接着,用文本编辑器打开文件 /includes/templates/mytemplate/template_info.php。修改 $template_name = ‘Default Theme’; 为$template_name = ‘我的模板’; 加上你自己的版本、作者和描述。现在,转到管理页面,选择 工具(Tools) -> 模板选择(Template Selection),点击编辑,从下拉菜单中选择你的模板,并点击更新按钮。最后,选择工具(Tools) -> 外观设置(Layout Boxes Controller), 在屏幕最下面,选择重置按钮。 Read the rest of this entry »
六月 5th, 2010 in
Zen Cart |
No Comments