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:[EMAIL PROTECTED]]
Sent: Saturday, February 10, 2001 10:42 AM
To: '[EMAIL PROTECTED]'
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
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev

_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev

Reply via email to