$(".tab_content").hide(); $(".tab_content").hide (); //Hide all content
$("ul.tabs li:first").addClass("active").show(); li:first").addClass("active").show(); //Activate first tab
$(".tab_content:first").show(); $(".tab_content:first" ).show(); //Show first tab content
//On Click Event
$("ul.tabs li").click(function() {
$("ul.tabs li").removeClass("active"); //Remove any "active" cla ss
$(this).addClass("active"); $(this).addClass("acti ve"); //Add "active" class to selected tab
$(".tab_content").hide(); $(".tab_content").hide (); //Hide all tab content
var activeTab = $(this).find("a").attr("href"); //Find the href attribute value to identify the active tab + content
$(activeTab).fadeIn(); //Fade in the active ID content
return false;
});
});
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> Exemplu plan de afaceri restaurant
.ro/2012/02/'
<script type="text/javascript"> var popup_domination = {"defaults":[],"delay":0,"cookie_time":7,"center":"Y","co okie_path":"\/","show_opt":"mouseleave","unload_msg":"Would you like to signup t o the newsletter before you go?","impression_count":0,"output":"
ay:none\">\r\n\t