Vertical Menu with Show/Hide Effects | Mootools

Vertical Menu with Show/Hide Effects | Mootools
Advertise Here

simple tutorial with two vertical menu examples with show/hide menu effect. First example uses a simple JavaScript code. Second example uses mootools to show/hide the menu with a nice vertical slide-in/slide-out effect.

Download  Demo  Tutorial 

You can leave a response, or trackback from your own site.

2 Responses to “Vertical Menu with Show/Hide Effects | Mootools”

  1. Peter Benson says:

    Can the JS simple effect be used along with jQuery?

  2. admin says:

    Yes Peter Benson. It will work…simply remove mootools.js then add jquery.js…..

    And replace the below code


    window.addEvent('domready', function(){
    var mySlide = new Fx.Slide('v-menu2');
    mySlide.hide();
    $('toggle').addEvent('click', function(e){
    e = new Event(e);
    mySlide.toggle();
    e.stop();
    });

    });

    with


    $(document).ready(function() {
    $('#toggle').click(function() {
    $("toggle").slideToggle("slow");
    });
    });

    That’s it..

Leave a Reply

Subscribe to RSS Feed Follow Ajaxmint on Twitter!
Get Adobe Flash player