Add a way of seeing other users' chatter
.author {
font-weight: bold;
}
+
+#usercontrols {
+ font-weight: bold;
+}
<img src="/images/blerglogo.png" class="logo" width="125" height="122">
<h1><a href="/">Blërg!</a></h1>
<h2><span name="section">Welcome</span></h2>
+ <div id="usercontrols" style="display:none"><a href="#" name="user.reflink">[chatter]</a></div>
</div>
<div id="controls">
<form style="font-size: small" id="login" onsubmit="loginStatus.login($('login.username').value, $('login.password').value); return false">
items.show();
$('rss').show();
$('rsslink').href = '/rss/' + this.username;
+ $$('[name=user.reflink]').each(function(e) {
+ e.href = '/#ref/' + this.username;
+ }.bind(this));
+ $('usercontrols').show();
}
User.prototype.loadItems = function(from, to) {
$('newer_link').hide();
$('rss').hide();
items.show();
+ $('usercontrols').hide();
}
function postPopup() {
$('older_link').hide();
$('welcome').show();
$('rss').hide();
+ $('usercontrols').hide();
loadLatest();
}
}