| 
	
 | 
 Posted by Matt White on 08/21/07 21:31 
On Aug 21, 3:15 pm, "ish...@gmail.com" <ish...@gmail.com> wrote: 
> Hi all, 
> 
> I'm working on putting a tabbed menu, with css formating, into the 
> pages of the site I'm working on. It is going well except for one 
> thing that has me puzzled. I want to have the same background color 
> for the active tab and pages while the inactive pages will be a 
> contrasting color. How do I get the tabs to recognize which page is 
> active? Right now I have the active tab hard coded not to be the same 
> color which works but isn't efficient for making updates. 
> 
> I don't need all the details just the proper vocabulary so I can find 
> the solution. 
> 
> Thanks, 
> Andy 
 
You can use JavaScript to set the background color of a particular 
element based on the page name...
 
  
Navigation:
[Reply to this message] 
 |