isn't it funny when people say in a forum that they have a solution of
a problem but they don't share it?... after all, a forum is a place
where we expect to help each other.
@berlin1525
the area outside of fancybox is called "fancy_overlay"; in order to
prevent fancybox closing when you click on this area (outside the
fancybox) just add to your script:
'callbackOnStart': function() {
$("#fancy_overlay").bind("click", "null");
}
to override the default script value.
a full example:
<script type="text/javascript">
$(document).ready(function() {
//Activate FancyBox
$("a#fancylink").fancybox({
'hideOnContentClick': false,
'frameWidth':425,
'frameHeight':344,
'callbackOnStart': function() {
$("#fancy_overlay").bind("click", "null");
}
});
});
</script>
btw, hideOnContentClick prevents closing fancybox when clicking INSIDE
fancybox, not outside.