"floating" sidebars like esea's recent discussion bar on the left:
http://play.esea.net/
forum index similar to TL's: http://www.teamliquid.net/forum/
#number quoting (see F's comment):
http://news.esea.net/tf2/index.php?s=news&d=comments&id=11438#n1
mobile version of the site
"floating" sidebars like esea's recent discussion bar on the left:
http://play.esea.net/
forum index similar to TL's: http://www.teamliquid.net/forum/
#number quoting (see F's comment):
http://news.esea.net/tf2/index.php?s=news&d=comments&id=11438#n1
mobile version of the site
var lbar = $('#inner-col-left');
var rbar = $('#inner-col-right');
window.onscroll = function () {
var ylen = $(window).height();
if( rbar.height() > ylen || lbar.height() > ylen) {
lbar.css('position','static');
rbar.css('position','static');
lbar.css('top', 170);
rbar.css('top', 170);
}
else {
var offset = 170 - window.pageYOffset;
if(offset < 0)
offset = 0;
lbar.css('position','fixed');
rbar.css('position','fixed');
lbar.css('top', offset + "px");
rbar.css('top', offset + "px");
}
};
fml since the right bar is 727 pixels and my window is 726 pixels. at least i have my own greasemonkey script that forces it to float.
edit: actually, it'd be better to limit the number of streams. your old cfg didn't have a stream limit, but I think it'd be better to limit 10 streams or reduce others to 8 like community news.
[quote]
var lbar = $('#inner-col-left');
var rbar = $('#inner-col-right');
window.onscroll = function () {
var ylen = $(window).height();
if( rbar.height() > ylen || lbar.height() > ylen) {
lbar.css('position','static');
rbar.css('position','static');
lbar.css('top', 170);
rbar.css('top', 170);
}
else {
var offset = 170 - window.pageYOffset;
if(offset < 0)
offset = 0;
lbar.css('position','fixed');
rbar.css('position','fixed');
lbar.css('top', offset + "px");
rbar.css('top', offset + "px");
}
};
[/quote]
fml since the right bar is 727 pixels and my window is 726 pixels. at least i have my own greasemonkey script that forces it to float.
edit: actually, it'd be better to limit the number of streams. your old cfg didn't have a stream limit, but I think it'd be better to limit 10 streams or reduce others to 8 like community news.
put floating sidebars in
credit to brownymaster
put floating sidebars in
credit to brownymaster