My URL http://math.pixelworklab.com/.
In the top right there is an “Invite a friend” link that should open a fancybox but instead loads a new page.
In firefox console I see the following and cannot seem to nail the issue…
TypeError: jQuery("a.raf_link").fancybox is not a function
[Break On This Error]
'titleShow' : false
TypeError: jQuery("a.single_image").fancybox is not a function
[Break On This Error]
jQuery("a.single_image").fancybox();
Thanks!
hey I saw your site view source.. You have include jquery library twice.Remove one and it will work
and
Looks like you have a problem because of two jQuery libraries attached. First is jquery 1.7.2 and second, stored on Google CDN, ver 1.5.2. fancybox is initialized after 1.7.2 and before 1.5.2
I think you have to wrap your code (raf_script.js) in a document ready function:
The jQuery have probably not been loaded before your script loads.