Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Node parents shown while viewing a node

by SuicideJunkie (Vicar)
on Sep 26, 2007 at 13:32 UTC ( [id://641146]=note: print w/replies, xml ) Need Help??


in reply to Re: Node parents shown while viewing a node
in thread Node parents shown while viewing a node

The point is not highlighting new nodes, but viewing the context of a reply.

Personally I think it could be useful, but would end up being counterintuitive unless the selected/viewed post is highlighted differently from its parent and children. Otherwise you'd think you might have clicked on the wrong link.

  • Comment on Re^2: Node parents shown while viewing a node

Replies are listed 'Best First'.
Re^3: Node parents shown while viewing a node
by eric256 (Parson) on Sep 26, 2007 at 15:24 UTC

    What I do is click on the root node that has new replies, then look through the node for the highlighted replies. Works pretty good for me. I usualy choose the root node if i don't remember the conversation, or if i do remember the conversation then I click a node two or three levels above the newest one so that I get some context. This works pretty good for me.


    ___________
    Eric Hodges
Re^3: Node parents shown while viewing a node
by jdporter (Paladin) on Sep 26, 2007 at 15:20 UTC

    You know how to view the context of a reply. View its parent or grandparent. Yes, that will show the siblings, etc., which you didn't want to see; but at least the new nodes — the ones you're interested in — will be highlighted.

    A word spoken in Mind will reach its own level, in the objective world, by its own weight
      I agree with you and that's what i did.

      It was just a "cosmetic" suggestion. I just wonder if someone considered it a nice addition or a bad one (the parents chain can be misleading i know).

      Then probably it's up to pmdev to decide if it's worth to implement or not; probably based on the replies here and the time required to do it.

      Oha

        OK, just for you: Put the following code in your Free Nodelet:

        <!-- the HTML: --> Hide old replies: <input name="hide_old_replies" id="hide_old_replies" + type="checkbox" onClick="toggle_old_replies()" /> <!-- the JS: --> <script language="javascript"><!-- function toggle_old_replies(){ var chk = document.getElementById('hide_old_replies'); var state = chk.checked ? 'none' : 'table-cell'; var allelems = document.all ? document.all : document.getElement +sByTagName("*"); var inc = 0; for ( i = 0; i < allelems.length; i++ ) { if ( allelems[i].className == "reply-body" ) { allelems[i].style.display = state; } } } //--></script>

        This only toggles the visibility of the bodies of "old" replies; the header boxes etc. for old replies remain visible. Hopefully that's sufficient for your desires.

        Thanks to tye for applying the patch I wrote to make this possible.

        A word spoken in Mind will reach its own level, in the objective world, by its own weight

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://641146]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-18 23:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found