I´m not a coder, so I might ask wrong 🙂
Was using this little code to open a fancybox when clicking on a div:
jQuery('.myDivWithClass').each(function() {
var actualDiv = jQuery(this);
actualDiv.fancybox({
'href' :actualDiv.find('a').attr('href') + '?removeHtmlHeader=1'
});
});
Now… it worked, but when I change to the new Version it doesn´. Why???
(if you think: what was he doing? i´m using a CMS and tried to provide a simple solution for the user – by creating a simple -hidden – link.)
html:
<div class="myDivWithClass">
<h3>Headline</h3>
<p>Some Text.</p>
<p><a class="hidden" href="theHiddenLink.html">Link</a></p>
</div>
Thank you very much!
FancyBox 1.3.4 uses jQuery 1.4; while FancyBox 2.0+ requires jQuery 1.7+; check to ensure you updated the version of jQuery being used by your CMS and that there aren’t two versions being used at the same time (thereby conflicting).
I hope this helps!