![]() | |
#11
| |||
| |||
|
|
On May 18, 12:03 am, sheldonlg <sheldonlg> wrote: Gregor Kofler wrote: sheldonlg meinte: 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. Well I suppose it doesn't work in *any* browser. And "refreshView is not defined". Apart from that: nuttin' to click. In order to clear up confusion, the new app is atwww.sheldonlg.com/JSstop1.com That one has no buttons or dropdown list. All it gas that is clickable is the plus sign to expand the nested tables. With this app, it stops after one expansion in IE6, but expands all three times in FF. There is not JSstop1.html on your server. I see http://www.sheldonlg.com/JSstops.htm http://www.sheldonlg.com/JSstops2.htm there and both seem working as intended with IE6 |
#12
| |||
| |||
|
|
VK wrote: It works for me under IE6 / Windows XP SP2 What configuration are you using for test? I am running XP SP2 and I have IE6 on it. It is version 6.0.2900.xpsp_sp2)070227-2254 cipher Strenght: 128-bit Update Versions:; SP2; |
#13
| |||
| |||
|
|
Is that a general rule to not have IE specific conditionals in CSS? |
| http://msdn.microsoft.com/en-us/library/bb250496.aspx If you want IE-specific adjustments right in CSS table, use expressions: someElement { width: 20em; /* default value */ width: expression(javascript code here) /* IE adjustment */ } Thanks for the tip. |
#14
| |||
| |||
|
|
I also just test the JSstops1.htm on IE7. It expands two levels but not the third. FF expands them all. |
#15
| |||
| |||
|
|
On May 18, 12:40 am, sheldonlg <sheldonlg> wrote: I also just test the JSstops1.htm on IE7. It expands two levels but not the third. FF expands them all. OK, I think I know the problem. The table default display style differs by browsers: "block", "table-block" and crazy mess. This is why one _never_ _ever_ does two things with tables: 1) you do not override default display style. 2) you do not set it to any explicit values. Instead you set it to "" (empty string) if needed to reset to default. So in your code all initially visible tables must have no display rule at all: carefully check CSS and scripting. All initially hidden tables have display:none To show a table you set display to empty string: tableReference.style.display = ''; To hide it again you set to none: tableReference.style.display = 'none'; |
#16
| |||
| |||
|
|
VK wrote: On May 18, 12:40 am, sheldonlg <sheldonlg> wrote: I also just test the JSstops1.htm on IE7. It expands two levels but not the third. FF expands them all. OK, I think I know the problem. The table default display style differs by browsers: "block", "table-block" and crazy mess. This is why one _never_ _ever_ does two things with tables: 1) you do not override default display style. 2) you do not set it to any explicit values. Instead you set it to "" (empty string) if needed to reset to default. So in your code all initially visible tables must have no display rule at all: carefully check CSS and scripting. All initially hidden tables have display:none To show a table you set display to empty string: tableReference.style.display = ''; To hide it again you set to none: tableReference.style.display = 'none'; I made that change and it didn't change anything. |
#17
| |||
| |||
|
|
On May 18, 1:33 am, sheldonlg <sheldonlg> wrote: VK wrote: On May 18, 12:40 am, sheldonlg <sheldonlg> wrote: I also just test the JSstops1.htm on IE7. It expands two levels but not the third. FF expands them all. OK, I think I know the problem. The table default display style differs by browsers: "block", "table-block" and crazy mess. This is why one _never_ _ever_ does two things with tables: 1) you do not override default display style. 2) you do not set it to any explicit values. Instead you set it to "" (empty string) if needed to reset to default. So in your code all initially visible tables must have no display rule at all: carefully check CSS and scripting. All initially hidden tables have display:none To show a table you set display to empty string: tableReference.style.display = ''; To hide it again you set to none: tableReference.style.display = 'none'; I made that change and it didn't change anything. I really need to go now, sorry. I will take another look today evening. |
#18
| |||
| |||
|
|
VK wrote: On May 18, 1:33 am, sheldonlg <sheldonlg> wrote: VK wrote: On May 18, 12:40 am, sheldonlg <sheldonlg> wrote: I also just test the JSstops1.htm on IE7. It expands two levels but not the third. FF expands them all. OK, I think I know the problem. The table default display style differs by browsers: "block", "table-block" and crazy mess. This is why one _never_ _ever_ does two things with tables: 1) you do not override default display style. 2) you do not set it to any explicit values. Instead you set it to "" (empty string) if needed to reset to default. So in your code all initially visible tables must have no display rule at all: carefully check CSS and scripting. All initially hidden tables have display:none To show a table you set display to empty string: tableReference.style.display = ''; To hide it again you set to none: tableReference.style.display = 'none'; I made that change and it didn't change anything. I really need to go now, sorry. I will take another look today evening. |
#19
| |||
| |||
|
|
On May 18, 1:54 am, sheldonlg <sheldonlg> wrote: VK wrote: On May 18, 1:33 am, sheldonlg <sheldonlg> wrote: VK wrote: On May 18, 12:40 am, sheldonlg <sheldonlg> wrote: I also just test the JSstops1.htm on IE7. It expands two levels but not the third. FF expands them all. OK, I think I know the problem. The table default display style differs by browsers: "block", "table-block" and crazy mess. This is why one _never_ _ever_ does two things with tables: 1) you do not override default display style. 2) you do not set it to any explicit values. Instead you set it to "" (empty string) if needed to reset to default. So in your code all initially visible tables must have no display rule at all: carefully check CSS and scripting. All initially hidden tables have display:none To show a table you set display to empty string: tableReference.style.display = ''; To hide it again you set to none: tableReference.style.display = 'none'; I made that change and it didn't change anything. I really need to go now, sorry. I will take another look today evening. Seems like some broken table glitch on IE6. As you may notice the third table is blocked for user interaction, see the cursor style or try to set a simple alert on image click. If we replace td colspan="15" table id="contract_900135_01-Jan-2008_both_all" ... to td table id="contract_900135_01-Jan-2008_both_all" ... then the things are coming back to life right away. Are you sure that there are indeed exactly 15 cells to span? |
#20
| |||
| |||
|
|
Are you sure that there are indeed exactly 15 cells to span? No, there aren't. I have always used a large number when I wanted to span all columns of a table and it has always worked in the past. |
|
As you may have noticed, what I am trying to do with this sample app is not to "get the sample app to work". Rather, I am trying to get at the root cause of the problem so that I can get my real app to work. That is why I have left the sample app at the minimum I can get to and still have it exhibit the broken behavior. |
![]() |
| Thread Tools | |
| Display Modes | |
| |