summaryrefslogtreecommitdiff
path: root/js/modal.js
blob: f9bec3103389c1b2ca81df7d3b532eced02a458a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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();*/