Skip to content

Instantly share code, notes, and snippets.

@devniel
Created May 2, 2012 19:17
Show Gist options
  • Save devniel/2579430 to your computer and use it in GitHub Desktop.
Save devniel/2579430 to your computer and use it in GitHub Desktop.
javascript: q = 555;
n = q + "px";
function _$(el) {
return document.querySelectorAll(el)
};
a = _$('.fbNubFlyout');
b = _$(".fbDockChatTabFlyout");
for (var i = 0; i < a.length; i++) a[i].style.maxHeight = (q - 5 + 100) + "px";
for (var i = 0; i < b.length; i++) b[i].style.height = (q - 5 + 100) + "px";
c = _$('.fbNubFlyoutBody');
for (var i = 0; i < c.length; i++) c[i].style.height = q + "px";
d = _$(".fbNubFlyoutOuter");
for (var i = 0; i < d.length; i++) d[i].style.maxHeight = (q - 5 + 100) + "px";
void(0);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment