Submitted by drori on Tue, 01/01/2013 - 04:55
while navigating the left menu, it's sometimes unclear where or how we got to where we are.
i suggest simple hack to highlight the current menu-item (add in the left frame's HEAD section)
<SCRIPT LANGUAGE="JavaScript" src="http://code.jquery.com/jquery-1.8.3.min.js"></script>
<SCRIPT LANGUAGE="JavaScript">
$(document).ready(function() {
$('.leftlink').click(function() {
$('.leftlink').css('background-color', 'transparent');
this.style.backgroundColor='orange';
})
})
</SCRIPT>
Status:
Active
Comments
Submitted by JamieCameron on Wed, 01/02/2013 - 18:31 Comment #1
I guess that could be added .. although if the user hit the back button to return to the previous page on the right frame, the highlight would no longer be correct.