Add button to show/hide userlist
This commit is contained in:
parent
685358b0d8
commit
2c069c26b3
3 changed files with 26 additions and 2 deletions
|
|
@ -77,12 +77,21 @@ html, body {
|
|||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#usercount, #currenttitle {
|
||||
#usercountcontainer, #currenttitle {
|
||||
border: 1px solid #aaaaaa;
|
||||
border-bottom: none;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#usercount {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#ulistchevron {
|
||||
cursor: pointer;
|
||||
float: left;
|
||||
}
|
||||
|
||||
#plmeta {
|
||||
border: 1px solid #aaaaaa;
|
||||
background-color: #ffffff;
|
||||
|
|
|
|||
|
|
@ -149,6 +149,18 @@ if(!USEROPTS.hidevid) {
|
|||
firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
|
||||
}
|
||||
|
||||
$("#ulistchevron").click(function() {
|
||||
var state = $("#userlist").css("display");
|
||||
if(state == "none") {
|
||||
$("#userlist").show();
|
||||
$("#ulistchevron").removeClass().addClass("icon-chevron-up");
|
||||
}
|
||||
else {
|
||||
$("#userlist").hide();
|
||||
$("#ulistchevron").removeClass().addClass("icon-chevron-down");
|
||||
}
|
||||
});
|
||||
|
||||
var sendVideoUpdate = function() { }
|
||||
setInterval(function() {
|
||||
sendVideoUpdate();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue