发布于2007的文章

Aug 24

DEF-LINK: XHTML POS MP3 HDMI POS如果不分隔能显示NOS吗?我要赞美金盾工程呼啦啦。。。AvP

Animated Collapsible DIV
Author: Dynamic Drive
Note: Last updated June 27th, 07'. Added ability for a DIV to be initially expanded.

Description: This script collapses any DIV on the page and lets users manually toggle its appearance via a smooth "Web 2.0 style" animation. It's a popular effect on social networking/ comment sites such as Digg. Three distinguishing features of this script are:

The ability for the script to work on both DIVs that have an explicit CSS height attribute defined, and without. In the later case, the script will first hide (versus collapse) the DIV until retrieving its true height on page load.
A persistence feature that if enabled will remember if a DIV has been expanded, and upon the user's return to the page within the same browser session, keep it expanded.
The duration of the animation is absolute and user configurable, such as 1.5 seconds. This means regardless of the height of the DIV, the script will take 1.5 seconds to finish revealing it. This creates a uniform period before a DIV is revealed regardless of its height.
By default the script will dynamically collapse the DIV in question when the page loads. You can optionally specify that the script leave the DIV expanded instead.


Aug 24

我感觉这样的东西还要弄不少。。。。

democracy 2.0.1 最新版,后台管理以及前台显示均为中文乱码。先查JS,PHP部分均未发现源头,最后拿PhpMyAdmin查看数据库也是乱码,发现 wp_democracyQ,wp_democracyA均为letin编码而非UTF8,手动改好后,页面显示正常。

反过来再查改源码,只要在插件创建表的时候强制为UT8即可,打开 democracy.php ,第 149 行起:



CREATE TABLE {$table_prefix}democracyQ (
 id int(10) unsigned NOT NULL auto_increment,
 question text NOT NULL,
 added int(10) unsigned NOT NULL default '0',
 allowusers tinyint(1) unsigned NOT NULL default '0',
 current tinyint(1) unsigned NOT NULL default '0',
 active tinyint(1) unsigned NOT NULL default '0',
 multiple tinyint(1) unsigned NOT NULL default '0',
 PRIMARY KEY  (id),
 KEY current (current)
 ) TYPE=MyISAM CHARACTER SET=utf8;

CREATE TABLE {$table_prefix}democracyA (
  aid int(10) unsigned NOT NULL auto_increment,
  qid int(10) unsigned NOT NULL default '0',
  answer text NOT NULL,
  votes mediumint(6) unsigned NOT NULL default '0',
  added_by tinyint(1) unsigned NOT NULL default '0',
  PRIMARY KEY  (aid),
  KEY qid (qid)
) TYPE=MyISAM CHARACTER SET=utf8;

注意添加了最后的 TYPE=MyISAM CHARACTER SET=utf8 这句。

嗯,偷懒的,这里有改好的文件:


Aug 20

以前的数据不可能全部恢复了,我准备把一些我认为有点价值的文章重新抄录过来,主要是软件方面的东西,数码那些现在抄来也过时了没什么意思。

截图是个问题,嗯,唉。。。。很多问题。。


Jul 30

没有想到,新BLOG开张的第一天,却要写下这么沉重的东西。

是什么人,能把几十个桀骜不驯的人组织起来成为一个大家庭,是谁对待网络上的战友像对待兄弟一样真挚热情,他就是我们[D.M]的队长HH。

HH淡出Quake界后,一直在滑翔界发展,直到今天,我知道了他离我们远去的事实,事故详情

眼眶湿润,已经不能言语,只希望在HH战斗过的Quake Arean,那些曾经和他并肩战斗过的战友,认识的不认识的Quaker,能够默默的送他一程。

以下是我们老队员 Dean[D.M] 对他的怀念致辞:

2007年7月23日,我们DM雷神之槌战队创建7周年纪念日,2000年7月23日HH大哥还有另外几个人一起创建了这支外人看起来很奇怪的团队,在此之前我们都是游兵散将,由于经常在同一个服务器(当时的Wolf)里面玩混熟了,又经常受到一些技术水平比较高的战队玩家欺负,所以大家就有了一个想法,将我们这些游兵散将集合起来,组成一只自由的团队,很快我们就实现了...
HH大哥的QQ名字,原来是Mach,他跟我们说这是他爸爸给他起的英文名字,自从创建了DM战队之后,他就将QQ名字改成HH[D.M]并且沿用至今,从这件事就可以看出他是个很重感情的人,可惜,老天没眼啊.....

7年的风风雨雨,一起在游戏里并肩作战的场景我历历在目,当想起HH选的一个女性角色在游戏里面蹦蹦跳跳时发出来的声音,想起他把我打爆了之后得意地hahaha笑的时候,想起他叫我把我的电脑搬到他家跟他一起住一起玩一起疯狂的时候,我真的忍不住了.........

D.M队员名单

A Bao[D.M] bigbear[D.M] billy kid[D.M] dean[D.M] F.light.X[D.M] FreeX[D.M] Gooooal[D.M] G.Wall[D.M] G2[D.M] HH[D.M] Hans[D.M] Ifrit[D.M] Jian[D.M] kaede[D.M] kant[D.M] keanu[D.M] kof[D.M] kawayi[D.M] LonelyBoy[D.M] Mummy[D.M] MArtiX[D.M] ouou[D.M] ozarx[D.M] Phil[D.M] Punk[D.M] pyong[D.M] samb[D.M] sano[D.M] spotoxu[D.M] xeond[D.M] Yeah[D.M] z-xp[D.M] 9@9[D.M] dave[D.M] seonsan[D.M] GMB503[D.M] Diego[D.M] QQ[D.M] YY[D.M] PPP[D.M] funny[D.M] @res[D.M] colordragon[D.M] P0WERB0Y[D.M] Rx[D.M] Dboykey[D.M] U2[D.M] shadow[D.M] OC7M[D.M] Jenny[D.M] Mender[D.M] human[D.M] yemao[D.M]

我们永远怀念你,让我再叫你一声,HH大佬。


[22/22]  «< 13 14 15 16 17 18 19 20 21 22