'', 'class' =>'', 'title_color' =>'', 'style' =>'', ), $args ); extract( $defaults ); self::$args = $defaults; $uniqid = uniqid('tabs-'); $this->id = $id.$uniqid; $this->num = 1; $this->item_tital=''; $this->colorid = uniqid('tab'); $items_content = do_shortcode(Magee_Core::fix_shortcodes($content)); $txtsty1=''; $tab_content_class = ''; switch($style) { case 'simple': $class .=' tab-line '; $txtsty1 = ' list-inline '; break; case 'simple justified': $class .=' tab-line '; $txtsty1 = ' list-inline nav-justified '; break; case 'button': $class .=' tab-pills '; $txtsty1 = ' nav nav-pills '; break; case 'button justified': $class .=' tab-pills '; $txtsty1 = ' nav nav-pills nav-justified'; break; case 'normal': $class .=' tab-normal '; $txtsty1 = ' nav nav-tabs '; break; case 'normal justified': $class .=' tab-normal '; $txtsty1 = ' nav nav-tabs nav-justified'; break; case 'vertical': $class .=' tab-normal tab-vertical tab-vertical-left clearfix '; $txtsty1 = ' nav nav-tabs nav-stacked pull-left '; $tab_content_class = 'pull-left'; break; case 'vertical right': $class .=' tab-normal tab-vertical tab-vertical-right clearfix '; $txtsty1 = ' nav nav-tabs nav-stacked pull-right '; break; } $textstyle = ' .'.$this->colorid.', .'.$this->colorid.' i{color:'.$title_color.'}'; $styles = sprintf( '', $textstyle); $html= $styles.'
'.do_shortcode( Magee_Core::fix_shortcodes($content)).'