diff options
Diffstat (limited to 'js/modal.js')
-rwxr-xr-x | js/modal.js | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/js/modal.js b/js/modal.js new file mode 100755 index 0000000..f9bec31 --- /dev/null +++ b/js/modal.js @@ -0,0 +1,26 @@ +$(document).ready(function(e){ + $(".testimonial_read_more").click(function(e) { + var target = $(this).attr("data-target"); + console.log(target); + e.preventDefault(); + + $(target).lightbox_me({ + centered: true + }); + }); + + $(".lightbox_close").click(function(e) { + $target = $(this).parent(); + $target.trigger('close'); + }); + + +}); + +/* $(target).dialog({ +//open: function(event, ui) { $(".ui-dialog-titlebar-close").hide(); }, +modal: true, +width:800, +}); + +//$(target).dialog();*/ |