Re: Extra CSS for "new nodes" when viewing a thread
by Fletch (Bishop) on Aug 22, 2007 at 16:27 UTC
|
Or just add on an extra class (e.g. class="reply new") and augment rather than replace the existing ones. That way you don't screw over someone with existing styling by making the underlying class "disappear".
| [reply] |
Re: Extra CSS for "new nodes" when viewing a thread
by eric256 (Parson) on Aug 23, 2007 at 22:06 UTC
|
.reply { background-color: rgb(180, 180, 255); }
.reply-new { background-color: rgb(255, 180, 180); }
When viewing a node, replies that are on your newest nodes will be marked with .reply-new.
Update: After rereading i thin this is exactly what you where asking for.
| [reply] [d/l] |
|
|
It is! You've just made my day :-)
| [reply] [d/l] |
|
|
Perhaps you should have done more research before posting then, and will now donate your XP to a good cause.
| [reply] |
|
|
| [reply] |
|
|
| [reply] |
|
|
Monktastic!!! Thanks eric256. Have a very belated++
| [reply] [d/l] [select] |
Re: Extra CSS for "new nodes" when viewing a thread
by almut (Canon) on Aug 22, 2007 at 16:51 UTC
|
| [reply] |
|
|
| [reply] |
|
|
Although.... we could cheat.
My typical usage of the site is to find the new posts on Recently Active Threads and then click through to them (or their parents).
We could do the same as Holli suggested for RAT/NN and, if the user has a "time of last visit" set, add a class to the posts on that page that are newer.
It clearly wouldn't work for older threads found on (eg) Seekers of Perl Wisdom, but it wouldn't hurt either. For common usage, it would be fine. And cheap.
Clint
| [reply] |
|
|
Ah... thanks for clearing this up, tye. Obviously, my reading of
holli's suggestion was strongly influenced by what I would
like to see implemented... :) Sorry for the confusion.
Anyhow, any improvement along these lines would be greatly welcome,
as what I currently typically do to handle such high-traffic threads is
to click on the (assumably new) "Re^N:"-subthreads in Recently Active Threads, and then -
because I need some more context - click on the parent node link once or
twice. Presuming I'm not the only one doing it this way, this is not only cumbersome to handle, but also
creates a lot of unnecessary requests to the server. —
But of course, I respect the decisions of whoever would have the
trouble implementing the changes.
| [reply] |
|
|
Tracking time of last visit on the server side would be hefty, but as I say below if there were a thread last updated item hidden in the HTML javascript could be used to handle this in a cookie on the browser side. Even if just using greasemonkey.
- Ant
- Some of my
best work - (1 2 3)
| [reply] |
Re: Extra CSS for "new nodes" when viewing a thread
by Gavin (Archbishop) on Aug 22, 2007 at 17:37 UTC
|
tye has intimated that the overheads would be too great to implement this server side, could it not then be implemented client side through a script? | [reply] |
|
|
Actually... if on pages like newest nodes the html held the last updated thread time then it would be easy to either have javascript on the PM or use GreaseMonkey to store the last time you visited a node... then highlight those that have been updated since you last visit. Should be almost no extra work on the server side. Would be a nice option.
- Ant
- Some of my
best work - (1 2 3)
| [reply] |
|
|
That's what I was thinking. Every time you visit a node, couldn't you store the nodes below it locally and if you revisit a node base your CSS on your own data of read nodes? Seems like something that could be hacked together using GreaseMonkey or a Firefox extention.
Revolution. Today, 3 O'Clock. Meet behind the monkey bars.
I would love to change the world, but they won't give me the source code
| [reply] |
|
|
Read before you speak ;-)
| [reply] |
|
|
Read before you speak ;-)
Sorry Holli, but could you please explain what you mean by this?
Maybe Gavin understands (or not), but as one of the gallery following along, I do not see any context in this thread that explains what he should have read before speaking?
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
| [reply] |
|
|
|
|
|
Re: Extra CSS for "new nodes" when viewing a thread
by jdporter (Paladin) on Aug 22, 2007 at 18:51 UTC
|
RAT emphasizes posts younger than one hour with bold.
Is that the sort of thing you're thinking of? If so, perhaps something similar could
be done in NN.
A word spoken in Mind will reach its own level, in the objective world, by its own weight
| [reply] |
|
|
No.
What I am thinking of is to make it possible to "visually emphasize" those nodes that are listed in Recent Threads or Newest Nodes when you look at/read a thread.
| [reply] |
Re: Extra CSS for "new nodes" when viewing a thread
by bart (Canon) on Aug 23, 2007 at 10:33 UTC
|
Excellent idea. Actually, seeing this node in Best Nodes of the Day, I was kind of hoping that it was an announcement of an implemented feature on the site. Ah... :)
I am thinking that we could inherit the age indication CSS classes, for each node, from Recently Active Threads. The user could then decide for himself exactly how he wants it to look. | [reply] |
Re: Extra CSS for "new nodes" when viewing a thread
by ysth (Canon) on Aug 23, 2007 at 04:14 UTC
|
So far your only choices are to open the OP, read over the replies and mentally parse "did I already read that?", or to open the new nodes one after another.
Or vote on every node in a thread.
| [reply] |
Re: Extra CSS for "new nodes" when viewing a thread (more)
by tye (Sage) on Aug 23, 2007 at 05:20 UTC
|
Since I no longer use "I've checked all of these", it'd be nice to have a user setting for how recent is considered "fresh"1 when your "last checked" timestamp is unset. But trying to pick the default for such a setting I vacillate between "1 hour" and "12 hours", then think something more complex is called for, and finally come back to just a simple "1 hour" default for a simple user setting.
1 which is the name I'd give to the style that would be applied to notes that are "new enough"
I'd have the user setting be measured in hours but allow decimal values such as 0.1. No, FYI, I'm not writing any of this. If there ends up being a user setting, then there should also be some default CSS. But maybe none of that should be in the first version implmented.
| [reply] |
|
|
| [reply] |