没有样式就是最好的样式

Archive for January, 2005


XUL学习笔记

Jan 13, 2005 Author: | Filed under: Uncategorized

教程真的很不错!另存为 .xul 用 Firefox 打开

显示更多

[Edit on 2005-1-13 11:44:27 By guoshuang]
[Edit on 2005-1-13 11:47:51 By guoshuang]

about webdings

Jan 12, 2005 Author: | Filed under: Uncategorized

这是原问题,解决如下

▶ unicode 详解

http://www.fileformat.info/info/unicode/char/25b2/index.htm

运行代码 [Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]

Unicode from U+25A0 to U+25FF


点击这里打开新窗口浏览此网页

怎样在windows中输入unicode,我试了N下,总是弄不出来!谁知道,讲一下。

http://www.fileformat.info/tip/microsoft/enter_unicode.htm

Method 1: Universal

This method works regardless of any of your language settings, but is the most cumbersome to type.

1. Press and hold down the Alt key.

2. Press the + (plus) key on the numeric keypad.

3. Type the hexidecimal unicode value.

4. Release the Alt key.

Method 2: Input-language Specific

This method depends on the specific input language you are using.

1. Press and hold down the Alt key.

2. Type 0 (zero) and the decimal unicode value on the numeric keypad.

3. Release the Alt key.

You can see which input language you are using (and which are installed) by:

1. Start Menu

2. Settings

3. Control Panel

4. Regional and Language Options

5. Languages tab

6. Detail button

The entries in the Unicode character information section are using the Windows Latin 1 input language.

Method 3: Code-page Specific

This method depends on the specific code page you have installed.

1. Press and hold down the Alt key.

2. Type the decimal codepage value on the numeric keypad. Do not type any leading zeros.

3. Release the Alt key.

[Edit on 2005-1-12 13:56:58 By guoshuang]

HTMLSpecial Characters(html entities)html特殊字符

Jan 11, 2005 Author: | Filed under: Uncategorized

小雨手册只写了34以后的,今天有人问 tab 的实体,赶紧找了一下…

运行代码 [Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]

更多字符实体:

http://www.tntluoma.com/sidebars/codes/

[Edit on 2005-1-12 11:40:53 By guoshuang]
[Edit on 2005-2-1 15:27:05 By guoshuang]

js dom practice(firefox)

Jan 11, 2005 Author: | Filed under: Uncategorized

attribute 方法

运行代码 [Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]

createElement + appendChild

运行代码 [Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]

styleSheets

显示更多

addEventListener stopPropagation

运行代码 [Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]

运行代码 [Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]

来自:

http://www.mozilla.org/docs/dom/domref/examples.html

[Edit on 2005-1-11 17:15:19 By guoshuang]

firefox 中对应 IE currentStyle 的方法

Jan 10, 2005 Author: | Filed under: Uncategorized

在 firefox 中, object.style 只能返回 inline(行内) 方式书写的 CSS,而且没有 currentStyle 属性。

运行代码 [Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]

[Edit on 2005-1-10 17:35:43 By guoshuang]

DOM 代码实例

Jan 10, 2005 Author: | Filed under: Uncategorized

setTimeout() 每隔一段时间执行

document.getElementById(”text”+el).style.color=”rgb(”+aa+”,”+aa+”,”+aa+”)”; //颜色值递减

document.getElementById(”text”+el).style.left=tt+”px”; //left 递增

运行代码 [Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]

运行代码 [Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]

我的练习

运行代码 [Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]

运行代码 [Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]

More Examples:

http://www.mozilla.org/docs/dom/samples/

[Edit on 2005-1-11 10:17:10 By guoshuang]