Click here to Skip to main content
16,013,730 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
when we place mouse pointer on a tab automatically sub tabs will be displayed how it is possible ?
Posted
Comments
Steven.Pinto2000 5-May-11 4:04am    
it is possible through java script use style="display:none" to hide the tabs and to unhide the tabs use style="display:block" and use the onfocus funtion to do it
if i wud get the code i wud be able to give a solution to it more clearly

1 solution

There are several ways to achieve that.
the first way is using javascript : for example:
onmouseover="fn1(/*show the element*/)" onmouseout="fn2(/*hide the element*/)"

the second way is using css selector. : for example
ul > li
{
display:none;
}
ul:hover > li
{
display:block;
}
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900