Clear questions and runnable code
get the best and fastest answer
mini thread navigation for perlmonksby tinita (Parson)
|on Aug 06, 2013 at 13:22 UTC||Need Help??|
Recently I added a feature for our forum at http://www.perl-community.de.
The forum is threaded like perlmonks.
However, in long discussions, when there are a lot of new articles, you still can lose track.
You can click on an author, and it will automatically scroll to the selected article.
When a scroll event happens, the currently visible articles in the window are marked in the mini navigation with a grey bar.
I now wrote a perlmonks version of it which you can use by activating the js file (and jquery-2.x.*) and the css file in your browser (user js/css, greasemonkey, ...).
You can download the files here: https://github.com/perlpunk/mytools/tree/master/perlmonks-js-css
Comments, bug reports? Do you find it useful?
Edit: todo: add configurable shortcut for toggling navi; remember status of navi with localStorage