You are here: Re: Working with tabbed menus « HTML « IT news, forums, messages
Re: Working with tabbed menus

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация