Showing spinner when loading fancybox iframe

Spinner will be shown when the iframe is loading and hidden when the iframe’s content is fully loaded.

– patched fancybox-1.3.4

– for other versions, try the diff

Old version:

– patched fancybox-1.3.1

– diff from fancybox-1.3.1

Advertisements

17 thoughts on “Showing spinner when loading fancybox iframe

  1. what a wonderful improvement! suach a great patch! i have been looking exactly for it for 3 days until i landed on your website! thanks a lot mate! works like a charm 🙂 keep it rollin’, cheers!

  2. What a fantastic patch, shame it hasn’t made it into the main FB code 😦 I can’t quite get it to work on an inline PDF as yet but hey, the idea of being able to show a loading indicator while dynamically creating a PDF is awesome.

  3. Great patch… I was having a problem with showing that a map was loading… Thank you for taking the time to write this. I also second the question of why this cannot be in the core version release

  4. This is exactly what we need, but have implemented 1.3.4 — looking through the patch, it seems like things have changed between minor revisions. Any chance you could have a look at 1.3.4 and lend your expertise please?

  5. This may be a silly question, but how do I install this to my wordpress site? I’ve added the jquery file to wp-includes –> js –> jquery folder

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