I am no expert at javascript (still learning), but I think I had a
similar issue when I first tried to move fancy box to one of my pages.
When you download the package, the html sample page has some embedded
script. It reads like this under the linked js files: (the line with
the arrows I think might be your culprit).
<script type="text/javascript">
$(document).ready(function() {
---------------> $("a").fancybox(); <----------
$("a.embed").fancybox({
'hideOnContentClick': false
});
});
</script>
since I am still learning, the best I can tell is that it applies
fancy box to all "a" elements, which is why it opens for every link on
your page. If you remove that line, like I did, it should work fine.
At least it worked for me. Again, I am no expert. let me know if it
works out.
Andrew
> I have added the fancybox on my webpage I am using MasterPagein my