I'm sorry, but I don't know how you did that ...
I found something else, but it doesn't work as I want to.
I added the following code to the CSS:
CODE
#tabsJ a:active {
background-position:0% -42px;
border-top: none;
}
#tabsJ a:active span {
background-position:100% -42px;
}
#tabsJ a.ITEM_ON {
background-position:0% -42px!important;
border-top: none!important;
}
#tabsJ a.ITEM_ON span{
background-position:100% -42px!important;
color:#FFF;
}
Then, with JavaScript, make it change when clicked on the link...
CODE
<script>
function changeClass(obj) {
var ppUl=obj.parentNode.parentNode;
var pLi=obj.parentNode;
var lis=ppUl.getElementsByTagName('LI');
for (var i=0; i<lis.length; i++) {
var lnk=lis[i].getElementsByTagName('A')[0];
if (lnk!=obj) {
lnk.className='';
}
}
obj.className='ITEM_ON';
}
</script>
And then added an onClick parameter in the link:
CODE
<ul>
<!-- CSS Tabs -->
<li><a href="#" onClick="changeClass(this);"><span>Home</span></a></li>
<li><a href="index.php?p=forum" onClick="changeClass(this);"><span>Forum</span></a></li>
</ul>
Now, this works 100% when there is '#' in the 'href' (1st link in the code above)
but when I change it to my own link (2nd link in the code above), then it doesn't work ...
That's probably because I'm leaveing the page, but I thout it should work, because I include the pages...
I stay in index.php
I don't know how to solve this ...
And yeah, the tabs are not only with colors
they are with images as you can see

thanks for your reply ...
I thought nobody would reply to this
This post has been edited by dinci5: 27 Feb, 2008 - 01:33 PM