Mapping a drop-down menu over an image

Posted by Pieter on Stack Overflow See other posts from Stack Overflow or by Pieter
Published on 2010-04-02T19:08:59Z Indexed on 2010/04/02 19:13 UTC
Read the original article Hit count: 265

Filed under:
|
|
|

I have a menu bar that is rotated slightly. Here are two buttons as an example:

Menu

As a result, I can't use regular HTML to handle this. I need to use a <map> to put hyperlinks over the menu parts. (Or am I missing a killer CSS feature I don't know about?)

I want to map drop-down menus to these buttons. This looks like a nice way to implement drop-down menus: http://javascript-array.com/scripts/simple_drop_down_menu/

However, this does not work on <map>s, I believe. Or am I wrong? Is there a different approach I can take to constructing drop-down menus for a menu bar that is not aligned horizontally?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about html