Tabs in Custom Display


  • Kris
    Newbie
     
    2 points

    I really want to use the Default Layout Custom Display on the listing page, but the tabs disappear when I activate it. Where can I find the codes that will actually work?


    Josh
    Josh
    Super Guru
     
    13,836 points

    Hello Kris,
    The tabs disappear since text is missing.Please post the code here so I can put text for you



    Kris
    Newbie
     
    2 points

    Hi Josh,
    Here is the code. I thin it’s missing the the tabs div too. Nothing shows at all…


    <div id="Tabs">

    <script> function refreshcar(){ jQuery(window).trigger('resize'); } </script>

    <ul class="nav nav-tabs" role="tablist">

    <li role="presentation" class="active">

    <li role="presentation" class="wftab">

    <div class="tab-content">

    <div role="tabpanel" class="tab-pane active" id="t1">

    <div class="panel panel-default">

    <span class="big">[STICKER]</span>

    <div class="panel-body">

    <div class="wrap">

    <h1>[TITLE-NOLINK]</h1>

    <span class="pull-right hidden-sm hidden-xs">[FAVS]</span>

    [TIMESINCE text_before="Posted "]

    <hr style="margin-top:10px;" />

    <ul class="list-inline">

    <li class="pull-right">[D_SOCIAL]

  • [RATING style=feedback readonly=1 results=1 text="Feedback"]
  • <hr />

    [IMAGES]

    <hr style="margin-bottom:10px;" />

    [INFOBAR]

    <hr />

    [BUYBAR]

    [D_FEEDBACK pid=""]

    </div>

    <div class="wrap" style="margin-top:20px;">

    <h2></h2>

    <hr />
    [CONTENT]
    </div>

    </div>
    </div>

    </div>

    <div role="tabpanel" class="tab-pane" id="t3">

    <div class="panel panel-default">
    <div class="panel-body">

    <h2></h2>

    <hr />
    <div class="wrap">
    [WORKFLOW]
    </div>

    </div>
    </div>

    </div>

    </div>
    </div>

    <div class="clearfix"></div>

    <script>
    jQuery(document).ready(function() {
    jQuery('#Tabs a[href="#t3"]').tab('show');
    jQuery('#b').collapse('show');
    });
    </script>

    <script>
    jQuery(document).ready(function() {
    jQuery('#Tabs a[href="#t3"]').tab('show');
    jQuery('#b1').collapse('show');
    });
    </script>


Josh
Josh
Super Guru
 
13,836 points

Please send in a ticket so we can take a closer look at the issue >>http://s.premiumpress.com/index.php?/Tickets/Submit


Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.