" 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

Reply via email to