JavaScriptで起動させてコントロールするとか。
JavaScript
1$( function() {
2 var inst = $( '[data-remodal-id=modal]' ).remodal();
3 $( document ).on( 'click', '.open-remodal', function() {
4 inst.open();
5 return false;
6 } );
7 $( document ).on( 'click', '.exit-remodal', function() {
8 inst.close();
9 } );
10} );
11```**動くサンプル:**
12[https://jsfiddle.net/davu9vr7/](https://jsfiddle.net/davu9vr7/)
13
14---
15
16【GitHub - VodkaBears/Remodal: Responsive, lightweight, fast, synchronized with CSS animations, fully customizable modal window plugin with declarative configuration and hash tracking.】
17[https://github.com/VodkaBears/Remodal#initialization-with-javascript](https://github.com/VodkaBears/Remodal#initialization-with-javascript)
18
19【【jQuery】超簡単に実装できるモーダル・ポップアップ[Remodal]の使い方 - ONZE】
20[http://on-ze.com/archives/4500](http://on-ze.com/archives/4500)
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/12/26 07:57