浏览器和JavaScript [英] browsers and javascript

查看:54
本文介绍了浏览器和JavaScript的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在努力创建一个动态的网页,并且已经取得了缓慢但是稳定的进展。我现在有一个打开的页面,有两个下降的

下框。根据第一个框中的选择,第二个框是从mysql表填充的
。然后将两个框中的值通过

查询字符串发送到新页面。第二页然后使用这两个值并且

对mysql数据库运行一个选择并创建一个html表。


这一切都运行正常使用Mozilla(在Red Hat 8.0,我的开发

系统)或Netscape 7.0(Win9x)上,但在我的旧版Netscape 4.7或者5.5

上,脚本无法成功运行。


是否有一个页面列出了javascript中哪些功能可以在

特定浏览器中使用?有没有一个网站,我可以在不使用特定浏览器的情况下查看

如果我的页面适用于该浏览器?


Thx Terry

I have been working on creating a dynamic web page and have made slow but
steady progress. What I have now has an opening page with two drop
down boxes. Based on a choice from the first box, the second box is
populated from a mysql table. The values from two boxes are then sent via
a query string to a new page. The 2nd page then uses these two values and
runs a select against the mysql database and creates an html table.

This all runs fine using either Mozilla(on Red Hat 8.0, my development
system) or on Netscape 7.0(Win9x,) but on my older Netscape 4.7 or ie 5.5
the scripts do not run successfully.

Is there a page that lists what features from javascript will work in a
specific browser? Is there a site where I can d/l specific browsers to see
if my page is working for that browser?

Thx Terry

推荐答案

2003年9月11日星期四16:57:11 GMT,Terry A. Haimann

< te *** @ yngstr.oldboy.com>写道:
On Thu, 11 Sep 2003 16:57:11 GMT, "Terry A. Haimann"
<te***@yngstr.oldboy.com> wrote:
是否有一个页面列出了javascript中哪些功能可以在特定浏览器中使用?


这将是一个非常有用的页面,我常常想知道是否可以生成

收集的信息等,产生一个好的集合

测试页面,它们与DOM进行交互,并通过某个网页收集提交的文件

,我仍然有兴趣这样做,但这很难。

是否有一个网站,我可以在不使用特定浏览器的情况下查看
我的网页是否适用于该浏览器?
Is there a page that lists what features from javascript will work in a
specific browser?
It would be a stunningly useful page, and I''ve often wondered if
collection of the info etc. could be generated, produce a good set of
test pages which interogate the DOM, and get the submissions collected
by some webpage, I''m still interested in doing it, but it''s very hard.
Is there a site where I can d/l specific browsers to see
if my page is working for that browser?



http://browser.evolt.org/ 有很多,但绝不是全部,那里's
。'$ em $

Jim。

-

comp .lang.javascript常见问题 - http://jibbering.com/faq/



http://browser.evolt.org/ has a lot, but by no means all, there''s
millions of ''em.

Jim.
--
comp.lang.javascript FAQ - http://jibbering.com/faq/


Jim Ley写道:
Jim Ley wrote:
2003年9月11日星期四16:57:11 GMT,Terry A. Haimann"
< te ***@yngstr.oldboy.com>写道:

On Thu, 11 Sep 2003 16:57:11 GMT, "Terry A. Haimann"
<te***@yngstr.oldboy.com> wrote:

是否有一个页面列出了javascript中哪些功能在
特定浏览器中有效?
Is there a page that lists what features from javascript will work in a
specific browser?



这将是一个非常有用的页面,我经常想知道是否可以生成信息的集合等,生成一组良好的测试页面,它们可以与DOM进行交互,并获得一些网页收集了提交的内容,我仍然对此感兴趣,但这很难。


It would be a stunningly useful page, and I''ve often wondered if
collection of the info etc. could be generated, produce a good set of
test pages which interogate the DOM, and get the submissions collected
by some webpage, I''m still interested in doing it, but it''s very hard.




这基本上就是我提交的内容并提倡在18个月前使用Gecko

DOM参考。首先开始介绍各种Mozilla

发布的版本(Mozilla 1.2,1.3,1.4等等,NS 7.0,NS 7.1,Camino,

K-meleon等..)支持,可以做,(定义,参数,示例

部分,参考部分,e tc ..)然后添加跨浏览器支持

或兼容性您可以识别其他最常用的浏览器是否支持此类属性,属性或方法的部分。你首先应该只需要b $ b覆盖W3C DOM2属性,CSS2属性和DOM2方法。如果

