WordPress.org

Forums

Responsive Lightbox by dFactory
How to show INLINE CONTENT(?) (4 posts)

  1. o2pw_heir
    Member
    Posted 9 months ago #

    Hi,

    Is there any option for show inline content in lightbox. If yes, can you please share it.

    Thanks,
    Heir

    https://wordpress.org/plugins/responsive-lightbox/

  2. Bozz
    Member
    Posted 9 months ago #

    What do you mean by inline content? If you're trying to load a link in a lightbox, add rel="lightbox" as an attribute of your anchor tags.

  3. evens
    Member
    Posted 8 months ago #

    I Think what o2pw_heir meant is if this plugin could be use to display inline html like they did here http://demo.dev7studios.com/nivo-lightbox/

    If you click on "Inline HTML" it opens a box with html... I'm trying to do that right now but it returns an error.

  4. evens
    Member
    Posted 8 months ago #

    Well I was having problems with this but I just figured the problem was that I was using different ID's for the link and the container... so in order to enable inline content you only need to add it like this :

    <a href="#team-member-0" rel="lightbox" data-lightbox-type="inline">
    image thumb or text... whatever you want people to click on
    </a>
    
    <div id="team-member-0" style="display: none;">
    <h2>Jane Doe</h2>
    <p>Biography of the team member</p>
    </div>

    This code does the trick in case anyone else needs to know...

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.