| ez |
|
|---|---|
|
For what i understand...
You can use Jquery to do just that...
1) make a class in your css called mhover-a with your ( background-position: 0 -53px; ) hover specs
<script type="text/javascript">
var pagelocation="{LIST_CAT}";
</script>
3) in your footer.tpl add a bit javascript:
$(document).ready(function() {
$('#navigation').children().removeClass('mhover-a');
if (typeof pagelocation === "string") {
$('#navigation').find('#'+pagelocation).addClass('mhover-a');
}
});
4) make sure your menu id's are the same as the LIST_CAT
If you use pages... add step 2 on the page.tpl.. and pagelocation={PAGE_ALIAS} or maybe the id Hope i did not forget anything here.... this was a quick search for your answer ==- I say: Keep it EZ -==
|