From: Doug M. <do...@cr...> - 2001-02-12 19:20:19
|
you most likely need to delay setting the HTML. Give the browser a chance to finish rendering the layers before you but HTML into them. :-) Doug ----- Original Message ----- From: "Monica Keefe" <mo...@ko...> To: <dyn...@li...> Sent: Saturday, February 10, 2001 10:42 AM Subject: [Dynapi-Dev] IE 5.0 Mac: setHTML with tables not working > Hi all, > > I'm working on a hierarchical menu project that has to work in: > > Windows: > N4.x and up > IE 4.x and up > > Mac: > NS 4.75 > IE 5.0 > > So far I'm only having one platform problem :-) > > I create a DynLayer and in the oncreate method, I use setHTML. This works > fine until I try to add a table, like this: > > layer.setHTML('<table border=0 cellpadding=4 > cellspacing=2><tr><td>text</td><td>more text</td></tr></table>') > > It works fine with other HTML, including <a href> tags and some other <font> > tags, but won't work with the table tags. Doesn't cause problems in any > other browser that I've tried. > > Has anyone else experienced this? > > Thanks, > Monica > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev --- Outgoing mail is certified Virus Free by AVG Free Edition http://www.grisoft.com/html/us_index.cfm Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.230 / Virus Database: 111 - Release Date: 1/25/01 |