function JB_show_sub_menu($button) { $MM =& get_JBMenuMarkup_object(); if ($button['sub'] == false) { return; } $MM->sub_menu_open(); foreach ($button['sub'] as $item) { if ($item['label'] != '') { JB_show_sub_menu_item($item); } } $MM->sub_menu_close(); }
function JB_show_sub_menu($button) { ?> <div style="padding-bottom: 10px;"> <table style="margin: 0 auto; width:100%; border:0px; " cellpadding="0" cellspacing="0" id="subTabs"> <tr> <td> <?php if (sizeof($button['sub']) != 0) { foreach ($button['sub'] as $item) { if (JB_is_menu_item_visible($item)) { echo $nbsp_pipe; } JB_show_sub_menu_item($item); $nbsp_pipe = ' | '; } } ?> </td> <td width="1%" style="padding:0px;" valign="top"> <div class="subtab2"></div> </td> </tr> </table> </div> <?php }