简直就是第二次浏览器世界大战,导火索就是去年11月正式推出的 firefox。还在 0.xx 版本的时候,经典论坛的 LExRus 就开始极力鼓吹 mozilla 的好处,当时我还懵懵懂懂,总觉得是程序员转牛角尖的天性。
随着 firefox 如日中天,netscape 和 opera 都熬不住了,纷纷推出其各自的 8.0beta 版本。最终微软公司也不得不宣布 提前 独立 发布 IE 7.0 版本。AOl Browser 也将于近期推出,很可惜,我总是下载不到。firefox 的 1.1 1.3 也步步逼近…
想用 flash 做个简单演示,没想到还这么麻烦(AS还很不熟练啊)…随便丢一个算了…
document.write(new Date().getYear());
document.write("
document.write(new Date().getFullYear());
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
2
2
2
2
2
2
2
2
2
2
2
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
2
2
2
2
2
2
2
2
2
2
2
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
2
2
2
2
2
2
2
2
2
2
2
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
2
2
2
2
2
2
2
2
2
2
2
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
[Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]
window.sizeToContent() 也很好玩
参考:
http://www.mozilla.org/docs/dom/domref/dom_window_ref.html#1011624
2005-02-21+今天再看,又成了
Downloads will be available in a few weeks!
真郁闷…不小心又看到说推出到3月了…

最近狂用 opera 8 beta 和 netscape 7.2 或者 netscape protype,IE以及那些 avant green maxthon k-meloen都长了一堆蜘蛛网了…感慨满多。其实 opera 或者 netscape 都比 firefox 响应快一些。当然,firefox 装了很多插件也是原因之一。问题是即使装了很多插件,功能也不比 opera 或者 netscape 多什么。这次netscape(protype 也是) 采用 firefox 1.0 核心,所以很值得期待。opera 中文显示以及部分样式表控制与 mozilla(gecko)还是不太一样,有时候挺烦心的。下载地址在这里
http://browser.netscape.com/nsb/download/default.jsp
很郁闷,至少此时 2005-02-19 2:26 北京时间 还不能下载。
除了现在流行的那些功能以外,加了个 menu 拖动,我记得 Avant 或者 green Browser 就有这个功能,toolbar 甚至能 undock 到浏览器窗口外面。不知道是不是这个。
以下为引用内容:
Important Features
Tabbed BrowsingTabbed Browsing
Tabbed browsing lets you have multiple web pages open in one window. This feature is great for organizing and freeing up desktop space because it files your web pages in a series of tabs.
Site ControlsSite Controls
The new Netscape Browser gives you more ways to make your browser secure than any other browser.
Multi-BarMulti-Bar
Multi-Bars let you customize up to ten different browser toolbars you can access with a single click.
Form FillForm Fill/Passcard
The Netscape Browser makes remembering your site passwords and filling out information forms on site simple.
Live ContentLive Content
With Live Content you have one-click access to information important to you.
http://browser.netscape.com/nsb/product/default.jsp
guoshuang2005-02-28+截至今日,仍然没有推出,看来的确是遇到了一些Bug。
我并没有测试,代码也很简单,但是对浏览器的判断值得看看…原文在:
http://answers.google.com/answers/threadview?id=460621
Try this:
1. Define onload on your asp’s (iframe.asp) body tag.
Ex:
2. add following in your asp’s head section. I’m assuming that all
your clients using “mywebsite” as ID for your iframe.asp.
function adjustFrame(id){
var id = "mywebsite"
parent.document.getElementById(id).style.display = "";
if (document.all){
parent.document.getElementById(id).style.height=(this.document.body.scrollHeight+5)+"px"
}else if(document.documentElement && document.documentElement.scrollHeight ) {
parent.document.getElementById(id).style.height=(this.document.documentElement.scrollHeight+5)+"px"
}else{
parent.document.getElementById(id).style.height=(this.document.body.scrollHeight+5)+"px"
}
if (document.all){
parent.document.getElementById(id).style.width=(this.document.body.scrollWidth+5)+"px"
}else if(document.documentElement && document.documentElement.scrollWidth ) {
parent.document.getElementById(id).style.width=(this.document.documentElement.scrollWidth+5)+"px"
}else{
parent.document.getElementById(id).style.width=(this.document.body.scrollWidth+5)+"px"
}
}
Tested on IE 6.0, Netscape 7.0, Firefox.
用 firefox 运行下面代码。如果不是 inline 方式就无法获得“当前”事件对象,这点和 IE 不同。有点类似以前说过的 inline style 问题。前几天见过一个方法可以获得当前对象,忘了,找一下再贴过来。
function doit(){
alert(event.target)
}
[Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]
暂时只能用这种方法。
function doit(e){
if(e.target){alert(e.target)}
else if(e.srcElement) {alert(e.srcElement)}
}
[Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]