I posted an exemple : http://files2.lya.eu/moo/
The first frame without mootools modified and the second with "create ()" method modified with "window.parent" Gecko & Trident works fine. Webkit : Animation is redrawed only when mouse is moving On 16 jan, 21:31, para <[email protected]> wrote: > window.addEvent('domready',function(){ > window.parent.focus(); > var el = window.parent.document.getElementById > ('test'); > el = $(el) > el.morph({'left':400,'top':200}); > > }); > > No, it does not work :/ > > On 16 jan, 20:38, nwhite <[email protected]> wrote: > > > window.parent.focus() ? > > > On Fri, Jan 16, 2009 at 2:11 PM, para <[email protected]> wrote: > > > > Hi, > > > > I have a frame which include mootools and "morph" an element in the > > > parent window. > > > The problem is that with webkit (chrome included) element is not > > > redrawed (if I move my mouse, element is redrawed). > > > > I try to do that in "create()" method (Function.js) (i have added > > > window.parent.): > > > > if (options.delay) return > > > window.parent.setTimeout(returns, > > > options.delay); > > > if (options.periodical) return > > > window.parent.setInterval(returns, > > > options.periodical); > > > > And it works. > > > > Do someone already had this problem ? > > > > Thanks
