> passed the setHTML method TWO divs, both exactly the same. BOOM. It
could you explain exactly what you did please?
Cheers,
Richard Bennett
[EMAIL PROTECTED]
www.richardinfo.com
(Everything running on, and ported to the 19/12/2000 snapshot of DynAPI2)
----- Original Message -----
From: "Jeff Greenberg" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 07, 2001 12:01 AM
Subject: [Dynapi-Help] Bizarre solution to setHTML and inline styles in NS
> 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
> ____________________________________________________________
> Get your free domain name and domain-based e-mail from
> Namezero.com. New! Namezero Plus domains now available.
> Find out more at: http://www.namezero.com
>
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help