in reply to Free Nodelet Hack: Add parent & root links to nodes in 'Nodes You Wrote'
in thread Have parent 'Node ID' as link in 'Nodes You Wrote' node
Just one glitch in function goto_by_field():
requester.send(null);http://www.perlmonks.org/?parent=587896;node_i +d=3333
should be
requester.send(null);
<update>
in function show_ancestors_user_search()
container.innerHTML = ('' + '<a href="javascript:goto_root_of(' + id + ')" class="root_ +link">r</a>' + ' ' + '<a href="javascript:goto_parent_of(' + id + ')" class="par +ent_link">p</a>' + ' ' ); // anch.parentNode.insertBefore(container, anch.nextSibling); anch.parentNode.insertBefore(container, anch);
adds the links up front, marked 'r' and 'p', which imho makes a nicer formatting.
</update>
--shmem
_($_=" "x(1<<5)."?\n".q·/)Oo. G°\ / /\_¯/(q / ---------------------------- \__(m.====·.(_("always off the crowd"))."· ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
|
---|