没有样式就是最好的样式

Archive for April, 2006


_blank in strict doctype 解决方法

Apr 25, 2006 Author: | Filed under: Uncategorized

除了

然后用 javascript 遍历一遍替换成 target=”_blank”

,以及

..

以外,今天又看到下面的方法

If necessary you can include target _blank in strict doctype as follows:

在 strict doctype 中加入 target 属性

]>

Note also that when you want all links to be opened in new window without adding target attribute to each link explicitly the following DTD can be used (the trick relies on default attribute value processing in XML and thus can be used in XHTML documents served as application/xhtml+xml, application/xml or text/xml but not text/html, it does not work in MSIE):

如果希望所有链接都在新窗口打开(即便是没有指定 target=”_blank”的链接)用下面这段(IE不行)

]>

How will that be done with XHTML 2.0 and - will it be done? Or is it too relying on js?

XHTML 2.0 草案中将会有 target XHTML 2.0 WD

According to last working draft, there will be target attribute:

From XHTML 2.0 WD

target = HrefTarget

This attribute identifies an environment that will act as the destination for a resource identified by a hyperlink when it is activated.

This specification does not define how this attribute gets used, since that is defined by the environment that the hyperlink is actuated in. See for instance XFrames [XFRAMES].

Example:

Home

CSS 3中也会提供 target 支持

In addition there are plans to provide similar functinality via CSS

2006-05-03+又看到这个解决方案

仍然是 javascript ,但推荐使用 class=”non-html”,这样更容易用style 控制样式,并且给出一些提示信息。

Using javascript instead of target to open new windows

firefox theme - FANTASTIC

Apr 19, 2006 Author: | Filed under: Uncategorized

via http://www.deviantart.com/view/31701851/

备份 opera 配置文件

Apr 18, 2006 Author: | Filed under: Uncategorized

原文来自 Encrypt and backup your Opera files using WinRAR,但似乎有些错误。另外,密码也大可不必。

1.新建目录 D:Backup

2.新建文本文件 Opera-Backup.txt,内容为 opera:about 的 Paths 部分,比如

D:Documents and SettingsdavidApplication DataOperaOperaprofileopera6.ini

D:Documents and SettingsdavidApplication DataOperaOperaprofileopera.win

D:Documents and SettingsdavidApplication DataOperaOperaprofileopera6.adr

D:Documents and SettingsdavidApplication DataOperaOperaprofile\n
D:Documents and SettingsdavidApplication DataOperaOperamail\n
D:Program FilesOperaProgramPlugins

D:Program FilesOperaplugins

david 为你自己的 xp 帐号名。注意:我删除了 help 之类的无用目录。

3.在 D:/Program files/Opera/ 目录中新建快捷方式(因为后面 button要用到,所以快捷方式最好放在一个安全的地方)

“D:Program FilesWinRARWinRAR.exe” a -m5 -r -agYYMMDD-HHMMSS opera- @opera-Backup.txt

注意:你的winrar 的目录可能不是这样,自己决定。起始位置 D:Backup,快捷键 Ctrl+Alt+O

a 表示压缩

-m5 压缩率最高,但最慢

-m0 do not compress file when adding to archive

-m1 use fastest method (less compressive)

-m2 use fast compression method

-m3 use normal (default) compression method

-m4 use good compression method (more compressive, but slower)

-m5 use best compression method (slightly more compressive, but slowest)

-r 包括子目录

-agYYMMDD-HHMMSS 压缩包文件名包括日期和时间

opera- 压缩包名字

@opera-BackUp.txt 压缩 opera-BackUp.txt 里面指定的目录

4.除了快捷方式和快捷键,还可以建立 opera backup button,更方面使用。

backup

参考资料:

Encrypt and backup your Opera files using WinRAR

Opera backup list and WinRAR command line shortcut creator for Opera Backup

opera wishes from Tamil

Apr 18, 2006 Author: | Filed under: Uncategorized

via http://my.opera.com/Tamil/blog/show.dml/181550

My wishes

Show RSS icon in top right corner of the page when address bar is disabled

Option to specify search.ini location in opera6.ini

Update frequency column for RSS feeds manage window

“Use same proxy server for all protocals” option as in IE

Option to delete search histories in delete private data window

Option for referrer logging to the site itself

My Opera Community Wish-list

Relative paths in configs

config 中能够使用相对路径

Proxy switching

代理切换

Have proxy not count as a “server” in connections setting

When saving web page seperate content files to subdirectory.

保存网页时,图片,js,css等放到单独目录中(like IE does)

Make only text larger

放大缩小只对文字

Open About Opera information in new tab or new window

在新标签页或新窗口打开 关于opera

Download dialog: Recently used folders

下载管理器记住最后使用的目录

Show boomark description in tooltip

显示书签的描述

View selected source

察看选定部分源代码

Save searches with ‘g’ in History

保存 g xxx 这样的历史记录

Password stored date

密码存储的日期

Duplicate eraser for the bookmarks

firefox 3.0 alpha 1 - minefield

Apr 17, 2006 Author: | Filed under: Uncategorized

dapper 下总是报错,breeze 没问题。

opera mini CS

Apr 13, 2006 Author: | Filed under: Uncategorized