以后你想添加专有的DOM属性,方法,那么它就是你的电话,但是你应该首先只涵盖W3C​​ web标准的内容。 >
这样的文档。


这基本上是javascript中的一些稀有书籍。这是一个巨大的任务:许多浏览器要覆盖,新发布的版本。

这样的文档资源必须从最新的

浏览器版本。


从某种意义上说,许多网站也在他们自己的专业领域中做到了这一点。所有这些网站之间没有统一或合作。关于跨浏览器支持的

专家知识遍布各地。

Mozilla.org甚至webstandards.org都应该采取这样的挑战

很多几年前。然后它成为W3C网络标准的来源

福音传播,因为这样的参考是促进标准和教育

人们使用代码一次,随处阅读方法。


DU

-

Javascript和浏览器错误:
http://www10.brinkster.com/doctorunclear/

- 资源,帮助和Netscape 7.x用户和作曲家的提示

- 在Netscape 7.x中弹出窗口,音乐(音频/ midi)的交互式演示
http://www10.brinkster.com/doctorunc...e7Section.html



That is basically what I submitted and advocated to do with the Gecko
DOM reference 18 months ago. First start to cover what various Mozilla
released versions (Mozilla 1.2, 1.3, 1.4, etc.., NS 7.0, NS 7.1, Camino,
K-meleon, etc..) support, can do, (definitions, parameters, example
section, reference sections,e tc..) and then add a cross-browser support
or compatibility section where you identify if the other most used
browsers support such property, attribute or method. You first should
cover only W3C DOM2 attributes, CSS2 properties and DOM2 methods. If
later you want to add proprietary DOM attributes, methods, then it''s
your call, but you should first cover only W3C web standards stuff in
such documentation.

That is what basically a few rare books in javascript do also. It''s a
giant task to do: many browsers to cover, new releases all the time.
Such documentation resource would have to start with the most recent
browsers releases.

In a sense, a lot of websites do this also in their own little areas of
expertise. There is no unity or collaboration among all these sites. The
expert knowledge on cross-browser support is scattered everywhere.
Mozilla.org or even webstandards.org should have taken such challenge
many years ago. It then becomes a source of W3C web standards
evangelization as such reference is promoting standards and educating
people in using a "code once, read anywhere" approach.

DU
--
Javascript and Browser bugs:
http://www10.brinkster.com/doctorunclear/
- Resources, help and tips for Netscape 7.x users and Composer
- Interactive demos on Popup windows, music (audio/midi) in Netscape 7.x
http://www10.brinkster.com/doctorunc...e7Section.html


2003年9月11日星期四14:38:38 -0400,DU

< dr ******* @ hot-REMOVE -mail.com>写道:
On Thu, 11 Sep 2003 14:38:38 -0400, DU
<dr*******@hot-R-E-M-O-V-E-mail.com> wrote:
Jim Ley写道:
如果稍后你想添加专有的DOM属性,方法,那么它就是你的电话,但是你应该首先在
此类文档中仅涵盖W3C​​ web标准。
Jim Ley wrote:
If
later you want to add proprietary DOM attributes, methods, then it''s
your call, but you should first cover only W3C web standards stuff in
such documentation.




嘿我不会一个人做,没有人可以,它必须是

百万只猴子和一些猴子监护人的方法。基本上需要开发一个网站,以及一种格式,即

人们可以提交简单DOM测试的结果,开发那些

测试,然后呈现结果。对于一些Monkey Minder来说,完成这项工作可能不是那么多,而且我认为可能已经足够的猴子了。一旦基本结构到位,很快就会有很多浏览器。


如果那里有足够的Monkey Minder兴趣,我不会介意

投入时间和资源来帮助设置一些东西,我之前已经考虑过这个想法。


吉姆。< br $> b $ b -

comp.lang.javascript常见问题 - http://jibbering.com/faq/



Hey I wouldn''t do it alone, no-one could, it would have to be the
million-monkey and a few monkey minders approach. Basically the
Monkey-Minders would need to develop a site, and a format whereby
people could submit the results of simple DOM tests, develop those
tests aswell, and then present the results. It''s probably not that
huge a job for a few Monkey Minders to get done, and I think there''s
probably enough Monkeys out there to cover a lot of browsers quickly,
once the basic structure was in place.

If there''s enough Monkey Minder interest out there, I don''t mind
devoting time, and resources to help setting something up, I have
thought about this before.

Jim.
--
comp.lang.javascript FAQ - http://jibbering.com/faq/


这篇关于浏览器和JavaScript的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