Last active
June 9, 2017 01:09
-
-
Save senooat/9b52a6f3f766ef65d503723453a963a1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//<head>に読み込み | |
<link rel="stylesheet" href="tingle.min.css"> | |
//</body>直前に読み込み | |
<script src="tingle.min.js"></script> | |
<script> | |
var modal1 = new tingle.modal({ cssClass: ['modal1'] }); | |
modal1.setContent(document.getElementById('modal1_html').innerHTML); | |
</script> | |
//Onclickで呼び出し | |
<a onclick="modal1.open()">ボタン</a> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment