ボタンを押せば画面の横からメニューがスライドして現れるドロワーメニュー。facebookを先駆けに、最近のスマホサイトやアプリなどで当たり前のように見るようになりましたね。 デザイン的にカッコイイだけでなく、スマホなどの小さい画面でも、上手く情報を詰め込むことができるので、ユーザビリティの面でも必須の機能といえるでしょう。 この記事では、ドロワーメニューを設置する手順を紹介しますが、プラグインを使わない自作する方法で解説したいと思います。 ドロワーメニューの作成手順 まず、ドロワーメニューを作るために必要な言語はHTMLとCSSとjQeryの3つ。 仕組みとしては、HTMLで作ったドロワーメニューを、CSSで隠れている状態と表示した状態を作成し、jQeryでその切り替えをするだけという単純な作りになります。 HTMLとCSSはある程度わかるけど、jQeryはちょっと…という方もいるかと思い