The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

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

  1. mwolfe02
    Posted 3 years 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?


  2. ulfben
    Plugin Author

    Posted 3 years 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

  • WP jQuery Lightbox
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic