- window.addEvent('domready', function() {
- var myHorizontalSlide = new Fx.Slide('horizontal_slide', {mode: 'horizontal', duration: 800, transition: Fx.Transitions.Expo.easeOut}).hide();
- $$('div.menu_sitemap_fff').fade(0);
- // Horizontal slider toggle on mouseenter
- $$('div.tag_tab').addEvent('click', function(e){
- e.stop();
- myHorizontalSlide.toggle();
- // Fade content in
- $$('div.menu_sitemap_fff').fade('toggle');
- });
- });
Im trying to sync. the Horizontal slider toggle with the fade toggle.
i.e When the $$('div.tag_tab') triggers the slide 'IN' the element $$('div.menu_sitemap_fff') fades 'IN'.
And vice versa.
Any ideas for a novice?
Cos at the moment a double click makes the content disappear when it fade in.
Hope this makes sense.
Thanks in Advance
Paul


