WordPress.org

Ready to get started?Download WordPress

Forums

WP jQuery Lightbox
[resolved] Lightbox shows hidden select/embed/object blocks (2 posts)

  1. mwolfe02
    Member
    Posted 1 year ago #

    The first line in the start() function is: $("select, embed, object").hide();

    And the last line in the end() function is: $('select, object, embed').show();

    This forces all select, object, and embed nodes to be displayed when the lightbox is closed, regardless of their display state prior to lightbox being opened. This is causing problems specifically with the popular Responsive theme, which dynamically displays dropdowns for navigation on mobile devices but hides those dropdowns for larger displays.

    By commenting out both of those lines, the problem went away. I assume those lines are there for some reason, though. What is the purpose of those lines?

    http://wordpress.org/extend/plugins/wp-jquery-lightbox/

  2. ulfben
    Member
    Plugin Author

    Posted 1 year ago #

    I did some tests, and like you, couldn't find a purpose for these lines. Removed in 1.4.1.

    Thanks for reporting.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags