FancyBox for WordPress
Showing a loading gif? (1 post)

  1. dorich
    Posted 2 years ago #

    Is it possible to show a loading gif when opening an iFrame.

    I'm using the following code merely adapted from the example on the "Extra Calls" tab:

    jQuery("#iframe a").fancybox({
      'transitionIn': 'elastic',
      'transitionOut': 'elastic',
      'speedIn': 600,
      'speedOut': 200,
      'type': 'iframe'

    I see there is a method "showloading()" but I don't know how to use it. Does it require a reference to a gif source in the brackets? Are there options that go in the brackets? How would this method be added to the existing code?


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • FancyBox for WordPress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic