<script>
jQuery("#modal1").on('click', function() {
jQuery.fancybox.open('<div class="">Привет мир!!!) </div>');
});
</script>
<div class="picPointer markmap" style="position: absolute; top: 35%; left: 30%;">
<a id="modal1" class="picPointer" href="javascript:;"></a>
</div>