asp.net - Display different header depending on page selected -


I have an asp.net website with 5 items (home, product, news, contacts, contacts) on main horizontal navigation

.

The site uses a master page that uses the page

using a header, body and footer, I want to be able to display a different header I am (depending on the different colors and images) depending on which one of the 5 navigation items has been selected.

Can a page tell the best way to get the download without any thought?

Net, HTML, CSS, Javascript and VB but I'm not an expert.

I might have a base CSS class, which they all use, and then in the AP_themes directory Create 5 different topics (if you do not have one, create one), one for each NAV option; There, you can override base CSS with more specific options to change background images / colors. If you are using ASP: Images (instead of background images with CSS), then you can change the source using the .theme file in each theme. In this way, you will only download the relevant files, you will have to change the page on Page.Init.


Comments