add js to active

This commit is contained in:
wlx 2014-06-12 09:35:06 +00:00
parent 40f2fc8d04
commit 5259a56a9f
1 changed files with 4 additions and 1 deletions

View File

@ -15,4 +15,7 @@
}) })
}(window.jQuery) }(window.jQuery)
</script> </script>
<script>setPage();</script> <script>setPage();</script>
<?php if(!empty($this->pageID)) {?>
<script>$('#Nav-<?= $this->pageID?>').addClass("active");</script>
<?php } ?>