Repair statistic tab.
3 posters
Page 1 of 1
Repair statistic tab.
CSS:
HTML:
Error:
How do you be completed to appear and content2 content3 content1
- Code:
<style type="text/css">
#tabswitch{font-family:Arial;font-size:12px;}
#tabswitch ul{list-style:none;margin:0;padding:0;clear:both;height:27px;}
#tabswitch ul li{float:left;margin:0;padding:5px;width:100px;border:solid 1px #EFEFEF;border-bottom:solid 1px #ffffff;cursor:pointer;}
#tabswitch ul li.active{background-color:#EFEFEF;border-bottom:solid 1px #EFEFEF}
#tabswitch ul li:hover{font-weight:bold;}
#tabswitch .tab-container{border:solid 1px #EFEFEF;padding:10px;background-color:#EFEFEF;display:none;}
</style>
<script type="text/javascript">
jQuery(document).ready(function() {
jQuery("#tabswitch ul li:first").addClass("active");
jQuery("#tabswitch div.tab-container:first").show();
jQuery("#tabswitch ul li").click(function(){
jQuery("#tabswitch div.tab-container").hide();
jQuery("#tabswitch ul li").removeClass("active");
var tab_class = jQuery(this).attr("class");
jQuery("#tabswitch div." + tab_class).show();
jQuery("#tabswitch ul li." + tab_class).addClass("active");
})
});
</script>
HTML:
- Code:
<div id="tabswitch">
<ul>
<li class="tab1">Tab 1</li>
<li class="tab2">Tab 2</li>
<li class="tab3">Tab 3</li>
</ul>
<div class="tab-container tab1">
Content for Tab 1
</div>
<div class="tab-container tab2">
Content for Tab 2
</div>
<div class="tab-container tab3">
Content for Tab 3
</div>
</div>
Error:
How do you be completed to appear and content2 content3 content1
Kartex- New Member
- Posts : 10
Reputation : 1
Language : Romanian
Re: Repair statistic tab.
Someone?I need urgently
Kartex- New Member
- Posts : 10
Reputation : 1
Language : Romanian
Re: Repair statistic tab.
Kartex wrote:bump.
Please don't double/triple post. Your post need to be separated by 24 hours before bumping, replying or adding more information. Please use the edit button instead!Kartex wrote:Someone?I need urgently
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Repair statistic tab.
And what is the error ,because you don't have background ?
Try this tutorial : http://fmsoftware.quickbb.com/t27-organic-tabs
Try this tutorial : http://fmsoftware.quickbb.com/t27-organic-tabs
Re: Repair statistic tab.
You can make my code work?
To appear in a content1, 2, 3
To appear in a content1, 2, 3
Kartex- New Member
- Posts : 10
Reputation : 1
Language : Romanian
Similar topics
» how can i repair my forum
» FORUM STRETCHING! CANT REPAIR! HELP PLEASE!!
» Backup repair HTML errors
» lying about statistic
» example for affiliate under statistic
» FORUM STRETCHING! CANT REPAIR! HELP PLEASE!!
» Backup repair HTML errors
» lying about statistic
» example for affiliate under statistic
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum