发博文
个人资料
自由的风
自由的风
  • 博客等级:
  • 博客积分:303
  • 博客访问:25,586
  • 关注人气:7
芊芊银饰


友情链接

芊芊银饰

芊芊银饰,时尚饰品,手链,手镯,耳坠,戒指,童锁

留言
加载中…
博文



 

确定joomla安装路径下文件夹logs和tmp目录是否可写,在linux下把这两个目录权限改为777
改了后如果还是报错,更改配置文件joomla的配置文件configuration.php,找到这两行,改成如下即可:
public $log_path = './logs';
public $tmp_path = './tmp';

 

 

另外,组件等如果通过压缩包安装提示没有找到安装xml文件,请把安装文件解压后放到joomla下的tmp文件夹下,通过文件夹安装。

阅读  ┆ 评论  ┆ 转载 ┆ 收藏 

转自网络,在firefox,ie6,ie7,ie8,谷歌浏览器下测试通过,代码如下

 

<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
 
<html>
<head>
<meta http-equiv='content-type' content='text/html; charset=iso-8859-2'>
<title>Universal vertical center solution</title>
<style>
html ,body{height:100%}
.greenBorder {border: 1px solid green;}
</style>
</head>
 
<body>
 
<h1>Vertical Centering in CSS - Example</h1>
 
<div class='greenBorder' style='display: table; height: 100%; background-color:#f1f1f1;#position: relative; overflow: hidden;'>
 <div style=' #position: absolute; #top: 50%;display: table-cell; vertical-align: middle;'>

阅读  ┆ 评论  ┆ 转载 ┆ 收藏 

利用jquery实现两个select标签多选内容从一个标签选择到另外一个标签的简单方法,区区几行就能解决问题。

效果如下所示:


本例中用到jquery请自行下载。若有不明白或者有新的功能需求请留言

代码如下:
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Transitional//EN'>
<HTML>
<HEAD>
<TITLE>select标签 </TITLE>
<META NAME='Generator' CONTENT='EditPlus'>
<META NAME='Author' CONTENT=''>
<META NAME='Keywords' CONTENT=''>
<META NAME='Description' CONTENT=''>
<script type='text/
阅读  ┆ 评论  ┆ 转载 ┆ 收藏 
(2011-07-08 09:23)
标签:

choosing

careers

英语作文

杂谈

分类: 其他
In our country,most of parents think it is their responsibilities to plan a future for their children.For a better future the child have to learn playing violin,piano or other music instrument.When the child grow older he should enter the school or study the subject their parent choose for him.

It is ok if the child likes the instrument or the subject. But some children are not interested in what parents arrange for them.The child want to do the things he likes.When he is older,he think he is able to choose the right way.

In my opinion parents should respect the interest of the child and should not force the child to do the thing he do not like because that will get a worse result.Parents should make their suggestion.If the child is wrong they must persuade the child to change his mind.Because the child lacks of experience of living,he also should communicate with parents and get their suggestion.

阅读  ┆ 评论  ┆ 转载 ┆ 收藏 

找资料无意中看到这个过滤正则表达式,觉得很好,特转载过来。

代码如下:

<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Transitional//EN'>
<HTML>
<HEAD>
<TITLE> 正则表达式</TITLE>
<SCRIPT LANGUAGE='JavaScript'>
<!--
function stripHTML()
{
var re = /(<([^>]+)>)/gi; //正则表达式
for(i=0;i<arguments.length;i++)
arguments[i].value = arguments[i].value.replace(re,'');

}
//-->
</SCRIPT>
</HEAD>
<BODY>
<form name ='myform'>
<textarea name='remove' rows=10 cols=30 id='remove'>
<p>javascript 过滤掉html标签</p>
<p>利用正则表达式</p>
</textarea><br />
<input type='button' value='Remove HTML Tags' onclick='stripHTML(this.form.remove)'>
</form>
</BODY>
</HTML>

转载自:http://www.hscripts.c

阅读  ┆ 评论  ┆ 转载 ┆ 收藏 

利用appendChild,removeChild等模拟table行增加,删除等操作。









********我的小店*****

阅读  ┆ 评论  ┆ 转载 ┆ 收藏 
标签:

博客五周年

我的博客今天4144天啦!

2006年04月17日,在新浪博客安家。

2006年04月17日,写下了第一篇博文:《今天申请了并开通了sina的blog》

这些年来,新浪博客,陪伴着我一点一点谱写生活。

文 章  111篇
图 片  0张
访问人数 15075次
阅读  ┆ 评论  ┆ 转载原文 ┆ 收藏 
模拟google,baidu等智能搜索下拉列表匹配,利用jquery + ajax技术实现异步查询,PHP程序实现后台检索。


程序分别如下所示:

search.php(提交检索页面),代码如下:

<?php header('content-type:text/html; charset=utf-8');?>
<!DOCTYPE html PUB
阅读  ┆ 评论  ┆ 转载 ┆ 收藏 
推荐一款图片展示模块(Art Feature Carousel),可用于展示广告或产品,图片切换效果非常棒。 

效果图下图所示:


阅读  ┆ 评论  ┆ 转载 ┆ 收藏 
标签:

joomla

modules

模块开发

分类: joomla相关
下面自己开发一个首页最新新闻教程,有日期显示。
首先在joomla网站所在文件夹,打开modules文件夹,随便copy一个模块文件夹,比如说copy一个mod_latestnews文件夹,copy到别的地方。改文件及名为mod_indexnews。
打开mod_indexnews文件夹,去除不需要的文件。并且改名与文件夹名相同。只留下index.html,mod_indexnews.php,mod_indexnews.xml。如下图所示:



接下来着手具体开发工作。看看mod_indexnews.php,如下图所示:相信代码都能看懂吧。
阅读  ┆ 评论  ┆ 转载 ┆ 收藏 
  

新浪BLOG意见反馈留言板 不良信息反馈 电话:4006900000 提示音后按1键(按当地市话标准计费) 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 会员注册 | 产品答疑

新浪公司 版权所有