浏览模式: 标准 | 列表2008年01月的文章

msn中国首页的图片幻灯效果

<html><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<SCRIPT language=javascript src="script55.js" type=text/javascript></SCRIPT>
<style>
<!--
img {border:0;}
.big {width:310px;}
.thubpiccur{background:url(../arrow2.gif) no-repeat center left;z-index:30;}
.thubpic img,.thubpiccur img{width:56px;height:45px;border-top:2px solid #fff;border-bottom:2px solid #fff;border-left:3px solid #fff;border-right:3px solid #fff;}
.thubpiccur img{border-color:#ccc;}
-->
</style>
</HEAD>
<BODY>

<Div class="big">

<DIV style="POSITION: relative; float:left;">
<A id=foclnk href="http://"><IMG id=focpic style="FILTER: RevealTrans ( duration = 1,transition=12 ); VISIBILITY: visible; POSITION: absolute" height=245 alt="" src="http://img5.cn.msn.com/5/2008/1/25/14417.jpg" width=240></A>
</DIV>
<div style="float:right;">
<!--bigen-->
<DIV class=thubpiccur id=tmb0 onmouseover=setfoc(0); onmouseout=playit();><A href="http://msn.ynet.com/view.jsp?oid=27306905"><IMG height=46 alt="" src="http://img5.cn.msn.com/5/2008/1/25/14417.jpg" width=56></A></DIV>
<DIV class=thubpic id=tmb1 onmouseover=setfoc(1); onmouseout=playit();><A href="http://msn.ynet.com/view.jsp?oid=27292399"><IMG height=46 alt="" src="http://img7.cn.msn.com/7/2008/1/24/14372.jpg" width=56></A></DIV>
<DIV class=thubpic id=tmb2 onmouseover=setfoc(2); onmouseout=playit();><A href="http://msn.ynet.com/view.jsp?oid=27292123"><IMG height=46 alt="" src="http://img8.cn.msn.com/8/2008/1/24/14373.jpg" width=56></A></DIV>
<DIV class=thubpic id=tmb3 onmouseover=setfoc(3); onmouseout=playit();><A href="http://msn.ynet.com/view.jsp?oid=27277521"><IMG height=46 alt="" src="http://img6.cn.msn.com/6/2008/1/24/14374.jpg" width=56></A></DIV>
<DIV class=thubpic id=tmb4 onmouseover=setfoc(4); onmouseout=playit();><A href="http://msn.ynet.com/view.jsp?oid=27277521"><IMG height=46 alt="" src="http://img7.cn.msn.com/7/2008/1/22/14287.jpg" width=56></A></DIV>
<!--end-->
</div>
<SCRIPT language=javascript type=text/javascript>
var picarry = {};var lnkarry = {};var ttlarry = {};
picarry[0] = "http://img5.cn.msn.com/5/2008/1/25/14417.jpg";
lnkarry[0] = "http://msn.ynet.com/view.jsp?oid=27306905";
ttlarry[0] = "陕西遭遇50年来最强暴风雪";
picarry[1] = "http://img7.cn.msn.com/7/2008/1/24/14372.jpg";
lnkarry[1] = "http://msn.ynet.com/view.jsp?oid=27292399";
ttlarry[1] = "两米格飞机相撞 飞行员逃生全过程";
picarry[2] = "http://img8.cn.msn.com/8/2008/1/24/14373.jpg";
lnkarry[2] = "http://msn.ynet.com/view.jsp?oid=27292123";
ttlarry[2] = "智利斥10亿英镑建成世界最大游泳池";
picarry[3] = "http://img6.cn.msn.com/6/2008/1/24/14374.jpg";
lnkarry[3] = "http://msn.ynet.com/view.jsp?oid=27277521";
ttlarry[3] = "武汉冰雪天气“乐坏”东北虎";
picarry[4] = "http://img7.cn.msn.com/7/2008/1/22/14287.jpg";
lnkarry[4] = "http://msn.ynet.com/view.jsp?oid=27277521";
ttlarry[4] = "武汉冰雪天气“乐坏”东北虎";
</SCRIPT>
</Div>
</BODY></html>

» 阅读全文

Tags: msn, 代码, 幻灯, 小偷

发个帖子庆祝一下google talk群聊搞定了

庆祝一下google talk群聊搞定了
  程序是网上的开源程序{Python},完全可以自己修改.

如果你喜欢聊群.有嫌弃QQ的广告的话建议自己安装一个跟一帮朋友胡吹乱侃好了.

» 阅读全文

Tags: google, talk, 机器人, python

解决Apache关于‘httpready’报错的办法{转自花和尚}

在安装了Apache以后,确认httpd.conf的配置没有任何错误,但启动时却遇到:

“[warn] (2)No such file or directory:Failed to enable the ‘httpready’ Accept Filter”这个错误,百思不得其解。后来找遍资料终于明白,原因出在内核上(我的FreeBSD是6.2)。

解决办法:要在内核加载accf_http这个module,他的作用是直到接到完整的http请求前先缓冲下数据。
可以输入    kldload accf_http 加载到内核中,如果想永久的在内核里加载这个模块可以在/boot/loader.conf文件中输入:

accf_http_load=”YES”

» 阅读全文

Tags: apache, 错误, httpd配置

网站恢复正常了.发篇留个印

因刚开始架设服务器的时候磁盘分配没有规划好.导致mysql数据库所在磁盘满掉了.

现已经解决请参考上一篇《移动mysql数据库目录

总结经验教训:以后配置FreeBSD的时候一定要规划好磁盘配额.要不以后会麻烦s

» 阅读全文

移动mysql数据库目录

1建立数据库目录

2修改/usr/local/etc/rc.d/mysql-server (这个是启动文件)

3修改/etc/my.cnf  这里我的没有找到

找到所有默认目录/var/db/mysql的的方改成你新建立的数据库目录记得给这个目录加上写权限

4复制数据库文件到新的目录

5重启ok

» 阅读全文

Tags: 数据库, mysql, 移动

ports安装

top 命令中文详解

top监控命令在FreeBSD上的使用
top监控工具可以显示CPU占用率为前几位的进程,并提供CPU的实时活动情况
语法:top [-s time] [-d count] [-q] [-h] [-n number] [-f filename] [-o field][-U usename]
-S 将系统进程信息也显示到屏幕上,默认情况下,top不显示系统进程的信息
-b 使用”batch”方式运行top。在此种方式下,所有来自终端的输入都将被忽略,但交互键(比如C and )
依然起使用。这是运行top输出到哑终端或输到非终端的默认运行方式
-i 使用交互运行top程序,在此种方式下,命令会被进程立即被处理。不管命令是不是能被top所理解执行,
屏幕都将立即更新。这是top的默认运行方式。
-I 不显示空闲进程,在默认情况下,top连同空闲进程的信息一同输出。
-t 不显示top进程自己

» 阅读全文

Tags: top, 命令, 详解

一个能延缓载入广告播放asf的代码

win的web播放代码<用在广告延缓载入方面能通过>

<EMBED src=56.asf style="width:235px; height:210px;" type="audio/mpeg" AUTOSTART="1" loop="-1"></EMBED>

» 阅读全文

Tags: 广告, 载入, 播放, web

Records:1012