The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Repair statistic tab.

3 posters

Go down

Repair statistic tab. Empty Repair statistic tab.

Post by Kartex July 21st 2013, 9:28 pm

CSS:
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:
Repair statistic tab. 1dgw5

How do you be completed to appear and content2 content3 content1
Kartex
Kartex
New Member

Posts : 10
Reputation : 1
Language : Romanian

Back to top Go down

Repair statistic tab. Empty Re: Repair statistic tab.

Post by Kartex July 22nd 2013, 9:30 am

bump.
Kartex
Kartex
New Member

Posts : 10
Reputation : 1
Language : Romanian

Back to top Go down

Repair statistic tab. Empty Re: Repair statistic tab.

Post by Kartex July 22nd 2013, 8:55 pm

Someone?I need urgently
Kartex
Kartex
New Member

Posts : 10
Reputation : 1
Language : Romanian

Back to top Go down

Repair statistic tab. Empty Re: Repair statistic tab.

Post by SLGray July 22nd 2013, 8:59 pm

Kartex wrote:bump.

Kartex wrote:Someone?I need urgently
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!


Repair statistic tab. Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51489
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Repair statistic tab. Empty Re: Repair statistic tab.

Post by levy July 23rd 2013, 12:06 am

And what is the error ,because you don't have background ?

Try this tutorial : http://fmsoftware.quickbb.com/t27-organic-tabs
levy
levy
Hyperactive

Male Posts : 2632
Reputation : 350
Language : English, Romanian
Location : Romania

https://portofolio.goodforum.net/

Back to top Go down

Repair statistic tab. Empty Re: Repair statistic tab.

Post by Kartex July 23rd 2013, 9:15 am

You can make my code work?
To appear in a content1, 2, 3
Kartex
Kartex
New Member

Posts : 10
Reputation : 1
Language : Romanian

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum