Commit 80506572 authored by Porter Libby's avatar Porter Libby
Browse files

comments

parent a8664849
// This file contains functions concerned with operating the details modal
// this function handles the events for when the modal IS open and should be closed.
$(document).ready(function() {
var modal = document.getElementById("myModal");
var close_btn = document.getElementById("close_btn")
......@@ -12,11 +15,13 @@ $(document).ready(function() {
}
});
// this function handles opening the modal when it IS closed.
function open_modal() {
var modal = document.getElementById("myModal");
modal.style.display = "block";
}
// this function sets the content of the model. (INCOMPLETE)
function set_modal_text(url, description, title, video_url) {
var text_obj = document.getElementById('modal_text');
var video_obj = document.getElementById('modal-video');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment