Thread: share popup
View Single Post
Old 10-03-2012, 03:56 PM   PM User | #15
xelawho
Senior Coder

 
xelawho's Avatar
 
Join Date: Nov 2010
Posts: 2,461
Thanks: 52
Thanked 457 Times in 455 Posts
xelawho will become famous soon enoughxelawho will become famous soon enough
just pass the id of the div that you are using for the fancybox to the open function...

Code:
	<script type="text/javascript">
		$(document).ready(function() {
			$('.fancybox').fancybox();
		$.fancybox.open('#your_div_id');
});
	</script>
xelawho is offline   Reply With Quote
Users who have thanked xelawho for this post:
Chris-2k (10-03-2012)