Fancybox – TypeError: currentOpts.onCleanup is not a function

3

Monday, October 1, 2012 by Nandu

I was trying fancybox as per some tutorial, however was getting the error “TypeError: currentOpts.onCleanup is not a function”.

After lot of searching around I figured out that the fancybox css file was not loading due to a typo in this path.

3 thoughts on “Fancybox – TypeError: currentOpts.onCleanup is not a function

  1. dany says:

    you saved my day man😀 thx

  2. Velmurugan says:

    Thanks for the your information, I did same mistake not included fancybox css

  3. Nham says:

    Thanks for your share. It saved my day!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: