You're not going to get good enough performance from handling thousands of elements. I tried that myself last year:
http://ff6600.org/desenhador/ff66.htm It used to run ok in FF2, but somethign in FF3 makes it really slow. If you draw with the middle-mouse button performance is better (I didn't cancel the context menu), guess it's still selecting stuff when you use left click. A better approach is using the canvas element, or maybe SVG/VML. A lot has been done in this area: http://canvaspaint.org/ http://raphaeljs.com/ 'Raphael and Isabela' sounds like a nice couple :D - ricardo On Dec 2, 11:02 am, "Dirceu Barquette" <[EMAIL PROTECTED]> wrote: > Thank you!! > please! see the example at isabeladraw.sourceforge.net. I've been forced > build blocks against the entire board. But I'm thinking create > child-by-child onmouseover position. > sorry my english... > > Dirceu Barquette > > 2008/12/2 [EMAIL PROTECTED] <[EMAIL PROTECTED]> > > > > > I would start by evaluating the requirement for adding 1599 divs. > > The way you have written it is probably the most efficent cross > > browser way of appending that much content but it will still crawl. > > > On Dec 2, 10:53 am, "Dirceu Barquette" <[EMAIL PROTECTED]> > > wrote: > > > Hi! > > > > The code: > > > for (i = 0; i < 1600 ;i ++) { > > > htm += '<div></div>';} > > > > $(htm).appendTo('#parentDiv'); > > > > How can avoid overhead? > > > > thanks, > > > > Dirceu Barquette