|
From: Richard B. <ma...@ri...> - 2001-02-10 19:25:10
|
> Yeah, someone told me to to end Mac setHTML stuff with a newline Has this been cross-browser tested? (wait, let me check the Matrix, argh, no mention) If it causes no harm, we could add the /n in the SetHTML() function, or with a platform check - another Mac bug solved. Cheers, Richard Bennett ma...@ri... www.richardinfo.com (Everything running on, and ported to the 19/12/2000 snapshot of DynAPI2) ----- Original Message ----- From: "Matthew A. Shirey" <ms...@sh...> To: <dyn...@li...> Sent: Saturday, February 10, 2001 8:08 PM Subject: RE: [Dynapi-Dev] IE 5.0 Mac: setHTML with tables not working > Yeah, someone told me to to end Mac setHTML stuff with a newline. Heh, > it actually works for me, try it. Try your setHTML line as such: > > layer.setHTML('<table border=0 cellpadding=4 > cellspacing=2><tr><td>text</td><td>more text</td></tr></table>\n') > > -- Matthew > > -----Original Message----- > From: Monica Keefe [mailto:mo...@ko...] > Sent: Saturday, February 10, 2001 10:42 AM > To: 'dyn...@li...' > 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 > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > ____________________________________________________________ > 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 > |