I do not agree with you, inject make use of appendChild and insertBefore deprending on the parameter you pass in, the problem is not there.
On Mon, Mar 16, 2009 at 6:01 PM, Steve Onnis <[email protected]> wrote: > > " var td = new Element('td',{'html' : y*10+x, styles : {'border' : '1px > solid black'}}).inject(tr);" > > I don't think you can use inject here because a TR is not a block element, > just like you cant set the HTML of a TR. You might be better off using > appendChild > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Ingrater > Sent: Monday, 16 March 2009 10:02 PM > To: MooTools Users > Subject: [Moo] Creating Table with mooTools doesn't work on IE > > > I want to create some page content with data from a Request. I already > implemented everything and it works fine on Firefox. Now I've tested > it in IE7 and the content doesn't show up. The data and everyinthing > is progressed correctly but the created elements are not drawn. > > I wrote a small example how I do things. In Firefox a the Title and > the Table with all its td's shows up. In IE only the Title shows up. > The table and all it contents are not drawn. I think that the table is > injected but as it goes on level deeper the inject failes somehow. > > The Example Code can be found at > http://paste.mootools.net/m59febe46 > > I would be very glad if some one could tell me what I'm doing wrong, > or if this is a bug in mooTools. > > Regards > Ingrater > > -- fax : (+33) 08 26 51 94 51
