after clicking a menu it should get highlighted (to show user in which page they are in)for this i used jquery and its working well in js fiddle but when i use the same in my .master page of my asp.net website highlight function is not working .i added
src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js
also but still not working can anyone tell me where im going wrong?
//css// .highlight{ background-color:green; } #horizontalmenu ul { padding:1; margin:1; list-style:none; } #horizontalmenu li { float:left; position:relative; padding-right:100; display:block; border:4px solid #CC55FF; border-style:inset; } #horizontalmenu li:hover { float:left; position:relative; padding-right:100; display:block; border:4px solid #CC55FF; border-style:inset; background:yellow; } #horizontalmenu li ul { display:none; position:absolute; } #horizontalmenu li:hover ul{ display:block; background:red; height:auto; width:8em; } #horizontalmenu li ul li{ clear:both; border-style:none;}
9 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jaganathan BantheswaranPosted Dec 23, 2013, 5:12 AM
Jaganathan BantheswaranPosted Dec 23, 2013, 7:36 AM
deepa ashwiPosted Dec 23, 2013, 6:05 AM
Jaganathan BantheswaranPosted Dec 23, 2013, 5:30 AM
deepa ashwiPosted Dec 23, 2013, 5:28 AM
deepa ashwiPosted Dec 23, 2013, 4:07 AM
Jaganathan BantheswaranPosted Dec 23, 2013, 4:05 AM
deepa ashwiPosted Dec 23, 2013, 3:37 AM
the following is my master page:
Jaganathan BantheswaranPosted Dec 23, 2013, 2:25 AM