The 'new fx.slide'.. is not necessary. I think the getter initializes it for ya
On Mon, Mar 16, 2009 at 9:48 AM, Todd <[email protected]> wrote: > > thanks nutron, > > I must be a little "thick" this morning because as simple as it seems I > still can't get it to work. Below is the original code. Also, is > visibility:visible an inline style or part of the js? > > var myVerticalSlide = new Fx.Slide('vertical_slide'); > document.addEvent("domready", function() { > $('vertical_slide').slide('hide'); > $('global_connect').addEvent('click', function(e) { > e.stop(); > $('vertical_slide').slide('in'); > }); > }); > > > On Mar 15, 2009, at 10:17 PM, nutron wrote: > > set it to visibility:hidden in your css, then in your js, initialize >> Fx.Slide, hide it (.hide()) and then set style to visibility:visible. >> > > -- Guillermo Rauch http://devthought.com
