「cta.js」はある要素をクリックするとその要素が全画面に広がり、ページを遷移せずに新たな要素を全画面で表示することができます。 サイトのメニューを表示したり、コンテンツが少ないサイトのアバウトページ代わりに使えそうです。 デモページ JavaScript (function($){ $(function() { var closeFn; function closeShowingModal() { var showingModal = document.querySelector('.modal.show'); if (!showingModal) return; showingModal.classList.remove('show'); document.body.classList.remove('disable-mouse'); if (closeFn) { closeFn()
