Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Navigate to OP while replying deep in a thread?

by Kanji (Parson)
on Oct 21, 2005 at 19:32 UTC ( #502106=note: print w/replies, xml ) Need Help??


in reply to Navigate to OP while replying deep in a thread?

You could use some JavaScript via Free Nodelet Settings or proprietary browser extension (eg Greasemonkey) to rewrite the 'Comment on' node.

<!-- Free Nodelet example. Replaces the preview of the comment's parent node with a preview of the parent AND its children. Extending it to preview the entire thread (eg, root and all children) left as an exercise to the reader and to those with better knowledge of JS and/or PM tickers. :-) --> <script language="javascript1.2"> var lb = "\x5B"; // PM doesn't like you using var rb = "\x5D"; // square-brackets directly var allDivs = document.getElementsByTagName('div'); var pNodes = document.getElementsByName('note_parent_node'); if (pNodes.length) { pNodeID = eval('pNodes' + lb + 0 + rb + '.value'); for (var i = 0; i < allDivs.length; i++) { var thisDiv = eval("allDivs" + lb + i + rb); if (thisDiv.className == 'preview') { var previewHtml = thisDiv.innerHTML.split(/<hr/); var previewForm = eval("previewHtml" + lb + 1 + rb); thisDiv.innerHTML = '<iframe name="nodeThread"' + ' src="/?replies=1;displaytype=print;node_id=' + pNodeID + '" width="100%" height="50%"></iframe><hr' + previewForm; } } } </script>

    --k.


Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://502106]
help
Chatterbox?
[marto]: I don't think their inability to make any sense is related to alcohol
[Discipulus]: their?
[karlgoethebier]: marto: "their inability.." Perhaps the result of a wrong education?
[karlgoethebier]: or no education?
[choroba]: their = his or her
[Discipulus]: anyway once I proposed an automatic font decrease for post below -1, stepping every 5 votes: i'm still thinks it's a good idea but dunno if feasible
[shmem]: ...emulated dual in english
[shmem]: Discipulus: has that been in the CB? or in a PM node proper? for the latter case, can you provide the ID?
[Discipulus]: you seriously can use their in this way in eng?
[Corion]: Meh. $effin_bad_system has an interface breakdown and then loads events in parallel with events overtaking one another instead of being processed sequentially

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (11)
As of 2017-05-23 08:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?