He meant that you should paste your code into mooshell.net so we can help you by actually seeing the code and being able to modify it. -- Fábio Miranda Costa Solucione Sistemas Engenheiro de interfaces
On Wed, Jan 27, 2010 at 3:04 PM, apathetic <wes.ha...@gmail.com> wrote: > Thanks, but it didn't help me. However, I eventually realized I made a > silly error when instantiating the Class: > > I had: > window.addEvent('domready', new Store ); > > ...and not: > window.addEvent('domready', function(){ new Store }); > > > I was digging around looking in the wrong places :) > > > > On 26 jan, 21:38, Ryan Florence <rpflore...@gmail.com> wrote: > > Http://MooTools.net/shell > > > > Sent from my iPhone > > > > On Jan 26, 2010, at 7:02 PM, apathetic <wes.ha...@gmail.com> wrote: > > > > > > > > > Hi, > > > > > I'm trying to use Fx.Slide within a Class I'm creating, yet it keeps > > > throwing errors. It doesn't seem to want to attach the Slide to the > > > element I'm passing it. The class is initialized on domready, and yes, > > > mootools-more is included. The js is below, and the html is very > > > simple and I'm sure that's not it. > > > > > One last note: everything was working fine until I moved the code into > > > a Class, as seen below: > > > > > var Store = new Class({ > > > > > Implements: [Options, Events ], // <-- am I missing > > > something here, or is it elsewhere in my code? > > > > > initialize: function(){ > > > > > var $('detailedview'); // this works fine > > > > > var mySlide = new Fx.Slide('detailedview').hide > > > (); // > > > Error: Result of expression 'document.id(a)' [null] is not an object. > > > $('detailedview').slide('hide'); // try the native > > > way as > > > well, but it fails too. > > > > > ..... > > > > > If this is discussed elsewhere, I apologize. Please point me to a > > > previous post and I'll be happy to read up. I wasn't able to find > > > anything in my search. > > > > > thanks! >