Support » Plugins » [Plugin: Lightbox Plus] Inline content doesn't show up

  • I’m using Lightbox Plus and I can’t get the content to show up. This is the code I’m using (provided by Lightbox Plus). The Lightbox window shows up but the content is not displaying. Is there someway I can get this to work?

    Here’s the code I’m using:
    ( ) instead of <>

    (a href=”#”)Inline HTML Content(/a)
    <div style=”display:none”>
    <div id=”lbp-inline-link-1″ style=”padding: 10px;background: #fff”>
    CONTENT
    </div>
    </div>

Viewing 3 replies - 1 through 3 (of 3 total)
  • i think you’re forgetting some code. Here is the code provided by lbp :

    <a class="lbp-inline-link-1" href="#">Inline HTML Content</a>
    <div style="display:none">
        <div id="lbp-inline-link-1" style="padding: 10px;background: #fff">
            Inline Content Goes Here
        </div>
    </div>
    

    So the class lbp-inline-link-1 goes with the id lbp-inline-link-1 (that must be hidden with display:none).
    I hope it will work for you because, whereas i’m telling you that, i can’t get the inline lightboxes to work with this code. Please let me know if it has sold your issue.

    ok, i’ll answer myself to my problem :

    for the div with the id, it’s not

    lbp-inline-link-1

    but

    lbp-inline-href-1

    So the correct code provided by LBP is :

    <a class="lbp-inline-link-1" href="#">Inline HTML Content</a>
    <div style="display:none">
        <div id="lbp-inline-href-1" style="padding: 10px;background: #fff">
            Inline Content Goes Here
        </div>
    </div>
    

    Hope my mistake will help. You should get it to work with this code.

    Thanks for this, helped me out 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Lightbox Plus] Inline content doesn't show up’ is closed to new replies.