A coder on another forum returned some working results for me. I'm
just posting the results here for others to use in the event that they
want their slider to behave as mine. Look to www.tlcphoto.ca some time
later when it is implemented. :)

window.addEvent('domready', function() {
   var status = {
     'true': 'open',
     'false': 'close'
   };

   //add hide() here.

   var myHorizontalSlide = new Fx.Slide('horizontal_slide', {mode:
'horizontal'}).hide();

   $('h_toggle').addEvent('click', function(e)
   {
     e.stop();
     myHorizontalSlide.toggle();
   });

   myHorizontalSlide.addEvent('complete', function() {
     $('horizontal_status').set('html',
status[myHorizontalSlide.open]);
   });

 });


-- 
Subscription settings: 
http://groups.google.com/group/mootools-users/subscribe?hl=en

Reply via email to