regardless, you are missing Element.Position.js from MooTools More. Your page only has Mootools Core, which includes a base version of the method, but you need to include Element.Position.js from -more for this functionality.
On Wed, May 27, 2009 at 1:13 PM, Oskar Krawczyk (via Nabble) < [email protected]<ml-user%[email protected]> > wrote: > > Howdy! > > For starters, try using el.position() and not el.setPosition(). > > O. > > On 27 May 2009, at 21:08, jmeciar 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/ > > > > ------------------------------ > View message @ > http://n2.nabble.com/-Moo--problems-with-the-property-setPosition-tp2983412p2983432.html > To start a new topic under MooTools Users, email > [email protected]<ml-node%[email protected]> > To unsubscribe from MooTools Users, click here< (link removed) >. > > > ----- The MooTools Tutorial: http://www.mootorial.com www.mootorial.com Clientcide: http://www.clientcide.com www.clientcide.com -- View this message in context: http://n2.nabble.com/-Moo--problems-with-the-property-setPosition-tp2983412p2983453.html Sent from the MooTools Users mailing list archive at Nabble.com.
