WordPress.org

Ready to get started?Download WordPress

Forums

Lightbox Plus Colorbox
Multiple instances all overlayed (4 posts)

  1. tdsm
    Member
    Posted 2 years ago #

    I've added a link on my site with the following code;

    Signup for newsletter

    The first time I click, it works as I expect but then if I close the lightbox and click the link again, it opens 2 versions, one on top of the other and so on, adding 1 more every click.

    I'm not running any other plugins.

    I'd expect to see an iframe in there somewhere but I don't. It works fine for images, just not loading pages.

    Any help much appreciated!

  2. oudein
    Member
    Posted 2 years ago #

    Double bump for this. It loads as many instances of the overlay as one clicks on ANY content links. My colleague had 10 overlays before figuring it what was going on.

  3. Tomassey
    Member
    Posted 2 years ago #

    Did you get this to work? I have the exact same problem and can't work it out... Works great in Safari for some reason but not Firefox or Chrome.

  4. karlajw
    Member
    Posted 2 years ago #

    Just figured this one out myself. Actually I haven't figured out why it's loading double the number of page requests on every subsequent click, but I did figure out the fix/workaround ...

    To load other page content (ie. not simple jpg's) you need to enable the secondary lightbox settings and then check the box to use iFrame (Secondary Lightbox - Other Settings).

    The problem doesn't seem to be specific to this plugin ... I tried a couple of other lightbox/thickbox plugins with their default image settings and they all did the same thing ... making 2 times the page requests for each click that opens a lightbox.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic