ボタン付きのパネルを処理する (パネルの内容を切り替える) MooTools スクリプトがあります。
スクリプトは次のとおりです - すべてのボタンが対応するパネルを表示するように設定し、それ自体の背景を変更します:
buttons.addEvent('mouseenter', function(button){
        var panel = 'panel-' + this.get("id");
        $$('.panel').setStyle('display','none');
        $(panel).setStyle('display','block');
        buttons.setStyle('background',null);
        this.setStyle('background','#183c7c');
    });
IE (8 および 9 で試行) の場合、スクリプトの最後の行が機能しません。ボタン自体の背景は変更されません。Firefox と Chrome では問題なく動作します。