Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> In a menu include, you want to disable the link to the currently shown page

I’ve always just styled the link to the current page differently, not disabled it, which you can do with an id on the page and a line of CSS.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: