• Hi there

    I’m in need of help. I’ve already tried to install ColorBox the “manual” way. No success, I moved to the plugin version, so here I am. But as of now, I’ve not been able to do what I need yet. In fact, I need to call an Iframe, just like the example “Outside Webpage (Iframe)”, on ColorBox Examples.
    It seems too simple a thing to do, but still I can’t get over with it. Also, I have another question – it may be a fool’s question, but I’m a fool anyway:
    When manually installing ColorBox, you need to set the <script> tags on the header.php, just above the </header> tag, and you need to set the proper classes/id’s on the post/page. How about when you install he plugin? So far I’ve not come across any mention to that.
    Well, that’s all for now. Thanks a lot.
    PS: Sorry for any eventual grammar mistakes, I’m almost falling asleep now. xD

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor techotronic

    (@techotronic)

    Hi,
    I just implemented the opening of links in an iframe.
    You’ll have to install the current development version 3.6.5:
    https://downloads.www.ads-software.com/plugin/jquery-colorbox.zip

    It works this way:
    – All links that have the CSS class “colorbox-link” are opened in a Colorbox.
    You can add the class to any link in the “insert/edit link” dialog, just select “colorbox-link” in the class-dropdown menu.

    – The Colorbox needs to have a height and width set in the settings since I can’t determine the size necessary programatically. (Otherwise, the colorbox will be 0 by 0 pixels big)
    Unfortunately, the value is used site-wide for every Colorbox.
    Maybe I’ll have to add separate values for the width and height but that would mean that all translators would have to change their translations…

    Please let me know if it works as you expected.
    Also: I rewrote a bit of the plugin, so there may be bugs. Please report them.

    Cheers,
    Arne

    TruckerTodd

    (@truckertodd)

    Hi Arne,
    I am having the same confusion on getting colorbox to open a URL within wordpress.

    Any quick thoughts on this, especially since they have removed the height/width dialogue in the links panel.

    Thanks
    Todd

    Plugin Contributor techotronic

    (@techotronic)

    Hi,
    you’re probably using WP 3.1, right?
    They removed the class-dropdown-box in that version. ??

    I’ll see if I can find a way around that.

    Cheers,
    Arne

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: jQuery Colorbox] Can't call Iframe’ is closed to new replies.