PHP Tab Navigation

Hi guys,

I’m implementing a small website (http://www.inmoaction.com/) in php (includes) and I want to use my tab menu as a breadbrumb trail so when my users click on any button, the sections will change their appearance in order to show where the user is.

I’m using a script and some CSS but it doesn’t work. I added the following script on every page:

and this is a summary of my CSS:

ol#toc a {
background: #bdf url(…/img/tabs.gif);
}

ol#toc a:hover span {
background-position: 100% -120px;
}

ol#toc a span {
background-position: 100% -240px;
}

The CSS Pseudo classes are using this image:

The problem consists of the code never displays the grey button.

Could someone kindly help me or recommend me other way to do it please?

Thanks

Sponsor our Newsletter | Privacy Policy | Terms of Service