From: Pascal B. <pa...@dy...> - 2001-02-10 20:43:24
|
Just included this workaround into setHTML let me know if this fixes everything for Mac. ps. don't get used to these fast fixes.. just had some time left :) Pascal Bestebroer pa...@dy... http://www.dynamic-core.net > -----Oorspronkelijk bericht----- > Van: dyn...@li... > [mailto:dyn...@li...]Namens Matthew A. Shirey > Verzonden: zaterdag 10 februari 2001 20:21 > Aan: dyn...@li... > Onderwerp: RE: [Dynapi-Dev] IE 5.0 Mac: setHTML with tables not working > > > I commented on this a while back... I think it should be put in, but > only on a platform check. No sense including something that's not > needed on the other platforms. But to play both sides of the fence you > all may want to make it consistant for all of the platforms... Just my > little input. > > -- Matthew > > -----Original Message----- > From: Richard Bennett [mailto:ma...@ri...] > Sent: Saturday, February 10, 2001 11:26 AM > To: dyn...@li... > 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 > 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 > > > > > _______________________________________________ > 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 > |