tags:

views:

32

answers:

4

while movin the mouse near the parent tab it should show the all menus under that tab how can we do this in html

+1  A: 

You can't do this in HTML. You must use for it JavaScript and CSS (eg. jQuery or other AJAX library is good for it).

Svisstack
A: 

This might help you, but it used JavaScript as well Multi-Level Drop-Down Menu Script

Edit

Here is a better example, which uses JavaScript and HTML Flex Level Drop Down Menu (v1.1)

dkris
Don't working under Firefox 3.6.3 ;-(
Svisstack
@Svisstack Sorry, but I didn't bother to check it in IE. You could try the one in the EDIT i have made. It worked on IE8, Chrome and FF 3.6
dkris
+1  A: 

Nested lists, ie the <ul> and <li> tags, together with css :hover properties should be able to achieve this, but experience tells me to use one of the many easier options out there, with a dash of JS.

A good start is the suckerfish family - this gives you an idea of where to start, and is cross browser, and then move on to son of suckerfish.

There are many many ways to do this, but I've found these the simplest and most adaptable.

Kevin Sedgley
A: 

Try a beginners guide like this:

http://www.cssnewbie.com/easy-css-dropdown-menus/

only requires HTML skills and teaches you the CSS to do it as you go along. No javascript required!

princessmarisa