WordPress.org

Ready to get started?Download WordPress

Forums

ThickBox Content
thickbox does not work until total page load (3 posts)

  1. thomstark
    Member
    Posted 3 years ago #

    Hi. Is there anyway I can get the thickbox to begin working faster, before the page loads completely? I have several Google+ profile widgets in my sidebar which take a little bit to load. If I click on the thickbox link while the page is still loading, nothing happens.

    See here: http://religionatthemargins.com/our-books/

  2. Max Chirkov
    Member
    Plugin Author

    Posted 3 years ago #

    It's not the plugin's issue - it's the library. The plugin doesn't do anything beside initiating the library that comes with WordPress.

    The library itself is based on jQuery. Most of jQuery-powered stuff is loading AFTER the page is loaded. Thickbox works with HTML DOM and the page has to load completely before any calls to HTML elements can be made.

  3. thomstark
    Member
    Posted 3 years ago #

    OK. Thanks for the explanation. Wasn't sure if there was some bit of code I could move up in the header or something that would give it load priority. Thanks again.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic