How should I create this menu

  • Thread starter Thread starter Jeff
  • Start date Start date
J

Jeff

hi

asp.net 2.0

I've just received some graphics for the website I'm developing. The top
header on the page contains a logo and a menu. The menu is hardcoded into
the images. In the specifications it says that the background of the header
should change when a menuitem is selected. For example when selecting
menuitem #2 then display background color Green with background picture A,
when menuitem2 is selected, then display background color yellow with
background picture B.

That means that the header background color and logo etc is dependant on
what menuitem is selected.
The designer dude has created the images.

So I was thinking that when a menuitem is selected, instead of opening the
page directly I instead execute an event, in that event I change the
background color + image of the header and perform a server.transfer etc to
the desired page. But that is NOT waterproofed strategy, as I don't know how
to apply menuitems in this scenario. I think I instead should use ImageMap.
As the user will be clicking inside an already created image..

any suggestions? am I on the right track?
 
I was thinking of using standard Menu control in .NET 2.0, but not sure if
that control can be used here. Instead maybe use the image and depend on
ImageMap
 
It's been a while since I used the menu control. Probably going to use it in
my current project. Did you take a look at the menu events in the properties
window to see if any of them will fit your idea of what needs to happen? I
don't remember what events it has on it...
 
Back
Top