Click here to Skip to main content
15,892,737 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Dear Friends,

Am facing problem with Menu.

I have created a website in asp.net c# and used Css , style sheets.

my requirement is, when i select particular page from menu..MOUSE OVER Should stay on that particular page. so that user can understand that he is on this page.

This is my style sheet css
CSS
.green #slatenav
{position:relative;
 display:block;
 height:42px;
 font-size:12px;
 font-weight:bold;
 width:50%;
 background-color:#EFCC00;
font-family:Arial,Verdana,Helvitica,sans-serif;
top:0px;
left: 520px;
width:570px;
}

.green #slatenav ul{margin:0px;padding:0;list-style-type:none;width:auto; }
.green #slatenav ul li{display:block;float:left;margin:0 1px 10px 8px;}
.green #slatenav ul li a{display:block;float:left;color:#197E46;text-decoration:none;padding:14px 10px 0 10px;height:28px;

 -moz-border-radius:20px;}

.green #slatenav ul li a:hover,.green #slatenav ul li a.current
{color:#fff;background:transparent url(images/greenslate_backgroundOVER.gif) no-repeat top center;}


.green #slatenav
{position:relative;
 display:block;
 height:42px;
 font-size:12px;
 font-weight:bold;
 width:50%;
 background-color:#EFCC00;
font-family:Arial,Verdana,Helvitica,sans-serif;
top:0px;
left: 520px;
width:570px;
}

.green #slatenav ul{margin:0px;padding:0;list-style-type:none;width:auto; }
.green #slatenav ul li{display:block;float:left;margin:0 1px 10px 8px;}
.green #slatenav ul li a{display:block;float:left;color:#197E46;text-decoration:none;padding:14px 10px 0 10px;height:28px;

 -moz-border-radius:20px;}

.green #slatenav ul li a:hover,.green #slatenav ul li a.current
{color:#fff;background:transparent url(images/greenslate_backgroundOVER.gif) no-repeat top center;}

So, please help me, If i Mouse over on this pages, it must stay mouse over till the user goes for another page.

Thanks in Advance...................
Posted
Updated 30-Oct-12 16:58pm
v2
Comments
AshishChaudha 31-Oct-12 0:51am    
Insufficient information, could not understand "Mouse over on this pages, it must stay mouse over till the user goes for another page."
Raghuveer Kasyap 31-Oct-12 0:59am    
What should happen. Either the Page has to be displayed on MouseOver on to the MenuItem or it should like displaying the preview of the page that should display once you click on the MenuItem

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