I'm using FancyBox 2, but I can't get the helper buttons to function. They display OK, but when I click on one of them, I get the error (in the chrome developer console):
Uncaught TypeError: Cannot read property 'fancybox' of undefined
The HTML for the buttons look like:
<a title="Previous" href="$.fancybox.prev();">Previous</a>
I've been hacking away at it for a while, and have not had much luck with it.
Has anyone seen this before?