WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: jQuery Colorbox] iframe (5 posts)

  1. anakin2k7
    Member
    Posted 4 years ago #

    Can I use jQuery Colorbox to open iframe content? If yes, how?

    http://wordpress.org/extend/plugins/jquery-colorbox/

  2. techotronic
    Member
    Posted 4 years ago #

    Hi,
    Colorbox can open almost everything, including iFrames or videos.
    See the official Colorbox website for details.

    Best regards,
    Arne

  3. anakin2k7
    Member
    Posted 4 years ago #

    I've installed a plugin for gallery (WordPress). And I don't know how to add a text link to iframe. I've tried this, but it's not working:

    <p><a class='colorbox iframe' href="http://google.com">Outside Webpage (Iframe)</a></p>

  4. techotronic
    Member
    Posted 4 years ago #

    Hi,
    it seems that opening iframes in Colorbox does not work after all, since it seems that iframes can't be moved around using JavaScript without loosing it's contents.
    http://groups.google.com/group/colorbox/browse_thread/thread/fddce1ff049b134e/c9e16612dd4006b0?lnk=gst&q=iframe#c9e16612dd4006b0

    I suppose that it might be possible to display single items that are included inside the iframe, but I don't know how. Take a look at the google group, there are lots of iframe related threads there.

    Best regards,
    Arne

  5. dschmidt20
    Member
    Posted 4 years ago #

    Hey Everyone,

    Arne, first off thanks for the great work you did making this plugin and for returning an email regarding a suggestion I made to load JS in the footer with wp enqueue script.

    Going to the original Colorbox website they seem to be able to load iframes through Colorbox using . This sounds like a parent/child nesting hierarchy issue in the coding of the plugin.

    I'm not a programmer, but I have some design/development knowledge and that would be my guess.

Topic Closed

This topic has been closed to new replies.

About this Topic