UNPKG

23 kBHTMLView Raw
1<!DOCTYPE html>
2<html lang="en">
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1">
6 <meta http-equiv="X-UA-Compatible" content="IE=edge">
7 <meta name="msapplication-tap-highlight" content="no">
8 <meta name="description" content="Materialize is a modern responsive CSS framework based on Material Design by Google. ">
9 <title>Modals - Materialize</title>
10 <!-- Favicons-->
11 <link rel="apple-touch-icon-precomposed" href="images/favicon/apple-touch-icon-152x152.png">
12 <meta name="msapplication-TileColor" content="#FFFFFF">
13 <meta name="msapplication-TileImage" content="images/favicon/mstile-144x144.png">
14 <link rel="icon" href="images/favicon/favicon-32x32.png" sizes="32x32">
15 <!-- Android 5 Chrome Color-->
16 <meta name="theme-color" content="#EE6E73">
17 <!-- CSS-->
18 <link href="css/prism.css" rel="stylesheet">
19 <link href="css/ghpages-materialize.css" type="text/css" rel="stylesheet" media="screen,projection">
20 <link href="http://fonts.googleapis.com/css?family=Inconsolata" rel="stylesheet" type="text/css">
21 <link href="http://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
22 <script>
23 window.liveSettings = {
24 api_key: "a0b49b34b93844c38eaee15690d86413",
25 picker: "bottom-right",
26 detectlang: true,
27 dynamic: true,
28 autocollect: true
29 };
30 </script>
31 <script src="//cdn.transifex.com/live.js"></script>
32 </head>
33 <body>
34 <header>
35 <nav class="top-nav">
36 <div class="container">
37 <div class="nav-wrapper"><a class="page-title">Modals</a></div>
38 </div>
39 </nav>
40 <div class="container"><a href="#" data-activates="nav-mobile" class="button-collapse top-nav full hide-on-large-only"><i class="mdi-navigation-menu"></i></a></div>
41 <ul id="nav-mobile" class="side-nav fixed">
42 <li class="logo"><a id="logo-container" href="http://materializecss.com/" class="brand-logo">
43 <object id="front-page-logo" type="image/svg+xml" data="res/materialize.svg">Your browser does not support SVG</object></a></li>
44 <li class="search">
45 <div class="search-wrapper card">
46 <input id="search"><i class="material-icons">search</i>
47 <div class="search-results"></div>
48 </div>
49 </li>
50 <li class="bold"><a href="about.html" class="waves-effect waves-teal">About</a></li>
51 <li class="bold"><a href="getting-started.html" class="waves-effect waves-teal">Getting Started</a></li>
52 <li class="no-padding">
53 <ul class="collapsible collapsible-accordion">
54 <li class="bold"><a class="collapsible-header waves-effect waves-teal">CSS</a>
55 <div class="collapsible-body">
56 <ul>
57 <li><a href="color.html">Color</a></li>
58 <li><a href="grid.html">Grid</a></li>
59 <li><a href="helpers.html">Helpers</a></li>
60 <li><a href="media-css.html">Media</a></li>
61 <li><a href="sass.html">Sass</a></li>
62 <li><a href="shadow.html">Shadow</a></li>
63 <li><a href="table.html">Table</a></li>
64 <li><a href="typography.html">Typography</a></li>
65 </ul>
66 </div>
67 </li>
68 <li class="bold"><a class="collapsible-header waves-effect waves-teal">Components</a>
69 <div class="collapsible-body">
70 <ul>
71 <li><a href="badges.html">Badges</a></li>
72 <li><a href="buttons.html">Buttons</a></li>
73 <li><a href="breadcrumbs.html">Breadcrumbs</a></li>
74 <li><a href="cards.html">Cards</a></li>
75 <li><a href="chips.html">Chips</a></li>
76 <li><a href="collections.html">Collections</a></li>
77 <li><a href="footer.html">Footer</a></li>
78 <li><a href="forms.html">Forms</a></li>
79 <li><a href="icons.html">Icons</a></li>
80 <li><a href="navbar.html">Navbar</a></li>
81 <li><a href="pagination.html">Pagination</a></li>
82 <li><a href="preloader.html">Preloader</a></li>
83 </ul>
84 </div>
85 </li>
86 <li class="bold"><a class="collapsible-header active waves-effect waves-teal">JavaScript</a>
87 <div class="collapsible-body">
88 <ul>
89 <li><a href="collapsible.html">Collapsible</a></li>
90 <li><a href="dialogs.html">Dialogs</a></li>
91 <li><a href="dropdown.html">Dropdown</a></li>
92 <li><a href="media.html">Media</a></li>
93 <li class="active"><a href="modals.html">Modals</a></li>
94 <li><a href="parallax.html">Parallax</a></li>
95 <li><a href="pushpin.html">Pushpin</a></li>
96 <li><a href="scrollfire.html">ScrollFire</a></li>
97 <li><a href="scrollspy.html">Scrollspy</a></li>
98 <li><a href="side-nav.html">SideNav</a></li>
99 <li><a href="tabs.html">Tabs</a></li>
100 <li><a href="transitions.html">Transitions</a></li>
101 <li><a href="waves.html">Waves</a></li>
102 </ul>
103 </div>
104 </li>
105 </ul>
106 </li>
107 <li class="bold"><a href="http://materializecss.com/mobile.html" class="waves-effect waves-teal">Mobile</a></li>
108 <li class="bold"><a href="showcase.html" class="waves-effect waves-teal">Showcase</a></li>
109 </ul>
110 </header>
111 <main><div class="container bsa">
112 <div class="row">
113 <div class="col s12 m9 l10">
114
115 <div id="introduction" class="section scrollspy">
116 <h4>Introduction</h4>
117 <p>Use a modal for dialog boxes, confirmation messages, or other content that can be called up. In order for the modal to work you have to add the Modal ID to the link of the trigger. To add a close button, just add the class <code class="language-css">.modal-close</code> to your button.</p>
118 <a class="waves-effect waves-light btn modal-trigger" href="#modal1">Modal</a>&nbsp;&nbsp;&nbsp;&nbsp;<a class="waves-effect waves-light btn modal-trigger" href="#modal2">Modal With Fixed Footer</a>&nbsp;&nbsp;&nbsp;&nbsp;<a class="waves-effect waves-light btn modal-trigger" href="#modal3">Modal Bottom Sheet Style</a>
119 <div id="modal1" class="modal">
120 <div class="modal-content">
121 <h4>Modal Header</h4>
122 <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum</p>
123 </div>
124 <div class="modal-footer">
125 <a href="#!" class="modal-action modal-close waves-effect waves-red btn-flat ">Disagree</a>
126 <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">Agree</a>
127 </div>
128 </div>
129 <div id="modal2" class="modal modal-fixed-footer">
130 <div class="modal-content">
131 <h4>Modal Header</h4>
132 <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum</p>
133 <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum</p>
134 <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum</p>
135 <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum</p>
136 </div>
137 <div class="modal-footer">
138 <a href="#!" class="modal-action modal-close waves-effect waves-red btn-flat ">Disagree</a>
139 <a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">Agree</a>
140 </div>
141 </div>
142 <div id="modal3" class="modal bottom-sheet">
143 <div class="modal-content">
144 <h4>Modal Header</h4>
145 <ul class="collection">
146 <li class="collection-item avatar">
147 <img src="images/yuna.jpg" alt="" class="circle">
148 <span class="title">Title</span>
149 <p>First Line <br>
150 Second Line
151 </p>
152 <a href="#!" class="secondary-content"><i class="material-icons">grade</i></a>
153 </li>
154 <li class="collection-item avatar">
155 <i class="material-icons circle">folder</i>
156 <span class="title">Title</span>
157 <p>First Line <br>
158 Second Line
159 </p>
160 <a href="#!" class="secondary-content"><i class="material-icons">grade</i></a>
161 </li>
162 <li class="collection-item avatar">
163 <i class="material-icons circle green">assessment</i>
164 <span class="title">Title</span>
165 <p>First Line <br>
166 Second Line
167 </p>
168 <a href="#!" class="secondary-content"><i class="material-icons">grade</i></a>
169 </li>
170 <li class="collection-item avatar">
171 <i class="material-icons circle red">play_arrow</i>
172 <span class="title">Title</span>
173 <p>First Line <br>
174 Second Line
175 </p>
176 <a href="#!" class="secondary-content"><i class="material-icons">grade</i></a>
177 </li>
178 </ul>
179 </div>
180 </div>
181 </div>
182
183
184
185 <div id="structure" class="scrollspy section">
186 <h4>Modals HTML Structure</h4>
187 <pre><code class="language-markup">
188 &lt;!-- Modal Trigger -->
189 &lt;a class="waves-effect waves-light btn modal-trigger" href="#modal1">Modal&lt;/a>
190
191 &lt;!-- Modal Structure -->
192 &lt;div id="modal1" class="modal">
193 &lt;div class="modal-content">
194 &lt;h4>Modal Header&lt;/h4>
195 &lt;p>A bunch of text&lt;/p>
196 &lt;/div>
197 &lt;div class="modal-footer">
198 &lt;a href="#!" class=" modal-action modal-close waves-effect waves-green btn-flat">Agree&lt;/a>
199 &lt;/div>
200 &lt;/div>
201 </code></pre>
202 </div>
203
204
205 <div id="fixed-footer" class="scrollspy section">
206 <h4>Modals with Fixed Footer</h4>
207 <p>If you have content that is very long and you want the action buttons to be visible all the time, you can add the <code class="language-markup">modal-fixed-footer</code> class to the modal. </p>
208 <pre><code class="language-markup">
209 &lt;!-- Modal Trigger -->
210 &lt;a class="modal-trigger waves-effect waves-light btn" href="#modal1">Modal&lt;/a>
211
212 &lt;!-- Modal Structure -->
213 &lt;div id="modal1" class="modal modal-fixed-footer">
214 &lt;div class="modal-content">
215 &lt;h4>Modal Header&lt;/h4>
216 &lt;p>A bunch of text&lt;/p>
217 &lt;/div>
218 &lt;div class="modal-footer">
219 &lt;a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">Agree&lt;/a>
220 &lt;/div>
221 &lt;/div>
222 </code></pre>
223 </div>
224
225 <div id="bottom-sheet" class="scrollspy section">
226 <h4>Bottom Sheet Modals</h4>
227 <p>Bottom Sheet Modals are good for displaying actions to the user on the bottom of a screen. They still act the same as regular modals.</p>
228 <pre><code class="language-markup">
229 &lt;!-- Modal Trigger -->
230 &lt;a class="waves-effect waves-light btn modal-trigger" href="#modal1">Modal&lt;/a>
231
232 &lt;!-- Modal Structure -->
233 &lt;div id="modal1" class="modal bottom-sheet">
234 &lt;div class="modal-content">
235 &lt;h4>Modal Header&lt;/h4>
236 &lt;p>A bunch of text&lt;/p>
237 &lt;/div>
238 &lt;div class="modal-footer">
239 &lt;a href="#!" class=" modal-action modal-close waves-effect waves-green btn-flat">Agree&lt;/a>
240 &lt;/div>
241 &lt;/div>
242 </code></pre>
243 </div>
244
245 <div id="button-trigger" class="scrollspy section">
246 <h4>Modals with Button trigger</h4>
247 <p>If you prefer to use a button to open a modal specify the Modal ID in <code class="language-markup">data-target</code> rather that the href attribute. </p>
248
249 <pre><code class="language-markup">
250 &lt;!-- Modal Trigger -->
251 &lt;button data-target="modal1" class="btn modal-trigger">Modal&lt;/button>
252 </code></pre>
253 </div>
254
255
256
257 <div id="initialization" class="scrollspy section">
258 <h4>jQuery Plugin Initialization</h4>
259 <p>To open a modal using a trigger:</p>
260 <pre><code class="language-javascript">
261 $(document).ready(function(){
262 // the "href" attribute of .modal-trigger must specify the modal ID that wants to be triggered
263 $('.modal-trigger').leanModal();
264 });
265 </code></pre>
266 <p>You can also open modals programatically, the below code will make your modal open on document ready:</p>
267 <pre><code class="language-javascript">
268 $('#modal1').openModal();
269 </code></pre>
270 <p>You can also close them programatically:</p>
271 <pre><code class="language-javascript">
272 $('#modal1').closeModal();
273 </code></pre>
274 </div>
275
276
277
278 <div id="options" class="scrollspy section">
279 <h4>Options</h4>
280 <p>You can customize the behavior of each modal using these options. For example, you can call a custom function to run when a modal is dismissed. To do this, just place your function in the intialization code as shown below.</p>
281 <pre><code class="language-javascript">
282 $('.modal-trigger').leanModal({
283 dismissible: true, // Modal can be dismissed by clicking outside of the modal
284 opacity: .5, // Opacity of modal background
285 in_duration: 300, // Transition in duration
286 out_duration: 200, // Transition out duration
287 ready: function() { alert('Ready'); }, // Callback for Modal open
288 complete: function() { alert('Closed'); } // Callback for Modal close
289 }
290 );
291 </code></pre>
292 </div>
293
294</div>
295
296<!-- Table of Contents -->
297 <div class="col hide-on-small-only m3 l2">
298 <div class="toc-wrapper">
299 <div class="buysellads hide-on-small-only">
300 <!-- CarbonAds Zone Code -->
301 <script async type="text/javascript" src="//cdn.carbonads.com/carbon.js?zoneid=1673&serve=C6AILKT&placement=materializecss" id="_carbonads_js"></script>
302 </div>
303 <div style="height: 1px;">
304 <ul class="section table-of-contents">
305 <li><a href="#introduction">Introduction</a></li>
306 <li><a href="#structure">Structure</a></li>
307 <li><a href="#fixed-footer">Fixed Footer</a></li>
308 <li><a href="#bottom-sheet">Bottom Sheet</a></li>
309 <li><a href="#button-trigger">Button Trigger</a></li>
310 <li><a href="#initialization">Intialization</a></li>
311 <li><a href="#options">Options</a></li>
312 </ul>
313 </div>
314 </div>
315 </div>
316
317</div>
318</div>
319
320
321 </main> <footer class="page-footer">
322 <div class="container">
323 <div class="row">
324 <div class="col l4 s12">
325 <h5 class="white-text">Help Materialize Grow</h5>
326 <p class="grey-text text-lighten-4">We are a team of college students working on this project like it's our full time job. Any amount would help support and continue development on this project and is greatly appreciated.</p>
327 <form id="paypal-donate" action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
328<input type="hidden" name="cmd" value="_s-xclick">
329<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHLwYJKoZ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YJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTQxMjE1MDcwNTI3WjAjBgkqhkiG9w0BCQQxFgQUTOnEae05+jEbHsz0um3L3/Cl/zgwDQYJKoZIhvcNAQEBBQAEgYAGuieIpSk7XCxyo4RieZQ/SO0EHUYEW9B7KFJB9qZ1+yCKpUm7prwsGGOJAAdqKOw59I7qjLQI5cFJz/O8Ivb14TclAZiKTnOCB/wO1QHp+9s+hF00D6v0TDetLm0GLnk/7ljWvNq1pTyiMTLVg4yw1dAzQE1tC6bYTtLuDhLl0Q==-----END PKCS7-----
330">
331<button class="btn waves-effect waves-light red lighten-3" type="submit" name="action" alt="PayPal - The safer, easier way to pay online!">Donate Now
332</button>
333</form>
334
335 </div>
336 <div class="col l4 s12">
337 <h5 class="white-text">Join the Discussion</h5>
338 <p class="grey-text text-lighten-4">We have a Gitter chat room set up where you can talk directly with us. Come in and discuss new features, future goals, general problems or questions, or anything else you can think of.</p>
339 <a class="btn waves-effect waves-light red lighten-3" target="_blank" href="https://gitter.im/Dogfalo/materialize">Chat</a>
340 </div>
341 <div class="col l4 s12" style="overflow: hidden;">
342 <h5 class="white-text">Connect</h5>
343 <iframe src="http://ghbtns.com/github-btn.html?user=dogfalo&repo=materialize&type=watch&count=true&size=large" allowtransparency="true" frameborder="0" scrolling="0" width="170" height="30"></iframe>
344 <br>
345 <a href="https://twitter.com/MaterializeCSS" class="twitter-follow-button" data-show-count="true" data-size="large" data-dnt="true">Follow @MaterializeCSS</a>
346 <br>
347 <div class="g-follow" data-annotation="bubble" data-height="24" data-href="https://plus.google.com/108619793845925798422" data-rel="publisher"></div>
348 </div>
349 </div>
350 </div>
351 <div class="footer-copyright">
352 <div class="container">
353 © 2014-2015 Materialize, All rights reserved.
354 <a class="grey-text text-lighten-4 right" href="https://github.com/Dogfalo/materialize/blob/master/LICENSE">MIT License</a>
355 </div>
356 </div>
357 </footer>
358 <!-- Scripts-->
359 <script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
360 <script>if (!window.jQuery) { document.write('<script src="bin/jquery-2.1.1.min.js"><\/script>'); }
361 </script>
362 <script src="js/jquery.timeago.min.js"></script>
363 <script src="js/prism.js"></script>
364 <script src="jade/lunr.min.js"></script>
365 <script src="jade/search.js"></script>
366 <script src="bin/materialize.js"></script>
367 <script src="js/init.js"></script>
368 <!-- Twitter Button -->
369 <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
370
371 <!-- Google Plus Button-->
372 <script src="https://apis.google.com/js/platform.js" async defer></script>
373
374 <!-- Google Analytics -->
375 <script>
376 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
377 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
378 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
379 })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
380
381 ga('create', 'UA-56218128-1', 'auto');
382 ga('require', 'displayfeatures');
383 ga('send', 'pageview');
384 </script>
385 </body>
386</html>
\No newline at end of file