1.Make a selected class in Js file Example
2.Provide the Jquery Api on top
3. Use the class on each page like this
< script language="javascript">
$(document).ready(function(){
$(".topnav #menu li #idContactUs").attr("class","selected");
});
</script>
No comments:
Post a Comment