Like others, I have noticed that using setHTML to write styles to nested
layers in Netscape only works sporadically. On the widget I am now
working on, I found that the first time I wrote the style to the nested
layer, it worked fine, but on subsequent setHTML's, it didn't.
Well, that reminded me of a problem I had encountered while working on
something for my company. I was creating some javascript to highlight
the search terms in text returned from a query by replacing the terms in
the text with <SPAN> tags and appropriate bg colors for highlighting.
Worked fine in IE, but on Netscape, the browser always ignored the style
for the first <SPAN> tag, while rendering the others correctly.
Now, that's not exactly in line with the above mentioned problem, but it
certainly seemed related to me, so.... in the widget I am working on, I
passed the setHTML method TWO divs, both exactly the same. BOOM. It
works.
This is really a weird kind of bug, but there ya go. If anyone else
tries this out, let me know how it works for you.
Jeff Greenberg
[EMAIL PROTECTED]
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help