Board Logo

Multiple table support in IE
kozman - 4/14/2008 at 10:19 PM

I'm having trouble with being able to support a page that contains more than 20 tables.

I found that the Tigras code is using "TTPSpan" and "TTPSpan2" to uniquely identify each table in the DOM. This will create a non-unique scenario when the tables exceed 19.

What I'm also experiencing is a javascript crash while performing a d.write('<style>.T',....); (Code can be found in table.do.ok.js). This happens on the 27th table (with or without a fix for the issue raised in the previous paragraph). Is there a solution for this issue? The javascript message I get is "htmlfile: invalid argument". Firefox seems to handle 27 tables just fine.


kozman - 4/14/2008 at 11:25 PM

The second problem about <style/> tags is exploiting a bug in IE where it cannot support more than 30 instances of <style/> tags and CSS files (of which, only the first 12 are actually leveraged). What a rediculous limitation that is!!!!

Here is the KB article for those interested:
http://support.microsoft.com/kb/262161

This problem can be side-stepped if you do not set "colors.marked" when you define you STYLE javascript structure.

This is not a problem in Firefox.


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/