I have a menu bar that create in html and css. When first load my wbsite then home is selected active and when user click on other tab then change color of selected tab item.
I have following code of html .
How can implement javascript code ?
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Dipankar BiswasRank #992 · 2K reputationPosted Aug 7, 2014, 9:19 PM EDT
your best tutorial....
HTML
http://www.w3schools.com/html/
CSS
http://www.w3schools.com/css/default.asp
JAVASCRIPT
http://www.w3schools.com/js/default.asp
Sanjay KumarRank #561 · 4.3K reputationPosted Aug 7, 2014, 9:28 PM EDT
jquery menu bar
http://cssmenumaker.com/menu/cherry-responsive-menu
http://www.c-sharpcorner.com/UploadFile/47548d/master-pages-in-Asp-Net/
kalu singh raoRank #884 · 2.4K reputationPosted Aug 7, 2014, 10:12 PM EDT
shailesh parmar67 reputationPosted Jan 21, 2015, 8:43 PM EST
i have some code you can used it will be work ok
first you can add this code in your style.css or you used .css file
body#home a#homenav,
body#aboutus a#aboutusnav,
body#products a#productsnav,
body#services a#servicesnav,
body#contactus a#contactusnav {
color: #68a4c4;
background: #fff;
}
and then you can write this html code for every html page in your site
and then last this is navebar and menu code for _layout page