WordPress.org

Ready to get started?Download WordPress

Forums

jQuery Colorbox
[resolved] Inline div (3 posts)

  1. ericgruby
    Member
    Posted 11 months ago #

    Hi,

    I need some help to use colorbox to display a inline content...

    <div style="display:none">
    <div id="inline">My content goes here</div>
    </div>
    
    <a href="#inline" class="colorbox">Display inline content</a>       
    
    <script>
    $(document).ready(function(){
    $("a.colorbox").colorbox({inline:true, width:"40%"});
    });
    </script>

    Is it possible?
    Thanks :)

    *UPDATE*

    I tried to use this solution: http://wordpress.org/support/topic/plugin-jquery-colorbox-inline-html-for-colorbox?replies=4 but doesn't work anyways :(

    And sorry for my bad English.

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

  2. ericgruby
    Member
    Posted 11 months ago #

    Sorry for the double post, but i forgot to mention the website: http://anuncieseuimovel.net/cadastrar-imovel/

    In the 6th item, when you click on "Eu aceito os termos e condições" the colorbox should open the inline content.

  3. ericgruby
    Member
    Posted 11 months ago #

    There is a way to remove my posts? I already resolved the issue... :P

Reply

You must log in to post.

About this Plugin

About this Topic