Try using Firebug and step though your code. From Firebug you can inspect the DOM properties of individual elements as well as modify the CSS properties.
Cheers, /Per On Tue, Feb 24, 2009 at 4:16 AM, David Ximenes <davi...@yahoo.com.br> wrote: > > hi, > > (sorry, my english children´s, i´m from Brazil) > > i´m study MochiKit and try the following code. > > create an image > set position > appendchild > > img = IMG({'src': 'path'}, null) > setElementPosition(img, getElementPosition(domEle)) > appendChildNodes(currentDocument().body, img) > > i´m trying put an image in position of the a other element put this don > ´t work! > > please some light, some help, i stay in headache!!! > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MochiKit" group. To post to this group, send email to mochikit@googlegroups.com To unsubscribe from this group, send email to mochikit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/mochikit?hl=en -~----------~----~----~----~------~----~------~--~---