I think you should set the top or bottom and left or top positions to the tree_header div.
Fábio Miranda Costa Engenheiro de Computação http://meiocodigo.com On Wed, May 27, 2009 at 5:08 PM, jmeciar <[email protected]> wrote: > > hi guys !!!!! this is my first new message. just a little > presentation, my name is jerome. i am a francophone from Montreal, > Canada. i am a webdesigner and a integrator, a freelancer ! > > i am trying to change a lot my current website http://www.mind-rising.com > > but i got few problems with the mootools framework. i am not a > programmer, at all :P but more a designer :P > > ok fiou ! > > here's the problem. i try to set position of few relatives div with > this ==> http://mootools.net/docs/more/Element/Element.Position AND > HERE http://www.clientcide.com/wiki/cnet-lib ... ng-margins > > but here we go, i use mootools 1.2 like everybody and here is my > simple code > > 1. > 2. <div id="cont"> > 3. <div id="tree_header" class="relative"></div> > 4. <div id="me_header" class="relative"></div> > 5. </div> > 6. > > > and here is my .js > > 1. > 2. window.addEvent('domready', function() { > 3. $('me_header').setPosition({ > 4. relativeTo:$('tree_header'), > 5. position:'topRight' > 6. }); > 7. }); > 8. > > > > but nothing happen. it is written on the official mootools website > that my div must be in relative position, but it dont work more. > > so i need a little help please :) > > thks !!! > > EDIT : this is the URL http://www.mind-rising.com/last/ >
