PDA

View Full Version : tabbed menu in css n javascript



gurmeet
12-02-2009, 09:31 AM
hi,
i want to make a horizontal tabbed menu i made a simple menu with the help of CSS and aligned them properly,

now what problem i am facing is that i used dark orange color for selected tab and light orange for unselected tab,
but i dont know how to preserve the selected color tab on selected page ?


.tab
{
background:lightcolor;
}

.select
{
background:darkorange;
}


home.html is selected page , i want home tab to b selected as dark orange color
when contactus.html is selected , contact tab must b dark orange