Additional Info |
---|
Type
|
Package ID
Shadav:Tabbed_Profile
|
First Created
October 12, 2020, 12:20:54 AM
|
Last Updated
October 28, 2021, 06:51:54 PM
|
<ul class="tab-links">
<li class="active"><a href="#tab1">', $txt['userinfo'], '</a></li>
<li><a href="#tab2">', $txt['summary'], '</a></li>
<li><a href="#tab3">', $txt['signature'], '</a></li>
</ul>
so you'd add<li><a href="#tab4">NEW MENU NAME GOES HERE</a></li>
and then wrap the modification into a tab<div id="tab4" class="tab">
MODIFICATION GOES HERE
</div> <!-- #tab4 -->
if you want it to match and have the cat bar you would do<div id="tab4" class="tab">
<div class="cat_bar">
<h3 class="catbg">
<span class="ie6_header floatleft"><img src="', $settings['images_url'], '/icons/info.gif" alt="NEW MENU NAME GOES HERE" class="icon" />NEW MENU NAME GOES HERE</span>
</h3>
</div>
<div class="windowbg2">
<span class="topslice"><span></span></span>
<div class="content">
MODIFICATION GOES HERE
</div></div>
</div> <!-- #tab4 -->
change info.gif to whatever image you want to use</div> <!-- #tab3 -->
<li class="active"><a href="#tab1">', $txt['userinfo'], '</a></li>
to<li><a href="#tab1">', $txt['userinfo'], '</a></li>
<li><a href="#tab2">', $txt['summary'], '</a></li>
to<li class="active"><a href="#tab2">', $txt['summary'], '</a></li>
<div id="tab1" class="tab active">
to<div id="tab1" class="tab">
<div id="tab2" class="tab">
to<div id="tab2" class="tab active">
// Show/Hide Tabs
jQuery('.tabs ' + currentAttrValue).show().siblings().hide();
// Show/Hide Tabs
jQuery('.tabs ' + currentAttrValue).fadeIn(400).siblings().hide();
// Show/Hide Tabs
jQuery('.tabs ' + currentAttrValue).siblings().slideUp(400);
jQuery('.tabs ' + currentAttrValue).delay(400).slideDown(400);
// Show/Hide Tabs
jQuery('.tabs ' + currentAttrValue).slideDown(400).siblings().slideUp(400);