JS停止在IE6中工作 [英] JS Stops working in IE6

查看:49
本文介绍了JS停止在IE6中工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是一个应用程序: www.sheldonlg.com/JSstops.htm


它通过严格的W3C验证。


**在IE6 **中,如果点击加号,会出现一个子表。点击子表中的

plus,没有任何反应。它应该扩展一个或两个
更多级别的子表。


修改几乎任何东西将导致所有子表(或
$ b) $ b至少还有一个要出现。


例如,删除该行:


< div id =" header">测试< / div>


将导致它在删除行时再展开两个级别:


< div class =" DHTMLSuite_menuItem_top_regular" ; id =" DHTMLSuite_menuItem1"

style =" FLOAT:left">< / div>


或块:


< tr>

< td align =" center">

< select id =" fiscalPeriod" name = " fiscalPeriod">

< option>< / option>

< / select>

< / td> < br $>
< / tr>


或行:


< caption style =" FONT-WEIGHT :800; FONT-SIZE:16px">支出< / captio n>


将导致它再扩展一个级别。


(我从我的AJAX框架应用程序中提取了这个并纠正了所有

改变IE6在我做文件时所做的:写在菜单栏中。


我认为它与菜单的css有关< br $> b $ b系统,但我现在不这么认为。我这样说是因为如果我删除

整个菜单标签:


< div class =" DHTMLSuite_menuBar_top">

< div class =" DHTMLSuite_menuItem_top_regular"

id =" DHTMLSuite_menuItem1" style =" FLOAT:left">< / div>

< / div>


然后只展开一个级别。最后一级仍然无法正常工作。


有人能给我一个关于这里发生了什么的线索吗?


解决方案

sheldonlg写道:


这是一个应用程序: www.sheldonlg.com/JSstops.htm


它通过严格的W3C验证。


**在IE6 **中,如果单击加号,则会出现一个子表。点击子表中的

plus,没有任何反应。它应该扩展一个或两个
更多级别的子表。



更正:它应该扩展两个级别。


>

修改几乎任何东西都会导致所有子表格(或者

至少再出现一个。


例如,删除该行:


< div id =" header">测试< / div>


将导致它在删除行时再扩展两个级别:


< div class =" DHTMLSuite_menuItem_top_regular" id =" DHTMLSuite_menuItem1"

style =" FLOAT:left">< / div>


或块:


< tr>

< td align =" center"> ;

< select id =" fiscalPeriod" name =" fiscalPeriod">

< option>< / option>

< / select>

< / td>

< / tr>


或行:


<字幕样式=FONT-WEIGHT:800; FONT-SIZE:16px">支出< / caption>


会使它再扩展一个级别。


(我提炼了这个从我的AJAX框架应用程序,并纠正IE6在我做文档时所做的所有

更改:在菜单栏中写入)。



更正:地址栏中的document.write。


>

我认为这与菜单上的css有关系

系统,但我现在不这么认为。我这样说是因为如果我删除

整个菜单标签:


< div class =" DHTMLSuite_menuBar_top">

< div class =" DHTMLSuite_menuItem_top_regular"

id =" DHTMLSuite_menuItem1" style =" FLOAT:left">< / div>

< / div>


然后只展开一个级别。最后一级仍然无法正常工作。


有人能给我一些关于这里发生了什么的线索吗?


sheldonlg写道:


这是一个app: www.sheldonlg.com/JSstops.htm



我有
www.sheldonlg.com上删除整个菜单,标签和CSS内容/JSstops2.htm


这扩展了三个级别,但不是第四级。移除东西导致

出现所有四个级别。


在alt.html中,sheldonlg写道:


sheldonlg写道:


>这是一个应用程序: www.sheldonlg.com/JSstops.htm



我删除了整个菜单,标签和css内容,
www.sheldonlg.com/JSstops2.htm


这扩展了三个级别,但不是第四级。移除东西导致

出现所有四个级别。



我没有看到任何级别毕竟,当我查看

页面的来源时,嵌套表的使用非常可怕。这是你的意思吗?

那个空的下拉框是什么?


对我来说看起来像是一场维护噩梦。


请参阅:
http://tekrider.net/html/ doctype.php
http://tekrider.net/html /fontsize.php


我也没有看到任何可能做你的onclick的JavaScript。代码

正在调用。


使用Mozilla / 5.0(X11; U; Linux i686; en-US; rv:1.9b5)Gecko / 2008050509

启用了JavaScript的Firefox / 3.0b5。这里没有IE浏览器。


-

-bts

-朋友不要让朋友驾驶Windows


Here is an app: www.sheldonlg.com/JSstops.htm

It passes strict W3C validation.

**In IE6**, if you click on the plus, a sub-table appears. Click on the
plus from the subtable and nothing happens. It should expand one or two
more levels of subtables.

Modifying just about anything will cause the all the subtable (or at
least one more to appear.

For example, removing the line:

<div id="header">Test</div>

will cause it to expand two more levels while removing the line:

<div class="DHTMLSuite_menuItem_top_regular" id="DHTMLSuite_menuItem1"
style="FLOAT: left"></div>

or the block:

<tr>
<td align="center">
<select id="fiscalPeriod" name="fiscalPeriod">
<option></option>
</select>
</td>
</tr>

or the line:

<caption style="FONT-WEIGHT: 800; FONT-SIZE: 16px">Spending</caption>

will cause it to expand one more level.

(I distilled this from my AJAX framework app and corrected all the
changes that IE6 made when I did a document:write in the menu bar).

I thought that it has something to do with the css for the menuing
system, but I don''t think so now. I say this because if I remove the
entire menuing tags:

<div class="DHTMLSuite_menuBar_top">
<div class="DHTMLSuite_menuItem_top_regular"
id="DHTMLSuite_menuItem1" style="FLOAT: left"></div>
</div>

then is only expands one more level. The last level still doesn''t work.

Can someone give me a clue as to what is happening here?


解决方案

sheldonlg wrote:

Here is an app: www.sheldonlg.com/JSstops.htm

It passes strict W3C validation.

**In IE6**, if you click on the plus, a sub-table appears. Click on the
plus from the subtable and nothing happens. It should expand one or two
more levels of subtables.

Correction: It should expand two more levels.

>
Modifying just about anything will cause the all the subtable (or at
least one more to appear.

For example, removing the line:

<div id="header">Test</div>

will cause it to expand two more levels while removing the line:

<div class="DHTMLSuite_menuItem_top_regular" id="DHTMLSuite_menuItem1"
style="FLOAT: left"></div>

or the block:

<tr>
<td align="center">
<select id="fiscalPeriod" name="fiscalPeriod">
<option></option>
</select>
</td>
</tr>

or the line:

<caption style="FONT-WEIGHT: 800; FONT-SIZE: 16px">Spending</caption>

will cause it to expand one more level.

(I distilled this from my AJAX framework app and corrected all the
changes that IE6 made when I did a document:write in the menu bar).

Correction: document.write in the address bar.

>
I thought that it has something to do with the css for the menuing
system, but I don''t think so now. I say this because if I remove the
entire menuing tags:

<div class="DHTMLSuite_menuBar_top">
<div class="DHTMLSuite_menuItem_top_regular"
id="DHTMLSuite_menuItem1" style="FLOAT: left"></div>
</div>

then is only expands one more level. The last level still doesn''t work.

Can someone give me a clue as to what is happening here?


sheldonlg wrote:

Here is an app: www.sheldonlg.com/JSstops.htm

I have the entire menuing removed, tags and css stuff, in
www.sheldonlg.com/JSstops2.htm.

This expands three levels, but not the fourth. Removing things causes
all four levels to appear.


In alt.html, sheldonlg wrote:

sheldonlg wrote:

>Here is an app: www.sheldonlg.com/JSstops.htm


I have the entire menuing removed, tags and css stuff, in
www.sheldonlg.com/JSstops2.htm.

This expands three levels, but not the fourth. Removing things causes
all four levels to appear.

I don''t see any "levels" at all, though when I look at the source of the
page, there is a horrendous use of nested tables. Is that what you mean?
What is that empty dropdown box for?

Looks like a maintenance nightmare to me.

See:
http://tekrider.net/html/doctype.php
http://tekrider.net/html/fontsize.php

I also don''t see any JavaScript that might do what your "onclick" code
is calling.

Using Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b5) Gecko/2008050509
Firefox/3.0b5 with JavaScript enabled. No IE here.

--
-bts
-Friends don''t let friends drive Windows


这篇关于JS停止在IE6中工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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