WordPress.org

Support

Support » Plugins and Hacks » Loading Image before Modal Open

Loading Image before Modal Open

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author danieliser

    @danieliser

    The modal should open immediately so im not sure why you would even need one.

    Because I will open an iframe within the modal, so it would be interesting to show a loading image until the iframe is ready. So, the modal will open only when the iframe is loaded.

    Plugin Author danieliser

    @danieliser

    You can add it to the background of the overlay using css.

    .modal-overlay { background-image:url(path/to/image.gif); background-position:center center; }

    You may need to use !important in your css rules.

    Hope this helps,

    Please take a moment to rate and review the plugin and or support here.

    I tried this code, but nothing worked. =/

    Plugin Author danieliser

    @danieliser

    what was the code you used?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Loading Image before Modal Open’ is closed to new replies.