.SelectedTab a { color: #ffffff !important;}.UnSelectedTabMo a { color: #ffcc00 !important;}
a:link, a:visited { color: #ffcc00; text-decoration: none; }a:hover { color: #ffffff; text-decoration: none; }a:active { color: #ccc00; text-decoration: none; }
Javascript/jQuery
Control Panel > Site Style > Navigation Type > Horizontal Tab Bar
<script type="text/javascript">$(document).ready(function() {$(".Tab").each(function (){ var tabName = $(this).find(".topTabLink").html(); var tabName2 = tabName.replace(" ","_"); var tabType = $(this).find("div").attr("class"); var tabLink = $(this).find(".topTabLink").html("").parent().html(); $(this).attr("id","tab_" + tabName2).html("<div></div>"); $(this).find("div").wrap(tabLink); if (tabType == "UnSelectedTab") { var tabMovr = "tabH_" + tabName2; var tabMout = "tabU_" + tabName2; var tabUsel = "tabU_" + tabName2; $(this).find("div").addClass(tabUsel) .mouseover(function(){$(this).removeClass(tabUsel).addClass(tabMovr)}) .mouseout(function(){$(this).removeClass(tabMovr).addClass(tabUsel)}); } else { var tabSel = "tabS_" + tabName2; $(this).find("div").addClass(tabSel); } if ($(this).find("div").css("background-image") == "none") { $(this).find("div").html(tabName); }});});</script>
Control Panel > Site Style > Navigation Type > Content Box - Left, Center or Right Side
<script type="text/javascript">$(document).ready(function() { $(".sideNavLink").parent().parent().addClass("sideMenu"); $(".sideNavLink").each(function (){ var tabLink = $(this).attr("href"); if (tabLink.match("Guild.aspx")) { var currentURL = window.location.href; var currentTab = gup('TabID',currentURL); var currentGID = gup('GuildID',currentURL); var tabName = $(this).html().replace(" ","_"); if (currentGID == gup('GuildID',tabLink) && currentTab == gup('TabID',tabLink)) { var tabType = "tabS_"; var tabMovr = "tabS_" } else { var tabType = "tabU_"; var tabMovr = "tabH_" } tabType += tabName; tabMovr += tabName; $(this).html("<div>"+tabName+"</div>"); $(this).find("div").addClass(tabType) .mouseover(function() {$(this).removeClass(tabType).addClass(tabMovr)}) .mouseout(function() {$(this).removeClass(tabMovr).addClass(tabType)}); if ($(this).find("div").css("background-image") != "none") { $(this).find("div").html(""); } } })});function gup(name, myString) { name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]"); var regexS = "[\\?&]"+name+"=([^&#]*)"; var regex = new RegExp( regexS ); var results = regex.exec( myString ); if( results == null ) return ""; else return results[1];}</script>
What the HTML looks like
The CSS
.tabH_Home {background: url(http://i201.photobucket.com/albums/aa236/Mottie1/guildsite/tabs/home-h.png) no-repeat; height:34px; width:100px; }.tabU_Home {background: url(http://i201.photobucket.com/albums/aa236/Mottie1/guildsite/tabs/home-u.png) no-repeat; height:34px; width:100px;}.tabS_Home {background: url(http://i201.photobucket.com/albums/aa236/Mottie1/guildsite/tabs/home-s.png) no-repeat; height:34px; width:100px;}.tabH_Forums {background: url(http://i201.photobucket.com/albums/aa236/Mottie1/guildsite/tabs/forums-h.png) no-repeat; height:34px; width:100px;}.tabU_Forums {background: url(http://i201.photobucket.com/albums/aa236/Mottie1/guildsite/tabs/forums-u.png) no-repeat; height:34px; width:100px;}.tabS_Forums {background: url(http://i201.photobucket.com/albums/aa236/Mottie1/guildsite/tabs/forums-s.png) no-repeat; height:34px; width:100px;}.tabH_Voting {background: url(http://i201.photobucket.com/albums/aa236/Mottie1/guildsite/tabs/voting-h.png) no-repeat; height:34px; width:100px;}.tabU_Voting {background: url(http://i201.photobucket.com/albums/aa236/Mottie1/guildsite/tabs/voting-u.png) no-repeat; height:34px; width:100px;}.tabS_Voting {background: url(http://i201.photobucket.com/albums/aa236/Mottie1/guildsite/tabs/voting-s.png) no-repeat; height:34px; width:100px;}.tabH_Calendar {background: url(http://i201.photobucket.com/albums/aa236/Mottie1/guildsite/tabs/calendar-h.png) no-repeat; height:34px; width:100px;}.tabU_Calendar {background: url(http://i201.photobucket.com/albums/aa236/Mottie1/guildsite/tabs/calendar-u.png) no-repeat; height:34px; width:100px;}.tabS_Calendar {background: url(http://i201.photobucket.com/albums/aa236/Mottie1/guildsite/tabs/calendar-s.png) no-repeat; height:34px; width:100px;}.tabH_Roster {background: url(http://i201.photobucket.com/albums/aa236/Mottie1/guildsite/tabs/roster-h.png) no-repeat; height:34px; width:100px; }.tabU_Roster {background: url(http://i201.photobucket.com/albums/aa236/Mottie1/guildsite/tabs/roster-u.png) no-repeat; height:34px; width:100px;}.tabS_Roster {background: url(http://i201.photobucket.com/albums/aa236/Mottie1/guildsite/tabs/roster-s.png) no-repeat; height:34px; width:100px;}.tabH_Bank {background: url(http://i201.photobucket.com/albums/aa236/Mottie1/guildsite/tabs/bank-h.png) no-repeat; height:34px; width:100px; }.tabU_Bank {background: url(http://i201.photobucket.com/albums/aa236/Mottie1/guildsite/tabs/bank-u.png) no-repeat; height:34px; width:100px;}.tabS_Bank {background: url(http://i201.photobucket.com/albums/aa236/Mottie1/guildsite/tabs/bank-s.png) no-repeat; height:34px; width:100px;}.tabH_Chat {background: url(http://i201.photobucket.com/albums/aa236/Mottie1/guildsite/tabs/chat-h.png) no-repeat; height:34px; width:100px; }.tabU_Chat {background: url(http://i201.photobucket.com/albums/aa236/Mottie1/guildsite/tabs/chat-u.png) no-repeat; height:34px; width:100px;}.tabS_Chat {background: url(http://i201.photobucket.com/albums/aa236/Mottie1/guildsite/tabs/chat-s.png) no-repeat; height:34px; width:100px;}.tabH_Mail {background: url(http://i201.photobucket.com/albums/aa236/Mottie1/guildsite/tabs/mail-h.png) no-repeat; height:34px; width:100px; }.tabU_Mail {background: url(http://i201.photobucket.com/albums/aa236/Mottie1/guildsite/tabs/mail-u.png) no-repeat; height:34px; width:100px;}.tabS_Mail {background: url(http://i201.photobucket.com/albums/aa236/Mottie1/guildsite/tabs/mail-s.png) no-repeat; height:34px; width:100px;}
.TabBar {background: transparent url(); color:#ffffff; margin:auto; width:10%;}.Tab {padding-left:5px;}
#tab_Welcome { display:none; }
.sideMenu {background: transparent url(); margin-top:20px; margin-left:10px;}.tab {margin-left:10px; margin-bottom:0px;}.sideMenu li {list-style-type: none; margin:-2px; padding:0px; width:0px;}html>body .sideMenu li {margin:0px;} /* hack for non-IE */
width:1300px; /* <- adjust width of the custom tab bar here */