xml中书写 的三种办法:

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

躲避窗口拦截的办法

无意中在 haha 168 见到。

先 window.showModalessDialog(”2.htm”) 2.htm页面

然后在 2.htm 中 window.open(”ad.htm”) 自己关闭

这样就可以在 myie 中也跳出广告窗口,而且是用 ie 打开的

GOOGLE判断是否为主页代码

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

必须在当前域中,判断当前域是否为主页,否则为 false

以下为引用内容:

The isHomePage method returns false if the argument and a user’s home page are the same, but the document calling the method is on a different domain than the user’s home page.

原文在 http://msdn.microsoft.com/workshop/author/behaviors/reference/methods/ishomepage.asp?frame=true

:first-letter使用的问题

此伪对象仅作用于块对象。内联要素要使用该属性,必须先设定对象的 height 或 width 属性,或者设定 position 属性为 absolute ,或者设定 display 属性为 block 。

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

unicode 字符集

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

[Edit on 2004-8-7 16:10:14 By guoshuang]