没有样式就是最好的样式

Archive for November, 2005


ie 7 beta 2 推迟到明年

Nov 16, 2005 Author: | Filed under: Uncategorized
以下为引用内容:

Word on the street (original source) is that Windows Vista beta 2, which was slated for a December 7th release, is being pushed to January or February next year. The public release of Internet Explorer 7 beta 2, the first release of the new browser to be available to the Web development public, was slated to be tied to Vista beta 2, so this news may well mean that we won’t get a good look at the many CSS rendering fixes in the browser for another few months at least.

我的意思是干脆取消算了,:)

from:

IE7 beta 2 bumped to 2006

firefox 文本编辑窗口文字替换

Nov 16, 2005 Author: | Filed under: Uncategorized

ie 可以用createRange(),firefox 用 selectionStart 得到选区起始位置,setSelectionRange() 设置选区范围(虽然看不见,但下次插入就是在这里进行)

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

opera ctrl+enter ?

Nov 16, 2005 Author: | Filed under: Uncategorized

This is a better idea! You add this to your menu.ini:

[Toolbar Edit Item Popup Menu]

Item, “com GO…”=Select all & Copy & Go to page, “http://www.%c.com/” Item, “net GO…”=Select all & Copy & Go to page, “http://www.%c.net/”

and then add this to your Keyboard.ini in the “[Edit Widget]” part:

/ ctrl=”Show popup menu, “Toolbar Edit Item Popup Menu”"

O.K. now when you type an address name like”linkagogo” ,push “ctrl + /” (NOT ctrl + Enter)Enjoy it !

http://my.opera.com/community/forums/topic.dml?id=100630&t=1132072071&page=1

for me:

1.fix this noscript tag?

xhtml 1 strict 不支持 noscript?

i– 也不能通过 xhtml validate

服务器指定 application/xhtml+xml 类型,ie 会提示下载,:(

Sending XHTML as text/html Considered Harmful

2.my own flashplayer,nowplayer not support chinese.

3.read this http://www.sitepoint.com/forums/showthread.php?t=133891

[Edit on 2005-11-16 9:12:41 By guoshuang]
[Edit on 2005-11-16 16:25:44 By guoshuang]

让表单输入框更容易选

Nov 15, 2005 Author: | Filed under: Uncategorized

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

[Edit on 2005-11-15 23:55:44 By guoshuang]

to research oml,foaf

Nov 15, 2005 Author: | Filed under: Uncategorized
以下为引用内容:

the reason I decided to go forward with OML, is that as the number of applications using an outline XML format increase, with the current extension mechanism in place, it is going to be very difficult for these applications to interoperate. Not only is there nothing that specifies the names of the most common attributes, but the fact that there can be any number of varying attributes in the outline element, is in the opinion of many, a big problem.

Hence, OML is less attribute-oriented than OPML, and instead uses a number of well-defined outline-attributes, text, created, etc, but also differs form OPML in using two important data-bearing elements, data and item.


from Browsing with OPML

oml(Outline Markup Language) 与 opml(Outline

Processor Markup Language) 类似,导出 xml 格式的链接列表。格式如下:

oml

显示更多

foaf格式

显示更多

del.icio.us 现在导出的是htm,原因是大多数浏览器都支持这样的导入。

显示更多

BTW:opera community si so cool

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

表单使用技巧

Nov 13, 2005 Author: | Filed under: Uncategorized

原文来自:

Simple Tricks for More Usable Forms

1.打开页面某表单元素即获得焦点,甭使用 onload,其他脚本可能也需要。使用这样的代码

显示更多

2.使用 label,还可以给label 加上 cursor:poiter 样式。

3.给用户一些提示信息,比如

显示更多

IE不行,需要js处理。

显示更多

4.其他小玩意,比如

onfocus=”this.select()”

onkeyup=”document.title = ‘New item: ‘ + this.value”

等,这段正则有意思(空格环成下划线)

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

5.表单验证…

[Edit on 2005-11-13 22:30:57 By guoshuang]
[Edit on 2005-11-15 11:41:23 By guoshuang]