mirror of
https://github.com/jcreek/phldnhack.git
synced 2026-07-12 18:43:43 +00:00
A visually pleasing teacher page with currently not working modals, despite apparently correct code that was directly copied from the materialize.css examples.
This commit is contained in:
@@ -5,3 +5,22 @@ Ractive.components.parent = Ractive.extend({
|
||||
Ractive.components.teacher = Ractive.extend({
|
||||
template:'#teacher'
|
||||
});
|
||||
|
||||
// $(document).ready(function(){
|
||||
// // the "href" attribute of .modal-trigger must specify the modal ID that wants to be triggered
|
||||
// $('.modal-trigger').leanModal({
|
||||
// dismissible: false, // Modal can be dismissed by clicking outside of the modal
|
||||
// opacity: .5, // Opacity of modal background
|
||||
// in_duration: 300, // Transition in duration
|
||||
// out_duration: 200, // Transition out duration
|
||||
// ready: function() { alert('Ready'); }, // Callback for Modal open
|
||||
// complete: function() { alert('Closed'); } // Callback for Modal close
|
||||
// }
|
||||
// );
|
||||
// });
|
||||
|
||||
$(document).ready(function(){
|
||||
// the "href" attribute of .modal-trigger must specify the modal ID that wants to be triggered
|
||||
$('.modal-trigger').leanModal();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user