Click here to Skip to main content
13,055,047 members (53,129 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Dear Friends,

Am facing problem with Menu.

I have created a website in 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

.green #slatenav
left: 520px;
.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;
.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;}

This is my master page.

   <div class="green">
   <div id="slatenav">
    <li><a href="Home.aspx" onclick="Home_Click"><span>Home</span></a></li>

                 <li><a href="AboutUs.aspx" onclick="AboutUs_Click"><span>AboutUs</span></a></li>
                 <li><a href="OurVision.aspx" onclick="Our Vision_Click"><span> OurVision</span></a></li>
               <li><a href="OurMission.aspx" onclick="OurMission.aspx_Click"><span>Our Mission</span></a></li>
                <li><a href="ContactUs.aspx" onclick="ContactUs_Click" ><span>Contact Us</span></a></li>

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 28-Oct-12 23:45pm

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 29 Oct 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100