in reply to mini thread navigation for perlmonks
doesn't work so well for me, I tried it on Why so much hate? , only original post(er) shows up, and that's easy without this contraption (HOME key)
My test code :)
javascript:(function(){ function addCss(src){var s=document.createElement('link'); s.setAt +tribute('rel','stylesheet'); s.setAttribute('type','text/css'); s.set +Attribute('src',src); document.getElementsByTagName('body')[0].append +Child(s); } function addScript(src){var s=document.createElement('script'); s. +setAttribute('src',src); document.getElementsByTagName('body')[0].app +endChild(s); } addScript('http://code.jquery.com/jquery-latest.js'); addScript("http://jquery-json.googlecode.com/files/jquery.json-2.2 +.min.js"); addScript('https://raw.github.com/perlpunk/mytools/master/perlmonk +s-js-css/threadnavi.js'); addCss('https://raw.github.com/perlpunk/mytools/master/perlmonks-j +s-css/perlmonks.css'); jQuery.fn.outerHTML = function() { return $('<div>').append( this. +eq(0).clone() ).html(); }; jQuery.fn.extend({ html2string: function() { return $('<div>').app +end(this.clone()).remove().html(); } }); })()
I guess its the CSS thats problematic, the thread_overview is hidden, so it can't be toggled -- and since there are no links can't use tab-select to navigate to >> to toggle it
Also, for this to be useful it has to float on screen, cause jumping to the end of page is irritatingand be draggable
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: mini thread navigation for perlmonks
by tinita (Parson) on Aug 06, 2013 at 23:35 UTC | |
by Anonymous Monk on Aug 07, 2013 at 03:03 UTC | |
by tinita (Parson) on Aug 07, 2013 at 07:31 UTC | |
by Anonymous Monk on Aug 07, 2013 at 08:37 UTC | |
by tinita (Parson) on Aug 17, 2013 at 21:22 UTC |